xbae-4.60.4/0000777000076400007640000000000010436577410007550 500000000000000xbae-4.60.4/INSTALL0000664000076400007640000002215010013742257010511 00000000000000Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. 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 only 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. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. 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=c89 CFLAGS=-O2 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 must use a version of `make' that supports the `VPATH' variable, such as 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 `..'. If you have to use a `make' that does not support the `VPATH' variable, you have 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' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' 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 `--target=TYPE' option 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 will cause the specified gcc to be used as the C compiler (unless it is overridden in the site shell script). `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. $Header: /cvsroot/xbae/Xbae/INSTALL,v 1.3 2004/02/15 19:12:47 dannybackx Exp $ xbae-4.60.4/scripts/0000777000076400007640000000000010436577411011240 500000000000000xbae-4.60.4/scripts/Xbae.spec.in0000664000076400007640000000260407364557051013324 00000000000000Summary: Xbae Widget Set Name: Xbae Version: @XBAE_MAJOR@.@XBAE_MINOR@.@XBAE_PICO@ Release: 1 Copyright: Free to use but copyrighted Packager: dannybackx@users.sourceforge.net Group: System Environment/Libraries Prefixes: /usr/X11R6 /usr/doc Source: ftp://ftp.hungry.com/pub/hungry/lesstif/Xbae-@XBAE_MAJOR@.@XBAE_MINOR@.@XBAE_PICO@.tar.gz BuildRoot: /tmp/@PACKAGE@_@VERSION@-root %description XBae %prep %setup -n Xbae-@XBAE_MAJOR@.@XBAE_MINOR@.@XBAE_PICO@ LESSTIFTOP=$PWD CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/X11R6 --enable-shared --disable-static --disable-debug %build make -j2 %install make install DESTDIR=$RPM_BUILD_ROOT # cleanup in a preparation for an installation - unify layout %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean #do this manually; it's a better idea #rm -rf $RPM_BUILD_ROOT %files # %attr(644, root, root) /usr/X11R6/LessTif/AUTHORS # %attr(644, root, root) /usr/X11R6/LessTif/BUG-REPORTING # %attr(644, root, root) /usr/X11R6/LessTif/COPYING %attr(755, root, root) /usr/X11R6/lib/libXbae.la %attr(755, root, root) /usr/X11R6/lib/libXbae.so* #%attr(755, root, root) %dir /usr/X11R6/LessTif/doc #%attr(-, root, root) /usr/X11R6/LessTif/doc/* #%attr(644, root, root) /usr/X11R6/man/man1/lesstif.1* %attr(644, root, root) /usr/X11R6/include/Xbae/* %changelog * Fri Jul 20 2001 Danny Backx - Initial spec file. xbae-4.60.4/scripts/Makefile.in0000664000076400007640000002401610436577344013233 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ # # $Header: /cvsroot/xbae/Xbae/scripts/Makefile.am,v 1.3 2004/07/04 17:53:19 dannybackx Exp $ # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = scripts DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/Xbae.spec.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h depcomp = am__depfiles_maybe = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ MAINTAINERCLEANFILES = Xbae.spec Makefile.in CONFIG_CLEAN_FILES = Xbae.spec all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps scripts/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps scripts/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh Xbae.spec: $(top_builddir)/config.status $(srcdir)/Xbae.spec.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/scripts/Makefile.am0000664000076400007640000000025510072042017013175 00000000000000# # $Header: /cvsroot/xbae/Xbae/scripts/Makefile.am,v 1.3 2004/07/04 17:53:19 dannybackx Exp $ # MAINTAINERCLEANFILES=Xbae.spec Makefile.in CONFIG_CLEAN_FILES = Xbae.spec xbae-4.60.4/examples/0000777000076400007640000000000010436577410011366 500000000000000xbae-4.60.4/examples/input/0000777000076400007640000000000010436577410012525 500000000000000xbae-4.60.4/examples/input/Imakefile0000664000076400007640000000023606761453112014253 00000000000000# Copyright(c) 1999 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:38 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(input) xbae-4.60.4/examples/input/input.c0000664000076400007640000001507307261035442013750 00000000000000/* * Copyright(c) 1999 Andrew Lister * All rights reserved * * Copyright 2001 by the LessTif Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of the author not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * the author. * * THE AUTHOR MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL THE AUTHOR OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: input.c,v 1.5 2001/03/30 07:52:02 dannybackx Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include #include static String fallback[] = { "Input*XmRowColumn.orientation: vertical", "Input*XmRowColumn.numColumns: 2", "Input*XmRowColumn.packing: pack_column", "Input*XbaeCaption.labelPosition: Top", "Input*XbaeCaption.labelAlignment: Center", NULL }; Widget input; void validateCB(Widget w, XtPointer cd, XtPointer cb) { XbaeInputValidateCallbackStruct *cbs = (XbaeInputValidateCallbackStruct *)cb; (void)printf("Validate '%s' = %s\n", cbs->value, cbs->doit ? "OK" : "Nope"); } void autoFillToggle(Widget w, XtPointer cd, XtPointer cb) { int which = (int)cd; if (which) XtVaSetValues(input, XmNautoFill, True, NULL); else XtVaSetValues(input, XmNautoFill, False, NULL); } void convertCaseToggle(Widget w, XtPointer cd, XtPointer cb) { int which = (int)cd; if (which) XtVaSetValues(input, XmNconvertCase, True, NULL); else XtVaSetValues(input, XmNconvertCase, False, NULL); } void overwriteModeToggle(Widget w, XtPointer cd, XtPointer cb) { int which = (int)cd; if (which) XtVaSetValues(input, XmNoverwriteMode, True, NULL); else XtVaSetValues(input, XmNoverwriteMode, False, NULL); } void alignmentToggle(Widget w, XtPointer cd, XtPointer cb) { int which = (int)cd; if (which == 0) XtVaSetValues(input, XmNalignment, XmALIGNMENT_BEGINNING, NULL); else if (which == 1) XtVaSetValues(input, XmNalignment, XmALIGNMENT_CENTER, NULL); else XtVaSetValues(input, XmNalignment, XmALIGNMENT_END, NULL); } void patternCB(Widget w, XtPointer cd, XtPointer cb) { char *pattern = XmTextFieldGetString(w); if (*pattern == '\0') XtVaSetValues(input, XmNpattern, NULL, NULL); else XtVaSetValues(input, XmNpattern, pattern, NULL); XtFree(pattern); } int main(int argc, char *argv[]) { Widget toplevel, rc, pattern, cw, radio, frame; XtAppContext app; XmString true, false, begin, centre, end; toplevel = XtVaAppInitialize(&app, "Input", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif /* * Create a Form to hold everything */ rc = XtVaCreateManagedWidget( "rc", xmRowColumnWidgetClass, toplevel, NULL); cw = XtVaCreateManagedWidget( "Enter string", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); input = XtVaCreateManagedWidget( "input", xbaeInputWidgetClass, frame, XmNtopAttachment, XmATTACH_FORM, XmNleftAttachment, XmATTACH_FORM, NULL); XtAddCallback(input, XmNvalidateCallback, validateCB, NULL); true = XmStringCreateSimple("True"); false = XmStringCreateSimple("False"); cw = XtVaCreateManagedWidget( "XmNautofill", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); radio = XmVaCreateSimpleRadioBox( frame, "XmNautoFill", 0, autoFillToggle, XmVaRADIOBUTTON, false, NULL, NULL, NULL, XmVaRADIOBUTTON, true, NULL, NULL, NULL, NULL); XtVaSetValues(radio, XmNtraversalOn, False, NULL); XtManageChild(radio); cw = XtVaCreateManagedWidget( "XmNconvertCase", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); radio = XmVaCreateSimpleRadioBox( frame, "XmNconvertCase", 1, convertCaseToggle, XmVaRADIOBUTTON, false, NULL, NULL, NULL, XmVaRADIOBUTTON, true, NULL, NULL, NULL, NULL); XtVaSetValues(radio, XmNtraversalOn, False, NULL); XtManageChild(radio); cw = XtVaCreateManagedWidget( "XmNpattern", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); pattern = XtVaCreateManagedWidget( "XmNpattern", xmTextFieldWidgetClass, frame, NULL); XtAddCallback(pattern, XmNactivateCallback, patternCB, NULL); XtAddCallback(pattern, XmNlosingFocusCallback, patternCB, NULL); cw = XtVaCreateManagedWidget( "XmNoverwriteMode", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); radio = XmVaCreateSimpleRadioBox( frame, "XmNoverwriteMode", 0, overwriteModeToggle, XmVaRADIOBUTTON, false, NULL, NULL, NULL, XmVaRADIOBUTTON, true, NULL, NULL, NULL, NULL); XtVaSetValues(radio, XmNtraversalOn, False, NULL); XtManageChild(radio); cw = XtVaCreateManagedWidget( "XmNalignment", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); begin = XmStringCreateSimple("Begin"); centre = XmStringCreateSimple("Centre"); end = XmStringCreateSimple("End"); radio = XmVaCreateSimpleRadioBox( frame, "XmNalignment", 0, alignmentToggle, XmVaRADIOBUTTON, begin, NULL, NULL, NULL, XmVaRADIOBUTTON, end, NULL, NULL, NULL, NULL); XtVaSetValues(radio, XmNtraversalOn, False, NULL); XtManageChild(radio); XmStringFree(true); XmStringFree(false); XmStringFree(begin); XmStringFree(centre); XmStringFree(end); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/input/pattern.c0000664000076400007640000001530007745031656014271 00000000000000/* * Copyright(c) 1999 Andrew Lister * All rights reserved * * Copyright 2001 by the LessTif Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of the author not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * the author. * * THE AUTHOR MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL THE AUTHOR OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: pattern.c,v 1.1 2003/10/20 19:12:46 dannybackx Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include #include static String fallback[] = { "Input*XmRowColumn.orientation: vertical", "Input*XmRowColumn.numColumns: 2", "Input*XmRowColumn.packing: pack_column", "Input*XbaeCaption.labelPosition: Top", "Input*XbaeCaption.labelAlignment: Center", NULL }; Widget input; void validateCB(Widget w, XtPointer cd, XtPointer cb) { XbaeInputValidateCallbackStruct *cbs = (XbaeInputValidateCallbackStruct *)cb; (void)printf("Validate '%s' = %s\n", cbs->value, cbs->doit ? "OK" : "Nope"); } void autoFillToggle(Widget w, XtPointer cd, XtPointer cb) { int which = (int)cd; if (which) XtVaSetValues(input, XmNautoFill, True, NULL); else XtVaSetValues(input, XmNautoFill, False, NULL); } void convertCaseToggle(Widget w, XtPointer cd, XtPointer cb) { int which = (int)cd; if (which) XtVaSetValues(input, XmNconvertCase, True, NULL); else XtVaSetValues(input, XmNconvertCase, False, NULL); } void overwriteModeToggle(Widget w, XtPointer cd, XtPointer cb) { int which = (int)cd; if (which) XtVaSetValues(input, XmNoverwriteMode, True, NULL); else XtVaSetValues(input, XmNoverwriteMode, False, NULL); } void alignmentToggle(Widget w, XtPointer cd, XtPointer cb) { int which = (int)cd; if (which == 0) XtVaSetValues(input, XmNalignment, XmALIGNMENT_BEGINNING, NULL); else if (which == 1) XtVaSetValues(input, XmNalignment, XmALIGNMENT_CENTER, NULL); else XtVaSetValues(input, XmNalignment, XmALIGNMENT_END, NULL); } void patternCB(Widget w, XtPointer cd, XtPointer cb) { #if 0 char *pattern = XmTextFieldGetString(w); if (*pattern == '\0') XtVaSetValues(input, XmNpattern, NULL, NULL); else XtVaSetValues(input, XmNpattern, pattern, NULL); XtFree(pattern); #endif } int main(int argc, char *argv[]) { Widget toplevel, rc, pattern, cw, radio, frame; XtAppContext app; XmString true, false, begin, centre, end; toplevel = XtVaAppInitialize(&app, "Input", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif /* * Create a Form to hold everything */ rc = XtVaCreateManagedWidget( "rc", xmRowColumnWidgetClass, toplevel, NULL); cw = XtVaCreateManagedWidget( "Enter string", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); input = XtVaCreateManagedWidget( "input", xbaeInputWidgetClass, frame, XmNtopAttachment, XmATTACH_FORM, XmNleftAttachment, XmATTACH_FORM, NULL); XtAddCallback(input, XmNvalidateCallback, validateCB, NULL); XtVaSetValues(input, XmNpattern, "[-]d[d][d][d][d]", XmNautoFill, True, XmNoverwriteMode, False, NULL); true = XmStringCreateSimple("True"); false = XmStringCreateSimple("False"); cw = XtVaCreateManagedWidget( "XmNautofill", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); radio = XmVaCreateSimpleRadioBox( frame, "XmNautoFill", 0, autoFillToggle, XmVaRADIOBUTTON, false, NULL, NULL, NULL, XmVaRADIOBUTTON, true, NULL, NULL, NULL, NULL); XtVaSetValues(radio, XmNtraversalOn, False, NULL); XtManageChild(radio); cw = XtVaCreateManagedWidget( "XmNconvertCase", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); radio = XmVaCreateSimpleRadioBox( frame, "XmNconvertCase", 1, convertCaseToggle, XmVaRADIOBUTTON, false, NULL, NULL, NULL, XmVaRADIOBUTTON, true, NULL, NULL, NULL, NULL); XtVaSetValues(radio, XmNtraversalOn, False, NULL); XtManageChild(radio); cw = XtVaCreateManagedWidget( "XmNpattern", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); pattern = XtVaCreateManagedWidget( "XmNpattern", xmTextFieldWidgetClass, frame, NULL); XtAddCallback(pattern, XmNactivateCallback, patternCB, NULL); XtAddCallback(pattern, XmNlosingFocusCallback, patternCB, NULL); cw = XtVaCreateManagedWidget( "XmNoverwriteMode", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); radio = XmVaCreateSimpleRadioBox( frame, "XmNoverwriteMode", 0, overwriteModeToggle, XmVaRADIOBUTTON, false, NULL, NULL, NULL, XmVaRADIOBUTTON, true, NULL, NULL, NULL, NULL); XtVaSetValues(radio, XmNtraversalOn, False, NULL); XtManageChild(radio); cw = XtVaCreateManagedWidget( "XmNalignment", xbaeCaptionWidgetClass, rc, NULL); frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, cw, NULL); begin = XmStringCreateSimple("Begin"); centre = XmStringCreateSimple("Centre"); end = XmStringCreateSimple("End"); radio = XmVaCreateSimpleRadioBox( frame, "XmNalignment", 0, alignmentToggle, XmVaRADIOBUTTON, begin, NULL, NULL, NULL, XmVaRADIOBUTTON, end, NULL, NULL, NULL, NULL); XtVaSetValues(radio, XmNtraversalOn, False, NULL); XtManageChild(radio); XmStringFree(true); XmStringFree(false); XmStringFree(begin); XmStringFree(centre); XmStringFree(end); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/input/Makefile.in0000664000076400007640000003245210436577341014521 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = input$(EXEEXT) pattern$(EXEEXT) subdir = examples/input DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) input_SOURCES = input.c input_OBJECTS = input.$(OBJEXT) input_LDADD = $(LDADD) am__DEPENDENCIES_1 = input_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) pattern_SOURCES = pattern.c pattern_OBJECTS = pattern.$(OBJEXT) pattern_LDADD = $(LDADD) pattern_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = input.c pattern.c DIST_SOURCES = input.c pattern.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/input/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/input/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done input$(EXEEXT): $(input_OBJECTS) $(input_DEPENDENCIES) @rm -f input$(EXEEXT) $(LINK) $(input_LDFLAGS) $(input_OBJECTS) $(input_LDADD) $(LIBS) pattern$(EXEEXT): $(pattern_OBJECTS) $(pattern_DEPENDENCIES) @rm -f pattern$(EXEEXT) $(LINK) $(pattern_LDFLAGS) $(pattern_OBJECTS) $(pattern_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/input/Makefile.am0000664000076400007640000000062407745031656014507 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/input/Makefile.am,v 1.18 2003/10/20 19:12:46 dannybackx Exp $ # noinst_PROGRAMS= input pattern EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/select-push/0000777000076400007640000000000010436577410013622 500000000000000xbae-4.60.4/examples/select-push/select-push.c0000664000076400007640000001476110227555027016147 00000000000000/* * AUTHOR: Jay Schmidgall * * $Id: select-push.c,v 1.10 2005/04/14 21:01:11 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include #include #include static String fallback[] = { "Select-push*mw.gridType: grid_row_shadow", "Select-push*mw.cellShadowType: shadow_out", "Select-push*mw.cellShadowThickness: 2", "Select-push*mw.rows: 10", "Select-push*mw.columns: 10", "Select-push*mw.visibleRows: 5", "Select-push*mw.visibleColumns: 5", "Select-push*mw.fixedRows: 1", "Select-push*mw.fixedColumns: 1", "Select-push*mw.trailingFixedRows: 1", "Select-push*mw.trailingFixedColumns: 1", "Select-push*mw.columnWidths: 8, 8, 8, 8, 8, 8," " 8, 8, 8, 8, 8, 8", "Select-push*mw.columnLabels: Zero, One, Two, Three, Four," " Five, Six, Seven, Eight, Nine", "Select-push*mw.rowLabels: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9", "Select-push*mw.translations: #replace\\n" " Shift : EditCell(Pointer)\\n" " : SelectCell(select)", "Select-push*mw.textTranslations: " " Tab : SelectCell(cancel)\\n" " osfActivate : SelectCell(commit)\\n" " Return : SelectCell(commit)", NULL }; typedef struct { int last_selected; Boolean armed; } SelectedData; void LoadMatrix(Widget w) { String *cells[10]; static String rows[10][10] = { { "0,Zero", "0,One", "0,Two", "0,Three", "0,Four", "0,Five", "0,Six", "0, Seven", "0, Eight", "0, Nine" }, { "1,Zero", "1,One", "1,Two", "1,Three", "1,Four", "1,Five", "1,Six", "1, Seven", "1, Eight", "1, Nine" }, { "2,Zero", "2,One", "2,Two", "2,Three", "2,Four", "2,Five", "2,Six", "2, Seven", "2, Eight", "2, Nine" }, { "3,Zero", "3,One", "3,Two", "3,Three", "3,Four", "3,Five", "3,Six", "3, Seven", "3, Eight", "3, Nine" }, { "4,Zero", "4,One", "4,Two", "4,Three", "4,Four", "4,Five", "4,Six", "4, Seven", "4, Eight", "4, Nine" }, { "5,Zero", "5,One", "5,Two", "5,Three", "5,Four", "5,Five", "5,Six", "5, Seven", "5, Eight", "5, Nine" }, { "6,Zero", "6,One", "6,Two", "6,Three", "6,Four", "6,Five", "6,Six", "6, Seven", "6, Eight", "6, Nine" }, { "7,Zero", "7,One", "7,Two", "7,Three", "7,Four", "7,Five", "7,Six", "7, Seven", "7, Eight", "7, Nine" }, { "8,Zero", "8,One", "8,Two", "8,Three", "8,Four", "8,Five", "8,Six", "8, Seven", "8, Eight", "8, Nine" }, { "9,Zero", "9,One", "9,Two", "9,Three", "9,Four", "9,Five", "9,Six", "9, Seven", "9, Eight", "9, Nine" } }; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; cells[2] = &rows[2][0]; cells[3] = &rows[3][0]; cells[4] = &rows[4][0]; cells[5] = &rows[5][0]; cells[6] = &rows[6][0]; cells[7] = &rows[7][0]; cells[8] = &rows[8][0]; cells[9] = &rows[9][0]; XtVaSetValues(w, XmNcells, cells, NULL); } void cbSelect(Widget w, XtPointer client, XtPointer call) { XbaeMatrixSelectCellCallbackStruct *cbs = (XbaeMatrixSelectCellCallbackStruct *) call; SelectedData *sd = (SelectedData*) client; if (cbs->num_params != 1) return; if (sd->armed) { int row, column; XbaeMatrixGetCurrentCell(w, &row, &column); XbaeMatrixSetCellShadow(w, row, column, 0); sd->armed = False; } if (strcmp(cbs->params[0], "select") == 0 && cbs->row != -1) { if (sd->last_selected == -1) { XbaeMatrixSetRowShadow(w, cbs->row, XmSHADOW_IN); sd->last_selected = cbs->row; } else { XbaeMatrixSetRowShadow(w, sd->last_selected, 0); if (cbs->row != sd->last_selected) { XbaeMatrixSetRowShadow(w, cbs->row, XmSHADOW_IN); sd->last_selected = cbs->row; } else { sd->last_selected = -1; } } XbaeMatrixCancelEdit(w, True); } else if (strcmp(cbs->params[0], "cancel") == 0) { XbaeMatrixCancelEdit(w, True); } else if (strcmp(cbs->params[0], "commit") == 0) { XbaeMatrixCommitEdit(w, True); } } void cbTraverseCell(Widget w, XtPointer client, XtPointer call) { XbaeMatrixTraverseCellCallbackStruct *cbs = (XbaeMatrixTraverseCellCallbackStruct *) call; SelectedData *sd = (SelectedData*) client; if (sd->armed) { XbaeMatrixSetCellShadow(w, cbs->row, cbs->column, 0); sd->armed = False; } if (strcmp(cbs->param, "LosingFocus") != 0) { XbaeMatrixSetCellShadow(w, cbs->next_row, cbs->next_column, XmSHADOW_IN); sd->armed = True; } } int main(int argc, char *argv[]) { Widget toplevel, form, label, mw; XmString xms; XtAppContext app; SelectedData *sd = XtNew(SelectedData); sd->last_selected = -1; sd->armed = False; toplevel = XtVaAppInitialize(&app, "Select-push", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif form = XtVaCreateWidget("form", xmFormWidgetClass, toplevel, NULL); xms = XmStringCreateLtoR("This matrix mimics a list of radio buttons. Button 1 can be used to \"press\" a row.\nShift-Button 1 allows you to edit a cell, though any cell in a fixed row or column\n is non-editable. Pressing Return accepts the edit. Editing another cell or selecting\nanother row or tabbing out of the cell cancels the edit.", XmFONTLIST_DEFAULT_TAG); label = XtVaCreateManagedWidget("label", xmLabelWidgetClass, form, XmNtopAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNrightOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNlabelString, xms, NULL); XmStringFree(xms); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, form, XmNtopOffset, 4, XmNtopWidget, label, XmNtopAttachment, XmATTACH_WIDGET, XmNleftOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNrightOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNbottomOffset, 4, XmNbottomAttachment, XmATTACH_FORM, NULL); XtAddCallback(mw, XmNselectCellCallback, cbSelect, (XtPointer) sd); XtAddCallback(mw, XmNtraverseCellCallback, cbTraverseCell, (XtPointer) sd); LoadMatrix(mw); XtManageChild(form); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/select-push/Imakefile0000664000076400007640000000035106761453121015346 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:45 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(select-push) xbae-4.60.4/examples/select-push/Makefile.in0000664000076400007640000003177010436577343015622 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = select-push$(EXEEXT) subdir = examples/select-push DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) select_push_SOURCES = select-push.c select_push_OBJECTS = select-push.$(OBJEXT) select_push_LDADD = $(LDADD) am__DEPENDENCIES_1 = select_push_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = select-push.c DIST_SOURCES = select-push.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/select-push/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/select-push/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done select-push$(EXEEXT): $(select_push_OBJECTS) $(select_push_DEPENDENCIES) @rm -f select-push$(EXEEXT) $(LINK) $(select_push_LDFLAGS) $(select_push_OBJECTS) $(select_push_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/select-push/Makefile.am0000664000076400007640000000063307530466167015605 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/select-push/Makefile.am,v 1.17 2002/08/20 16:21:11 dannybackx Exp $ # noinst_PROGRAMS= select-push EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/draw/0000777000076400007640000000000010436577410012323 500000000000000xbae-4.60.4/examples/draw/draw3.c0000664000076400007640000001507210352555604013430 00000000000000/* * Do the same thing as draw.c but without a draw_cell_callback. * * $Id: draw3.c,v 1.3 2005/12/22 16:59:48 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #if XmVersion >= 2001 # define HAVE_XPM # include #elif defined(HAVE_XPM_H) # define HAVE_XPM # include #elif defined(HAVE_X11_XPM_H) # define HAVE_XPM # include #endif #define ROWS 10000 #define COLUMNS 20 #define WIDTH 8 static Pixmap pixmap = 0, mask; static Widget text = NULL; static int lastRow = -1; static void EnterCB(Widget w, XtPointer cd, XtPointer cbs); static void Track(Widget w, XtPointer cd, XtPointer cbs); static void LeaveCB(Widget w, XtPointer cd, XtPointer cbs); #ifdef HAVE_XPM /* XPM */ static char * xbae_xpm[] = { "48 16 5 1", " s mask c None", ". c Red", "X c Blue", "o c Green", "O c Yellow", ".... . ", " .... . ", " .... . ", " .... . XXXXX oooo OOOOO ", " .... . XX XX oo oo OO ", " .... . XX XX oo oo OO ", " .... . XX XX oo oo OO ", " ... . XXXXX oooooo OOOO ", " .. . XX XX oo oo OO ", " . ... XX XX oo oo OO ", " . .... XX XX oo oo OO ", " . .... XX XX oo oo OO ", " . .... XXXXX oo oo OOOOO ", " . .... ", " . .... ", " . .... " }; #endif #define xbae_width 48 #define xbae_height 16 static unsigned char xbae_bits[] = { 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x80, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x40, 0x00, 0x00, 0x00, 0x00, 0x78, 0x20, 0x3e, 0x9e, 0x0f, 0x00, 0x78, 0x10, 0x66, 0xb3, 0x01, 0x00, 0xf0, 0x08, 0x66, 0xb3, 0x01, 0x00, 0xe0, 0x09, 0x66, 0xb3, 0x01, 0x00, 0xc0, 0x05, 0x3e, 0xbf, 0x07, 0x00, 0xc0, 0x02, 0x66, 0xb3, 0x01, 0x00, 0x40, 0x07, 0x66, 0xb3, 0x01, 0x00, 0x20, 0x0f, 0x66, 0xb3, 0x01, 0x00, 0x20, 0x1e, 0x66, 0xb3, 0x01, 0x00, 0x10, 0x1e, 0x3e, 0xb3, 0x0f, 0x00, 0x08, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x04, 0x78, 0x00, 0x00, 0x00, 0x00, 0x02, 0xf0, 0x00, 0x00, 0x00, 0x00 }; static String fallback[] = { "Draw*mw.cellHighlightThickness: 2", "Draw*mw.cellMarginWidth: 3", "Draw*mw.cellMarginHeight: 5", "Draw*mw.fixedRows: 2", "Draw*mw.fixedColumns: 1", "Draw*mw.traverseFixedCells: True", "Draw*mw.gridType: grid_cell_shadow", "Draw*mw.fontList: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*", "Draw*mw.allowColumnResize: True", "Draw*mw.selectScrollVisible: False", NULL }; static void LoadMatrix(Widget w) { int i, j; char cell[16]; #ifdef HAVE_XPM XpmAttributes attributes; #endif for (i = 0; i < ROWS; i++) for (j = 0; j < COLUMNS; j++) if (j != 2) { (void)sprintf(cell, "%d %d", i, j); XbaeMatrixSetCell(w, i, j, cell); } else /* * Play an even/odd game to have half the cells in column 2 show * both text and pixmap, the other half only a pixmap. */ if (i % 2 == 0) { (void)sprintf(cell, " %d %d", i, j); XbaeMatrixSetCell(w, i, j, cell); } /* * Create a pixmap to put in some cells */ #ifdef HAVE_XPM attributes.valuemask = 0; attributes.valuemask |= XpmReturnInfos; attributes.valuemask |= XpmReturnAllocPixels; attributes.valuemask |= XpmReturnExtensions; if (XpmCreatePixmapFromData(XtDisplay(w), XtWindow(w), xbae_xpm, &pixmap, &mask, &attributes) != XpmSuccess) { /* Use a bitmap instead */ pixmap = XCreateBitmapFromData(XtDisplay(w), RootWindowOfScreen(XtScreen(w)), (char *)xbae_bits, xbae_width, xbae_height); } XpmFreeAttributes( &attributes ); #else pixmap = XCreateBitmapFromData(XtDisplay(w), RootWindowOfScreen(XtScreen(w)), (char *)xbae_bits, xbae_width, xbae_height); #endif /* * Put the pixmap/mask in the cells of column 2. */ for (i=0; irow, cbp->column); } static void EnterCB(Widget w, XtPointer cd, XtPointer cbs) { XbaeMatrixEnterCellCallbackStruct *cbp = (XbaeMatrixEnterCellCallbackStruct *)cbs; printf("Enter\n"); if (lastRow == cbp->row ) return; if (lastRow >= 0 ) XbaeMatrixUnhighlightRow( w, lastRow ); XbaeMatrixHighlightRow( w, cbp->row ); lastRow = cbp->row; } static void LeaveCB(Widget w, XtPointer cd, XtPointer cbs) { printf("Leave\n"); } int main(int argc, char *argv[]) { Widget toplevel, mw, form; XtAppContext app; int i; short widths[ COLUMNS ]; char buf[ 128 ]; toplevel = XtVaAppInitialize(&app, "Draw", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler(toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif for( i = 0; i < COLUMNS; i++ ) widths[ i ] = WIDTH; form = XtVaCreateManagedWidget( "form", xmFormWidgetClass, toplevel, NULL ); mw = XtVaCreateWidget( "mw", xbaeMatrixWidgetClass, form, XmNrows, ROWS, XmNcolumns, COLUMNS, XmNcolumnWidths, widths, XmNvisibleRows, 8, XmNvisibleColumns, 10, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNtopAttachment, XmATTACH_FORM, NULL); XtAddCallback( mw, XmNenterCellCallback, (XtCallbackProc)EnterCB, NULL ); XtAddCallback( mw, XmNleaveCellCallback, (XtCallbackProc)LeaveCB, NULL ); XtAddCallback( mw, XmNtrackCellCallback, (XtCallbackProc)Track, NULL ); XtRealizeWidget(toplevel); LoadMatrix(mw); XbaeMatrixDeleteRows(mw, 2, 1); sprintf( buf, "A matrix widget with %d rows and %d columns - That's %d cells!", ROWS, COLUMNS, ROWS * COLUMNS ); text = XtVaCreateManagedWidget( "text", xmTextWidgetClass, form, XmNeditable, False, XmNcursorPositionVisible, False, XmNtopAttachment, XmATTACH_WIDGET, XmNtopWidget, mw, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNvalue, buf, NULL ); XtManageChild(mw); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/draw/draw4.c0000664000076400007640000002226310213174470013423 00000000000000/* * AUTHOR: Andrew Lister * * Simple example of the draw cell, write cell routines * * $Id: draw4.c,v 1.1 2005/03/08 01:00:40 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #if XmVersion >= 2001 # define HAVE_XPM # include #elif defined(HAVE_XPM_H) # define HAVE_XPM # include #elif defined(HAVE_X11_XPM_H) # define HAVE_XPM # include #endif #define ROWS 10000 #define COLUMNS 20 #define WIDTH 1024 /* Big enough to see memleak with ps */ static int cells[ ROWS ][ COLUMNS ]; static Pixmap pixmap = 0, mask; static Widget text; static int lastRow = -1; static void DrawCB(Widget w, XtPointer cd, XbaeMatrixDrawCellCallbackStruct *cbs); static void WriteCB(Widget w, XtPointer cd, XbaeMatrixWriteCellCallbackStruct *cbs); static void EnterCB(Widget w, XtPointer cd, XbaeMatrixEnterCellCallbackStruct *cbs); static void LeaveCB(Widget w, XtPointer cd, XbaeMatrixLeaveCellCallbackStruct *cbs); static void LoadMatrix(void); #ifdef HAVE_XPM /* XPM */ static char * xbae_xpm[] = { "48 16 5 1", " s mask c None", ". c Red", "X c Blue", "o c Green", "O c Yellow", ".... . ", " .... . ", " .... . ", " .... . XXXXX oooo OOOOO ", " .... . XX XX oo oo OO ", " .... . XX XX oo oo OO ", " .... . XX XX oo oo OO ", " ... . XXXXX oooooo OOOO ", " .. . XX XX oo oo OO ", " . ... XX XX oo oo OO ", " . .... XX XX oo oo OO ", " . .... XX XX oo oo OO ", " . .... XXXXX oo oo OOOOO ", " . .... ", " . .... ", " . .... " }; #endif #define xbae_width 48 #define xbae_height 16 static unsigned char xbae_bits[] = { 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x80, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x40, 0x00, 0x00, 0x00, 0x00, 0x78, 0x20, 0x3e, 0x9e, 0x0f, 0x00, 0x78, 0x10, 0x66, 0xb3, 0x01, 0x00, 0xf0, 0x08, 0x66, 0xb3, 0x01, 0x00, 0xe0, 0x09, 0x66, 0xb3, 0x01, 0x00, 0xc0, 0x05, 0x3e, 0xbf, 0x07, 0x00, 0xc0, 0x02, 0x66, 0xb3, 0x01, 0x00, 0x40, 0x07, 0x66, 0xb3, 0x01, 0x00, 0x20, 0x0f, 0x66, 0xb3, 0x01, 0x00, 0x20, 0x1e, 0x66, 0xb3, 0x01, 0x00, 0x10, 0x1e, 0x3e, 0xb3, 0x0f, 0x00, 0x08, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x04, 0x78, 0x00, 0x00, 0x00, 0x00, 0x02, 0xf0, 0x00, 0x00, 0x00, 0x00 }; static String fallback[] = { "Draw*mw.cellHighlightThickness: 2", "Draw*mw.cellMarginWidth: 3", "Draw*mw.cellMarginHeight: 5", "Draw*mw.fixedRows: 2", "Draw*mw.fixedColumns: 1", "Draw*mw.traverseFixedCells: True", "Draw*mw.gridType: grid_cell_shadow", "Draw*mw.fontList: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*", "Draw*mw.allowColumnResize: True", "Draw*mw.selectScrollVisible: False", NULL }; static void LoadMatrix(void) { int i, j; for( i = 0; i < ROWS; i++ ) for( j = 0; j < COLUMNS; j++ ) cells[i][j] = i * 1000 + j; } static void DrawCB(Widget w, XtPointer cd, XbaeMatrixDrawCellCallbackStruct *cbs) { fprintf(stderr,"drawCB %d %d\n",cbs->row,cbs->column); if( cbs->column == 2 ) { if( !pixmap ) { #ifdef HAVE_XPM XpmAttributes attributes; attributes.valuemask = 0; attributes.valuemask |= XpmReturnInfos; #if XpmIncludeVersion > 30406 attributes.valuemask |= XpmReturnAllocPixels; #endif attributes.valuemask |= XpmReturnExtensions; if( XpmCreatePixmapFromData( XtDisplay(w), XtWindow(w), xbae_xpm, &pixmap, &mask, &attributes) != XpmSuccess ) /* Use a bitmap instead */ pixmap = XCreateBitmapFromData( XtDisplay( w ), RootWindowOfScreen( XtScreen( w ) ), ( char * )xbae_bits, xbae_width, xbae_height ); XpmFreeAttributes( &attributes ); #else pixmap = XCreateBitmapFromData( XtDisplay( w ), RootWindowOfScreen( XtScreen( w ) ), ( char * )xbae_bits, xbae_width, xbae_height ); #endif } /* Assign it a pixmap */ cbs->type = XbaePixmap; cbs->pixmap = pixmap; cbs->mask = mask; /* Set height and width to that of the bitmap's to ensure correct positioning and drawing */ /* This is no longer necessary as it is calculated on the fly. However, providing the values improves efficiency */ cbs->height = xbae_height; cbs->width = xbae_width; #ifdef HAVE_XPM cbs->depth = 8; #else cbs->depth = 1; #endif } else { #if 0 static char buffer[WIDTH]; cbs->type = XbaeString; #else char *buffer = XtMalloc(WIDTH); #if 1 /* leaks */ cbs->type = XbaeString; #else cbs->type = XbaeStringFree; #endif #endif sprintf(buffer,"%d", cells[cbs->row][cbs->column]); cbs->string = buffer; } return; } static void WriteCB(Widget w, XtPointer cd, XbaeMatrixWriteCellCallbackStruct *cbs) { char buf[ 128 ]; printf("Write\n"); if (cbs->column == 0) { strcpy(buf, "Cells containing Pixmaps cannot change" ); } else { int value = strtol(cbs->string, NULL, 0); if (cells[cbs->row][cbs->column] == value) { sprintf(buf, "No change made to cell [%d, %d]", cbs->row, cbs->column ); } else { sprintf(buf, "Changing value in [%d, %d] from %d to %d", cbs->row, cbs->column, cells[ cbs->row ][ cbs->column ], value); cells[cbs->row][cbs->column] = value; } } XmTextSetString( text, buf ); } static void EnterCB(Widget w, XtPointer cd, XbaeMatrixEnterCellCallbackStruct *cbs) { printf("Enter\n"); if (lastRow == cbs->row) return; if( lastRow >= 0 ) { XbaeMatrixUnhighlightRow(w, lastRow); } XbaeMatrixHighlightRow( w, cbs->row ); lastRow = cbs->row; } static void LeaveCB(Widget w, XtPointer cd, XbaeMatrixLeaveCellCallbackStruct *cbs) { printf("Leave\n"); } static void VerifyCB(Widget w, XtPointer cd,XbaeMatrixModifyVerifyCallbackStruct *cbs) { printf("Verify\n"); } int main(int argc, char *argv[]) { Widget toplevel, mw, form; XtAppContext app; int i; short widths[ COLUMNS ]; char buf[ 128 ]; LoadMatrix(); toplevel = XtVaAppInitialize(&app, "Draw", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif for( i = 0; i < COLUMNS; i++ ) widths[ i ] = 8; form = XtVaCreateManagedWidget( "form", xmFormWidgetClass, toplevel, NULL ); mw = XtVaCreateManagedWidget( "mw", xbaeMatrixWidgetClass, form, XmNrows, ROWS, XmNcolumns, COLUMNS, XmNcolumnWidths, widths, XmNvisibleRows, 8, XmNvisibleColumns, 10, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNtopAttachment, XmATTACH_FORM, NULL); XtAddCallback( mw, XmNdrawCellCallback, (XtCallbackProc)DrawCB, NULL ); XtAddCallback( mw, XmNwriteCellCallback, (XtCallbackProc)WriteCB, NULL ); XtAddCallback( mw, XmNenterCellCallback, (XtCallbackProc)EnterCB, NULL ); XtAddCallback( mw, XmNleaveCellCallback, (XtCallbackProc)LeaveCB, NULL ); XtAddCallback( mw, XmNmodifyVerifyCallback, (XtCallbackProc)VerifyCB, NULL ); sprintf( buf, "A matrix widget with %d rows and %d columns - That's %d cells!", ROWS, COLUMNS, ROWS * COLUMNS ); text = XtVaCreateManagedWidget( "text", xmTextWidgetClass, form, XmNeditable, False, XmNcursorPositionVisible, False, XmNtopAttachment, XmATTACH_WIDGET, XmNtopWidget, mw, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNvalue, buf, NULL ); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/draw/Imakefile0000664000076400007640000000034206761453106014052 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:34 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(draw) xbae-4.60.4/examples/draw/draw.c0000664000076400007640000001747510213174467013356 00000000000000/* * AUTHOR: Andrew Lister * * Simple example of the draw cell, write cell routines * * $Id: draw.c,v 1.16 2005/03/08 01:00:39 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #if XmVersion >= 2001 # define HAVE_XPM # include #elif defined(HAVE_XPM_H) # define HAVE_XPM # include #elif defined(HAVE_X11_XPM_H) # define HAVE_XPM # include #endif #define ROWS 10000 #define COLUMNS 20 #define WIDTH 8 static char cells[ ROWS ][ COLUMNS ][ WIDTH ]; static Pixmap pixmap = 0, mask; static Widget text; static int lastRow = -1; static void DrawCB(Widget w, XtPointer cd, XbaeMatrixDrawCellCallbackStruct *cbs); static void WriteCB(Widget w, XtPointer cd, XbaeMatrixWriteCellCallbackStruct *cbs); static void EnterCB(Widget w, XtPointer cd, XbaeMatrixEnterCellCallbackStruct *cbs); static void LeaveCB(Widget w, XtPointer cd, XbaeMatrixLeaveCellCallbackStruct *cbs); static void LoadMatrix(void); #ifdef HAVE_XPM /* XPM */ static char * xbae_xpm[] = { "48 16 5 1", " s mask c None", ". c Red", "X c Blue", "o c Green", "O c Yellow", ".... . ", " .... . ", " .... . ", " .... . XXXXX oooo OOOOO ", " .... . XX XX oo oo OO ", " .... . XX XX oo oo OO ", " .... . XX XX oo oo OO ", " ... . XXXXX oooooo OOOO ", " .. . XX XX oo oo OO ", " . ... XX XX oo oo OO ", " . .... XX XX oo oo OO ", " . .... XX XX oo oo OO ", " . .... XXXXX oo oo OOOOO ", " . .... ", " . .... ", " . .... " }; #endif #define xbae_width 48 #define xbae_height 16 static unsigned char xbae_bits[] = { 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x80, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x40, 0x00, 0x00, 0x00, 0x00, 0x78, 0x20, 0x3e, 0x9e, 0x0f, 0x00, 0x78, 0x10, 0x66, 0xb3, 0x01, 0x00, 0xf0, 0x08, 0x66, 0xb3, 0x01, 0x00, 0xe0, 0x09, 0x66, 0xb3, 0x01, 0x00, 0xc0, 0x05, 0x3e, 0xbf, 0x07, 0x00, 0xc0, 0x02, 0x66, 0xb3, 0x01, 0x00, 0x40, 0x07, 0x66, 0xb3, 0x01, 0x00, 0x20, 0x0f, 0x66, 0xb3, 0x01, 0x00, 0x20, 0x1e, 0x66, 0xb3, 0x01, 0x00, 0x10, 0x1e, 0x3e, 0xb3, 0x0f, 0x00, 0x08, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x04, 0x78, 0x00, 0x00, 0x00, 0x00, 0x02, 0xf0, 0x00, 0x00, 0x00, 0x00 }; static String fallback[] = { "Draw*mw.cellHighlightThickness: 2", "Draw*mw.cellMarginWidth: 3", "Draw*mw.cellMarginHeight: 5", "Draw*mw.fixedRows: 2", "Draw*mw.fixedColumns: 1", "Draw*mw.traverseFixedCells: True", "Draw*mw.gridType: grid_cell_shadow", "Draw*mw.fontList: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*", "Draw*mw.allowColumnResize: True", "Draw*mw.selectScrollVisible: False", NULL }; static void LoadMatrix(void) { int i, j; for( i = 0; i < ROWS; i++ ) for( j = 0; j < COLUMNS; j++ ) ( void )sprintf( cells[ i ][ j ], "%d %d", i, j ); } static void DrawCB(Widget w, XtPointer cd, XbaeMatrixDrawCellCallbackStruct *cbs) { fprintf(stderr,"drawCB %d %d\n",cbs->row,cbs->column); if( cbs->column == 2 ) { if( !pixmap ) { #ifdef HAVE_XPM XpmAttributes attributes; attributes.valuemask = 0; attributes.valuemask |= XpmReturnInfos; #if XpmIncludeVersion > 30406 attributes.valuemask |= XpmReturnAllocPixels; #endif attributes.valuemask |= XpmReturnExtensions; if( XpmCreatePixmapFromData( XtDisplay(w), XtWindow(w), xbae_xpm, &pixmap, &mask, &attributes) != XpmSuccess ) /* Use a bitmap instead */ pixmap = XCreateBitmapFromData( XtDisplay( w ), RootWindowOfScreen( XtScreen( w ) ), ( char * )xbae_bits, xbae_width, xbae_height ); XpmFreeAttributes( &attributes ); #else pixmap = XCreateBitmapFromData( XtDisplay( w ), RootWindowOfScreen( XtScreen( w ) ), ( char * )xbae_bits, xbae_width, xbae_height ); #endif } /* Assign it a pixmap */ cbs->type = XbaePixmap; cbs->pixmap = pixmap; cbs->mask = mask; /* Set height and width to that of the bitmap's to ensure correct positioning and drawing */ /* This is no longer necessary as it is calculated on the fly. However, providing the values improves efficiency */ cbs->height = xbae_height; cbs->width = xbae_width; #ifdef HAVE_XPM cbs->depth = 8; #else cbs->depth = 1; #endif } else { cbs->type = XbaeString; cbs->string = cells[ cbs->row ][ cbs->column ]; } return; } static void WriteCB(Widget w, XtPointer cd, XbaeMatrixWriteCellCallbackStruct *cbs) { char buf[ 128 ]; printf("Write\n"); if ( cbs->column == 0 ) { strcpy( buf, "Cells containing Pixmaps cannot change" ); } else { if( strcmp( cells[ cbs->row ][ cbs->column ], cbs->string ) == 0 ) { sprintf( buf, "No change made to cell [%d, %d]", cbs->row, cbs->column ); } else { sprintf( buf, "Changing value in [%d, %d] from %s to %s", cbs->row, cbs->column, cells[ cbs->row ][ cbs->column ], cbs->string ); strcpy( cells[ cbs->row ][ cbs->column ], cbs->string ); } } XmTextSetString( text, buf ); } static void EnterCB(Widget w, XtPointer cd, XbaeMatrixEnterCellCallbackStruct *cbs) { printf("Enter\n"); if( lastRow == cbs->row ) return; if( lastRow >= 0 ) { XbaeMatrixUnhighlightRow( w, lastRow ); } XbaeMatrixHighlightRow( w, cbs->row ); lastRow = cbs->row; } static void LeaveCB(Widget w, XtPointer cd, XbaeMatrixLeaveCellCallbackStruct *cbs) { printf("Leave\n"); } static void VerifyCB(Widget w, XtPointer cd,XbaeMatrixModifyVerifyCallbackStruct *cbs) { printf("Verify\n"); } int main(int argc, char *argv[]) { Widget toplevel, mw, form; XtAppContext app; int i; short widths[ COLUMNS ]; char buf[ 128 ]; LoadMatrix(); toplevel = XtVaAppInitialize(&app, "Draw", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif for( i = 0; i < COLUMNS; i++ ) widths[ i ] = WIDTH; form = XtVaCreateManagedWidget( "form", xmFormWidgetClass, toplevel, NULL ); mw = XtVaCreateManagedWidget( "mw", xbaeMatrixWidgetClass, form, XmNrows, ROWS, XmNcolumns, COLUMNS, XmNcolumnWidths, widths, XmNvisibleRows, 8, XmNvisibleColumns, 10, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNtopAttachment, XmATTACH_FORM, NULL); XtAddCallback( mw, XmNdrawCellCallback, (XtCallbackProc)DrawCB, NULL ); XtAddCallback( mw, XmNwriteCellCallback, (XtCallbackProc)WriteCB, NULL ); XtAddCallback( mw, XmNenterCellCallback, (XtCallbackProc)EnterCB, NULL ); XtAddCallback( mw, XmNleaveCellCallback, (XtCallbackProc)LeaveCB, NULL ); XtAddCallback( mw, XmNmodifyVerifyCallback, (XtCallbackProc)VerifyCB, NULL ); sprintf( buf, "A matrix widget with %d rows and %d columns - That's %d cells!", ROWS, COLUMNS, ROWS * COLUMNS ); text = XtVaCreateManagedWidget( "text", xmTextWidgetClass, form, XmNeditable, False, XmNcursorPositionVisible, False, XmNtopAttachment, XmATTACH_WIDGET, XmNtopWidget, mw, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNvalue, buf, NULL ); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/draw/draw2.c0000664000076400007640000001715310111127232013412 00000000000000/* * Do the same thing as draw.c but without an array external to the widget. * * $Id: draw2.c,v 1.1 2004/08/19 13:43:54 dannybackx Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #if XmVersion >= 2001 # define HAVE_XPM # include #elif defined(HAVE_XPM_H) # define HAVE_XPM # include #elif defined(HAVE_X11_XPM_H) # define HAVE_XPM # include #endif #define ROWS 10000 #define COLUMNS 20 #define WIDTH 8 /* static char cells[ ROWS ][ COLUMNS ][ WIDTH ]; */ static Pixmap pixmap = 0, mask; static Widget text = NULL; static int lastRow = -1; static void DrawCB(Widget w, XtPointer cd, XbaeMatrixDrawCellCallbackStruct *cbs); static void WriteCB(Widget w, XtPointer cd, XbaeMatrixWriteCellCallbackStruct *cbs); static void EnterCB(Widget w, XtPointer cd, XbaeMatrixEnterCellCallbackStruct *cbs); static void LeaveCB(Widget w, XtPointer cd, XbaeMatrixLeaveCellCallbackStruct *cbs); #ifdef HAVE_XPM /* XPM */ static char * xbae_xpm[] = { "48 16 5 1", " s mask c None", ". c Red", "X c Blue", "o c Green", "O c Yellow", ".... . ", " .... . ", " .... . ", " .... . XXXXX oooo OOOOO ", " .... . XX XX oo oo OO ", " .... . XX XX oo oo OO ", " .... . XX XX oo oo OO ", " ... . XXXXX oooooo OOOO ", " .. . XX XX oo oo OO ", " . ... XX XX oo oo OO ", " . .... XX XX oo oo OO ", " . .... XX XX oo oo OO ", " . .... XXXXX oo oo OOOOO ", " . .... ", " . .... ", " . .... " }; #endif #define xbae_width 48 #define xbae_height 16 static unsigned char xbae_bits[] = { 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x80, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x40, 0x00, 0x00, 0x00, 0x00, 0x78, 0x20, 0x3e, 0x9e, 0x0f, 0x00, 0x78, 0x10, 0x66, 0xb3, 0x01, 0x00, 0xf0, 0x08, 0x66, 0xb3, 0x01, 0x00, 0xe0, 0x09, 0x66, 0xb3, 0x01, 0x00, 0xc0, 0x05, 0x3e, 0xbf, 0x07, 0x00, 0xc0, 0x02, 0x66, 0xb3, 0x01, 0x00, 0x40, 0x07, 0x66, 0xb3, 0x01, 0x00, 0x20, 0x0f, 0x66, 0xb3, 0x01, 0x00, 0x20, 0x1e, 0x66, 0xb3, 0x01, 0x00, 0x10, 0x1e, 0x3e, 0xb3, 0x0f, 0x00, 0x08, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x04, 0x78, 0x00, 0x00, 0x00, 0x00, 0x02, 0xf0, 0x00, 0x00, 0x00, 0x00 }; static String fallback[] = { "Draw*mw.cellHighlightThickness: 2", "Draw*mw.cellMarginWidth: 3", "Draw*mw.cellMarginHeight: 5", "Draw*mw.fixedRows: 2", "Draw*mw.fixedColumns: 1", "Draw*mw.traverseFixedCells: True", "Draw*mw.gridType: grid_cell_shadow", "Draw*mw.fontList: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*", "Draw*mw.allowColumnResize: True", "Draw*mw.selectScrollVisible: False", NULL }; static void LoadMatrix(Widget w) { int i, j; char cell[16]; for (i = 0; i < ROWS; i++) for (j = 0; j < COLUMNS; j++) { (void)sprintf(cell, "%d %d", i, j); XbaeMatrixSetCell(w, i, j, cell); } } static void DrawCB(Widget w, XtPointer cd, XbaeMatrixDrawCellCallbackStruct *cbs) { if (! XtIsRealized(w)) { cbs->type = XbaeString; return; } if( cbs->column == 2 ) { if( !pixmap ) { #ifdef HAVE_XPM XpmAttributes attributes; attributes.valuemask = 0; attributes.valuemask |= XpmReturnInfos; #if XpmIncludeVersion > 30406 attributes.valuemask |= XpmReturnAllocPixels; #endif attributes.valuemask |= XpmReturnExtensions; if (XpmCreatePixmapFromData(XtDisplay(w), XtWindow(w), xbae_xpm, &pixmap, &mask, &attributes) != XpmSuccess) { /* Use a bitmap instead */ pixmap = XCreateBitmapFromData(XtDisplay(w), RootWindowOfScreen(XtScreen(w)), (char *)xbae_bits, xbae_width, xbae_height); } XpmFreeAttributes( &attributes ); #else pixmap = XCreateBitmapFromData(XtDisplay(w), RootWindowOfScreen(XtScreen(w)), (char *)xbae_bits, xbae_width, xbae_height); #endif } /* Assign it a pixmap */ cbs->type = XbaePixmap; cbs->pixmap = pixmap; cbs->mask = mask; /* Set height and width to that of the bitmap's to ensure correct * positioning and drawing */ /* This is no longer necessary as it is calculated on the fly. * However, providing the values improves efficiency */ cbs->height = xbae_height; cbs->width = xbae_width; #ifdef HAVE_XPM cbs->depth = 8; #else cbs->depth = 1; #endif } else { cbs->type = XbaeString; /* No need to do anything here */ /* cbs->string = cells[ cbs->row ][ cbs->column ]; */ } return; } static void WriteCB(Widget w, XtPointer cd, XbaeMatrixWriteCellCallbackStruct *cbs) { char buf[ 128 ]; char *cell; if (cbs->column == 0) strcpy(buf, "Cells containing Pixmaps cannot change"); else { cell = XbaeMatrixGetCell(w, cbs->row, cbs->column); if (strcmp(cell, cbs->string) == 0) sprintf(buf, "No change made to cell [%d,%d]", cbs->row, cbs->column); else { sprintf(buf, "Changing value in [%d, %d] from %s to %s", cbs->row, cbs->column, cell, cbs->string); /* * Never call * * XbaeMatrixSetCell(w, cbs->row, cbs->column, cbs->string); * * here, it would cause an infinite recursion. */ } } if (text) XmTextSetString(text, buf); } static void EnterCB(Widget w, XtPointer cd, XbaeMatrixEnterCellCallbackStruct *cbs) { printf("Enter\n"); if( lastRow == cbs->row ) return; if( lastRow >= 0 ) XbaeMatrixUnhighlightRow( w, lastRow ); XbaeMatrixHighlightRow( w, cbs->row ); lastRow = cbs->row; } static void LeaveCB(Widget w, XtPointer cd, XbaeMatrixLeaveCellCallbackStruct *cbs) { printf("Leave\n"); } int main(int argc, char *argv[]) { Widget toplevel, mw, form; XtAppContext app; int i; short widths[ COLUMNS ]; char buf[ 128 ]; toplevel = XtVaAppInitialize(&app, "Draw", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler(toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif for( i = 0; i < COLUMNS; i++ ) widths[ i ] = WIDTH; form = XtVaCreateManagedWidget( "form", xmFormWidgetClass, toplevel, NULL ); mw = XtVaCreateManagedWidget( "mw", xbaeMatrixWidgetClass, form, XmNrows, ROWS, XmNcolumns, COLUMNS, XmNcolumnWidths, widths, XmNvisibleRows, 8, XmNvisibleColumns, 10, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNtopAttachment, XmATTACH_FORM, NULL); XtAddCallback( mw, XmNdrawCellCallback, (XtCallbackProc)DrawCB, NULL ); XtAddCallback( mw, XmNwriteCellCallback, (XtCallbackProc)WriteCB, NULL ); XtAddCallback( mw, XmNenterCellCallback, (XtCallbackProc)EnterCB, NULL ); XtAddCallback( mw, XmNleaveCellCallback, (XtCallbackProc)LeaveCB, NULL ); LoadMatrix(mw); sprintf( buf, "A matrix widget with %d rows and %d columns - That's %d cells!", ROWS, COLUMNS, ROWS * COLUMNS ); text = XtVaCreateManagedWidget( "text", xmTextWidgetClass, form, XmNeditable, False, XmNcursorPositionVisible, False, XmNtopAttachment, XmATTACH_WIDGET, XmNtopWidget, mw, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNvalue, buf, NULL ); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/draw/Makefile.in0000664000076400007640000003460110436577340014314 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ @HaveXpm_TRUE@noinst_PROGRAMS = draw$(EXEEXT) draw2$(EXEEXT) \ @HaveXpm_TRUE@ draw3$(EXEEXT) draw4$(EXEEXT) subdir = examples/draw DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) draw_SOURCES = draw.c draw_OBJECTS = draw.$(OBJEXT) draw_LDADD = $(LDADD) am__DEPENDENCIES_1 = @HaveXpm_TRUE@draw_DEPENDENCIES = ../../src/libXbae.la \ @HaveXpm_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ @HaveXpm_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) draw2_SOURCES = draw2.c draw2_OBJECTS = draw2.$(OBJEXT) draw2_LDADD = $(LDADD) @HaveXpm_TRUE@draw2_DEPENDENCIES = ../../src/libXbae.la \ @HaveXpm_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ @HaveXpm_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) draw3_SOURCES = draw3.c draw3_OBJECTS = draw3.$(OBJEXT) draw3_LDADD = $(LDADD) @HaveXpm_TRUE@draw3_DEPENDENCIES = ../../src/libXbae.la \ @HaveXpm_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ @HaveXpm_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) draw4_SOURCES = draw4.c draw4_OBJECTS = draw4.$(OBJEXT) draw4_LDADD = $(LDADD) @HaveXpm_TRUE@draw4_DEPENDENCIES = ../../src/libXbae.la \ @HaveXpm_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ @HaveXpm_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = draw.c draw2.c draw3.c draw4.c DIST_SOURCES = draw.c draw2.c draw3.c draw4.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ # # $Header: /cvsroot/xbae/Xbae/examples/draw/Makefile.am,v 1.22 2005/03/08 01:00:39 tobiasoed Exp $ # EXTRA_DIST = Imakefile @HaveXpm_TRUE@INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @HaveXpm_TRUE@@UseEditres_FALSE@XMU = @HaveXpm_TRUE@@UseEditres_TRUE@XMU = -lXmu @HaveXpm_TRUE@LDADD = ../../src/libXbae.la \ @HaveXpm_TRUE@ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/draw/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/draw/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done draw$(EXEEXT): $(draw_OBJECTS) $(draw_DEPENDENCIES) @rm -f draw$(EXEEXT) $(LINK) $(draw_LDFLAGS) $(draw_OBJECTS) $(draw_LDADD) $(LIBS) draw2$(EXEEXT): $(draw2_OBJECTS) $(draw2_DEPENDENCIES) @rm -f draw2$(EXEEXT) $(LINK) $(draw2_LDFLAGS) $(draw2_OBJECTS) $(draw2_LDADD) $(LIBS) draw3$(EXEEXT): $(draw3_OBJECTS) $(draw3_DEPENDENCIES) @rm -f draw3$(EXEEXT) $(LINK) $(draw3_LDFLAGS) $(draw3_OBJECTS) $(draw3_LDADD) $(LIBS) draw4$(EXEEXT): $(draw4_OBJECTS) $(draw4_DEPENDENCIES) @rm -f draw4$(EXEEXT) $(LINK) $(draw4_LDFLAGS) $(draw4_OBJECTS) $(draw4_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/draw/Makefile.am0000664000076400007640000000066410213174467014301 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/draw/Makefile.am,v 1.22 2005/03/08 01:00:39 tobiasoed Exp $ # EXTRA_DIST= Imakefile if HaveXpm noinst_PROGRAMS= draw draw2 draw3 draw4 INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} endif xbae-4.60.4/examples/Imakefile0000664000076400007640000000116506761453124013121 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:48 danny Exp $ #include "../Xbae.tmpl" #define IHaveSubdirs #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' #if HaveWcl SUBDIRS = Mri add caption choice colors draw dynamic fifteen input list \ matrix multibyte multifixed select select-drag select-push traversal #else SUBDIRS = add caption choice colors draw dynamic fifteen list input matrix \ multibyte multifixed select-drag select-push traversal #endif MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) xbae-4.60.4/examples/extest0000775000076400007640000000123607530755343012554 00000000000000#! /bin/sh # Simple shell script to run the Xbae examples # # It also sets the required environment variables to run # the example programs properly # cd `dirname $0` SRCDIR=`pwd`/../src # Now cycle through the list of directories and example programs if [ -s "$1" ]; then dirlist="$*" else dirlist="*" fi for i in $dirlist do if [ -d $i -a -f $i/Makefile ] then echo "running tests in: $i" cd $i EXAMPLES=`grep "noinst_PROGRAMS =" #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include #include #include /* * Add multiple rows or columns at a time. * Use option menu to choose whether to add rows or columns. * Use the scale to choose how many to add. * Select a cell with Shift-Button1 to select the row or column to add after. */ typedef enum { RowOrientation, ColumnOrientation } Orientation; typedef struct { Widget matrix; Orientation orientation; int number; int row, column; int num_rows, num_columns; Dimension fixed_rows, fixed_columns; Dimension trailing_fixed_rows, trailing_fixed_columns; Widget textf; } AddDataRec, *AddData; void changePos(Widget w, AddData addData, int row, int column); void LoadMatrix(AddData addData); void RowOrientationCB(Widget w, AddData addData, XtPointer call_data); void ColumnOrientationCB(Widget w, AddData addData, XtPointer call_data); void AddCB(Widget w, AddData addData, XtPointer call_data); void DelCB(Widget w, AddData addData, XtPointer call_data); void SetNumberCB(Widget w, AddData addData, XmScaleCallbackStruct *call_data); void SetPositionCB(Widget w, AddData addData, XbaeMatrixSelectCellCallbackStruct *cbs); void defaultCB(Widget w, AddData addData, XbaeMatrixDefaultActionCallbackStruct *cbs); void enterCB(Widget w, AddData addData, XbaeMatrixEnterCellCallbackStruct *cbs); void drawCellCB(Widget w, AddData addData, XbaeMatrixDrawCellCallbackStruct *cbs); /* This used to be in the Add app-defaults file */ static String fallback[] = { "*rc.orientation: horizontal", "*number.showValue: True", "*number.orientation: horizontal", "*number.maximum: 10", "*add.labelString: Add", "*row.labelString: Rows", "*column.labelString: Columns", "*mw.rows: 7", "*mw.columns: 5", "*mw.rowHeights: 13, 19, 25, 31, 37, 43, 49", "*mw.columnLabels: hello, world, what\\nextra, s, up", "*mw.rowLabels: to, be, or, not, to, be, ?", "*mw.scrollBarPlacement: TOP_LEFT", "*mw.traverseFixedCells: True", "*mw.visibleColumns: 7", "*mw.visibleRows: 7", "*mw.translations: #override\\n" " Shift : SelectCell()\\n" " : SelectCell(k)\\n", "*mw.allowColumnResize: True", "*mw.gridType: grid_cell_shadow", "*mw.cellShadowType: shadow_in", "*mw.cellHighlightThickness: 1", "*mw.cellShadowThickness: 3", "*mw.shadowThickness: 5", "*fixedRows: 0", "*trailingFixedRows: 0", "*fixedColumns: 0", "*trailingFixedColumns: 0", "*mw.textShadowThickness: 2", NULL }; int main(int argc, char *argv[]) { Widget toplevel, form, rc, menu, row, column, option, number, add, del, rowsize; AddDataRec addData; XtAppContext app; Arg args[8]; int n; toplevel = XtVaAppInitialize(&app, "Add", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif /* * Create a Form to hold everything */ form = XtCreateManagedWidget("form", xmFormWidgetClass, toplevel, NULL, 0); rc = XtCreateManagedWidget("rc", xmRowColumnWidgetClass, form, NULL, 0); /* * Create a menu for use in an OptionMenu */ menu = XmCreatePulldownMenu(rc, "menu", NULL, 0); /* * Create a menu button to select row orientation */ row = XtVaCreateManagedWidget("row", xmPushButtonWidgetClass, menu, NULL); XtAddCallback(row, XmNactivateCallback, (XtCallbackProc)RowOrientationCB, (XtPointer)&addData); /* * Create a menu button to select column orientation */ column = XtVaCreateManagedWidget("column", xmPushButtonWidgetClass, menu, NULL); XtAddCallback(column, XmNactivateCallback, (XtCallbackProc)ColumnOrientationCB, (XtPointer)&addData); /* * Setup and create the option menu */ n = 0; XtSetArg(args[n], XmNsubMenuId, menu); n++; XtSetArg(args[n], XmNmenuHistory, row); n++; option = XmCreateOptionMenu(rc, "option", args, n); XtManageChild(option); addData.orientation = RowOrientation; /* * Create a scale to determine how many to add */ number = XtVaCreateManagedWidget( "number", xmScaleWidgetClass, rc, XmNvalue, 1, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, option, XmNbottomAttachment, XmATTACH_OPPOSITE_WIDGET, XmNbottomWidget, option, NULL); XtAddCallback(number, XmNvalueChangedCallback, (XtCallbackProc)SetNumberCB, (XtPointer)&addData); addData.number = 1; /* * Create a button to do the adding */ add = XtVaCreateManagedWidget( "add", xmPushButtonWidgetClass, rc, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, number, XmNbottomAttachment, XmATTACH_OPPOSITE_WIDGET, XmNbottomWidget, number, NULL); XtAddCallback(add, XmNactivateCallback, (XtCallbackProc)AddCB, (XtPointer)&addData); del = XtVaCreateManagedWidget( "Delete", xmPushButtonWidgetClass, rc, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, add, XmNbottomAttachment,XmATTACH_OPPOSITE_WIDGET, XmNbottomWidget, add, NULL); XtAddCallback(del, XmNactivateCallback, (XtCallbackProc)DelCB, (XtPointer)&addData); rowsize = XtVaCreateManagedWidget( "row size", xmTextFieldWidgetClass, rc, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, del, XmNbottomAttachment, XmATTACH_OPPOSITE_WIDGET, XmNbottomWidget, del, NULL); addData.textf = rowsize; /* * Create a Matrix widget. */ addData.matrix = XtVaCreateManagedWidget( "mw", xbaeMatrixWidgetClass, form, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNtopAttachment, XmATTACH_WIDGET, XmNtopWidget, rc, NULL); XtAddCallback(addData.matrix, XmNselectCellCallback, (XtCallbackProc)SetPositionCB, (XtPointer)&addData); XtAddCallback(addData.matrix, XmNdefaultActionCallback, (XtCallbackProc)defaultCB, (XtPointer)&addData); XtAddCallback(addData.matrix, XmNenterCellCallback, (XtCallbackProc)enterCB, (XtPointer)&addData); #if 0 XtAddCallback(addData.matrix, XmNdrawCellCallback, (XtCallbackProc)drawCellCB, (XtPointer)&addData); #endif XtVaGetValues(addData.matrix, XmNrows, &addData.num_rows, XmNcolumns, &addData.num_columns, XmNfixedRows, &addData.fixed_rows, XmNfixedColumns, &addData.fixed_columns, XmNtrailingFixedRows, &addData.trailing_fixed_rows, XmNtrailingFixedColumns, &addData.trailing_fixed_columns, NULL); addData.row = 0; addData.column = 0; changePos(addData.matrix, &addData, 0, 0); /* * Load the matrix with default values */ LoadMatrix(&addData); XtRealizeWidget(toplevel); XtAppMainLoop(app); return 0; } /* ARGSUSED */ void RowOrientationCB(Widget w, AddData addData, XtPointer call_data) { if (addData->orientation != RowOrientation) { XbaeMatrixUnhighlightColumn(addData->matrix, addData->column); addData->orientation = RowOrientation; XbaeMatrixHighlightRow(addData->matrix, addData->row); } } /* ARGSUSED */ void ColumnOrientationCB(Widget w, AddData addData, XtPointer call_data) { if (addData->orientation != ColumnOrientation) { XbaeMatrixUnhighlightRow(addData->matrix, addData->row); addData->orientation = ColumnOrientation; XbaeMatrixHighlightColumn(addData->matrix, addData->column); } } /* ARGSUSED */ void enterCB(Widget w, AddData addData, XbaeMatrixEnterCellCallbackStruct *cbs) { #if 0 int rows, cols; char str[16]; #endif if( cbs->row == 1 || cbs->row == 4 || cbs->column == 1 ) { cbs->doit = True; #if 0 XtVaGetValues(w, XmNrows, &rows, XmNcolumns, &cols, NULL); (void)sprintf(str, "%d", rand() % 16381); XbaeMatrixSetCell(w, rows - 1, cols / 2, str); printf("set cell to %s\n", str); #endif } else cbs->doit = False; cbs->doit = True; } void changePos(Widget w, AddData addData, int row, int column) { switch (addData->orientation) { case RowOrientation: XbaeMatrixUnhighlightRow(addData->matrix, addData->row); addData->row = row; addData->column = column; XbaeMatrixHighlightRow(addData->matrix, addData->row); break; case ColumnOrientation: XbaeMatrixUnhighlightColumn(addData->matrix, addData->column); addData->row = row; addData->column = column; XbaeMatrixHighlightColumn(addData->matrix, addData->column); break; } } /* ARGSUSED */ void defaultCB(Widget w, AddData addData, XbaeMatrixDefaultActionCallbackStruct *cbs) { static Widget dialog = NULL; XmString xm_string; Arg args[1]; char buf[ 64 ]; /* set the label for the dialog */ sprintf( buf, "Double click in row %d, column %d", cbs->row, cbs->column ); xm_string = XmStringCreateSimple( buf ); XtSetArg(args[0], XmNmessageString, xm_string); /* Create the InformationDialog as child of w */ if( !dialog ) dialog = XmCreateInformationDialog(w, "info", args, 1); else XtSetValues(dialog, args, 1); /* no longer need the compound string, free it */ XmStringFree(xm_string); /* manage the dialog */ XtManageChild(dialog); XtPopup(XtParent(dialog), XtGrabNone); changePos(w, addData, cbs->row, cbs->column); } /* ARGSUSED */ void AddCB(Widget w, AddData addData, XtPointer call_data) { String *rows, *columns; char buf[BUFSIZ]; int i, j, length; /* * Add rows or columns */ short size; short *sizes = (short *) XtMalloc(addData->number * sizeof(short)); char *buff = XmTextFieldGetString(addData->textf); if(sscanf(buff,"%hd",&size) != 1){ size = 50; } XtFree(buff); for (i = 0; i < addData->number; i++) sizes[i] = size; switch (addData->orientation) { case RowOrientation: XbaeMatrixUnhighlightRow(addData->matrix, addData->row); rows = NULL; if (addData->num_columns > 0) { rows = (String *) XtMalloc(addData->num_columns * addData->number * sizeof(String)); for (i = 0; i < addData->number; i++) { for (j = 0; j < addData->num_columns; j++) { sprintf(buf, "addrow %d, %d", i, j); rows[i * addData->num_columns + j] = XtNewString(buf); } } } XbaeMatrixAddVarRows(addData->matrix, addData->row, rows, NULL, sizes, NULL, NULL, NULL, NULL, addData->number); length = addData->num_columns * addData->number; for (i = 0; i < length; i++) XtFree(rows[i]); XtFree((XtPointer)rows); addData->num_rows = XbaeMatrixNumRows(addData->matrix); XbaeMatrixHighlightRow(addData->matrix, addData->row); break; case ColumnOrientation: XbaeMatrixUnhighlightColumn(addData->matrix, addData->column); columns = NULL; if (addData->num_rows > 0) { columns = (String *) XtMalloc(addData->num_rows * addData->number * sizeof(String)); for (i = 0; i < addData->num_rows; i++) { for (j = 0; j < addData->number; j++) { sprintf(buf, "addcol %d, %d", i, j); columns[i * addData->number + j] = XtNewString(buf); } } } XbaeMatrixAddColumns(addData->matrix, addData->column, columns, NULL, sizes, NULL, NULL, NULL, NULL, addData->number); length = addData->num_rows * addData->number; for (i = 0; i < length; i++) XtFree(columns[i]); XtFree((XtPointer)columns); addData->num_columns = XbaeMatrixNumColumns(addData->matrix); XbaeMatrixHighlightColumn(addData->matrix, addData->column); break; } XtFree((XtPointer) sizes); } /* ARGSUSED */ void DelCB(Widget w, AddData addData, XtPointer call_data) { /* * Delete rows or columns */ switch (addData->orientation) { case RowOrientation: if( addData->num_rows - addData->fixed_rows - addData->trailing_fixed_rows - addData->number < 0 ) return; XbaeMatrixUnhighlightRow(addData->matrix, addData->row); XbaeMatrixDeleteRows(addData->matrix, addData->row, addData->number); addData->num_rows = XbaeMatrixNumRows(addData->matrix); XbaeMatrixHighlightRow(addData->matrix, addData->row); break; case ColumnOrientation: if( addData->num_columns - addData->fixed_columns - addData->trailing_fixed_columns - addData->number < 0 ) return; XbaeMatrixUnhighlightColumn(addData->matrix, addData->column); XbaeMatrixDeleteColumns(addData->matrix, addData->column, addData->number); addData->num_columns = XbaeMatrixNumColumns(addData->matrix); XbaeMatrixHighlightColumn(addData->matrix, addData->column); break; } } /* ARGSUSED */ void SetNumberCB(Widget w, AddData addData, XmScaleCallbackStruct *call_data) { addData->number = call_data->value; } /* ARGSUSED */ void SetPositionCB(Widget w, AddData addData, XbaeMatrixSelectCellCallbackStruct *cbs) { if (cbs->num_params == 0) { changePos(w, addData, cbs->row, cbs->column); } else { DelCB(w, addData,cbs); } #if 0 fprintf(stderr, "Selected position : row %d column %d\n", addData->row, addData->column); #endif } void drawCellCB(Widget w, AddData addData, XbaeMatrixDrawCellCallbackStruct *cbs) { static char *buffer = "hello world"; cbs->string = buffer; cbs->type = XbaeString; } void LoadMatrix(AddData addData) { int i, j; char buf[BUFSIZ]; String *rowArrays, **cells; cells = (String **)XtMalloc(addData->num_rows * sizeof(String *)); rowArrays = (String *)XtMalloc(addData->num_rows * addData->num_columns * sizeof(String)); for (i = 0; i < addData->num_rows; i++) { cells[i] = &rowArrays[i * addData->num_columns]; for (j = 0; j < addData->num_columns; j++) { sprintf(buf, "%d, %d", i, j); rowArrays[i * addData->num_columns + j] = XtNewString(buf); } } XtVaSetValues(addData->matrix, XmNcells, cells, NULL); for (i = 0; i < addData->num_rows; i++) for (j = 0; j < addData->num_columns; j++) XtFree(rowArrays[i * addData->num_columns + j]); XtFree((XtPointer) rowArrays); XtFree((XtPointer) cells); } xbae-4.60.4/examples/add/Makefile.in0000664000076400007640000003170610436577337014120 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = add$(EXEEXT) subdir = examples/add DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) add_SOURCES = add.c add_OBJECTS = add.$(OBJEXT) add_LDADD = $(LDADD) am__DEPENDENCIES_1 = add_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = add.c DIST_SOURCES = add.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile MAINTAINERCLEANFILES = Makefile.in @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/add/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/add/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done add$(EXEEXT): $(add_OBJECTS) $(add_DEPENDENCIES) @rm -f add$(EXEEXT) $(LINK) $(add_LDFLAGS) $(add_OBJECTS) $(add_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/add/Makefile.am0000664000076400007640000000064507530466164014101 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/add/Makefile.am,v 1.19 2002/08/20 16:21:08 dannybackx Exp $ # noinst_PROGRAMS= add EXTRA_DIST= Imakefile MAINTAINERCLEANFILES= Makefile.in if UseEditres XMU=-lXmu else XMU= endif INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/multibyte/0000777000076400007640000000000010436577410013404 500000000000000xbae-4.60.4/examples/multibyte/multibyte.c0000664000076400007640000000671310222443717015506 00000000000000/* * Copyright(c) 1999 Andrew Lister * All rights reserved * * Copyright 2001 by the LessTif Developers * Copyright 2005 by the Xbae Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: multibyte.c,v 1.12 2005/03/30 06:31:43 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #define USE_RENDER_TABLE 0 static String fallback[] = { "Multibyte*XbaeMatrix*columnWidths: 35", #if USE_RENDER_TABLE "Multibyte*mw.renderTable:", "Multibyte*mw.renderTable.fontType: FONT_IS_FONTSET", "Multibyte*mw.renderTable.fontName: -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1," " -*-*-*-*-*-*-*-*-*-*-*-*-jisx0208.1983-0," " -*-*-*-*-*-*-*-*-*-*-*-*-jisx0201.1976-0", #else "Multibyte*XbaeMatrix*fontList: -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1;" " -*-*-*-*-*-*-*-*-*-*-*-*-jisx0208.1983-0;" " -*-*-*-*-*-*-*-*-*-*-*-*-jisx0201.1976-0: ", #endif "Multibyte*XbaeMatrix*multiLineCell: False", NULL }; /* * Simple example of loaded Matrix */ String text[] = { "ΥüǤϡե饰򻲾Ȥˤ ", "ưǤޤ󡣤Τ褦üǽ", "顼ɤˤϡ e ե饰ꤹȤ t Ʊ˻ꤷ", "ơŪˤƤӽФƤβ", "Ȥȡѡץ (դʸ) ȥ֥ץ (", "դʸ) νϤȤüνϵǽäƤƤ", "ԲǽˤʤäƤޤȤޤüν", " ˤưʤʤäƤޤä顢Ȥ", }; int main(int argc, char *argv[]) { Widget toplevel, mw; XtAppContext app; int row; setlocale(LC_ALL, "ja_JP"); toplevel = XtVaAppInitialize(&app, "Multibyte", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, XmNrows, sizeof(text)/sizeof(text[0]), XmNcolumns, 1, NULL); for (row = 0; row < sizeof(text)/sizeof(text[0]); row++) { XbaeMatrixSetCell(mw, row, 0, text[row]); } XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/multibyte/Imakefile0000664000076400007640000000034706761453115015140 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:41 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(multibyte) xbae-4.60.4/examples/multibyte/Makefile.in0000664000076400007640000003172210436577342015400 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = multibyte$(EXEEXT) subdir = examples/multibyte DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) multibyte_SOURCES = multibyte.c multibyte_OBJECTS = multibyte.$(OBJEXT) multibyte_LDADD = $(LDADD) am__DEPENDENCIES_1 = multibyte_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = multibyte.c DIST_SOURCES = multibyte.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/multibyte/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/multibyte/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done multibyte$(EXEEXT): $(multibyte_OBJECTS) $(multibyte_DEPENDENCIES) @rm -f multibyte$(EXEEXT) $(LINK) $(multibyte_LDFLAGS) $(multibyte_OBJECTS) $(multibyte_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/multibyte/Makefile.am0000664000076400007640000000062607530466166015370 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/multibyte/Makefile.am,v 1.17 2002/08/20 16:21:10 dannybackx Exp $ # noinst_PROGRAMS= multibyte EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/dynamic/0000777000076400007640000000000010436577410013012 500000000000000xbae-4.60.4/examples/dynamic/Imakefile0000664000076400007640000000034506761453107014545 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:35 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(dynamic) xbae-4.60.4/examples/dynamic/dynamic.c0000664000076400007640000000715007261035442014517 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * * Copyright 2001 by the LessTif Developers. * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: dynamic.c,v 1.7 2001/03/30 07:52:02 dannybackx Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include static String fallback[] = { "Dynamic*mw.rows: 6", "Dynamic*mw.columns: 5", "Dynamic*mw.columnWidths: 5, 15, 10, 10, 15", "Dynamic*mw.rowLabels: Row1, Row2, Row3, Row4, Row5, RowSix", "Dynamic*mw.columnLabels: Col1, Col2, Col3, Col4, ColFive", "Dynamic*mw.visibleRows: 6", NULL }; /* * Dynamically expand the matrix when tabbing past the last row or column. */ void TraverseCB(Widget w, XtPointer client_data, XbaeMatrixTraverseCellCallbackStruct *call_data); int main(int argc, char *argv[]) { Widget toplevel, mw; XtAppContext app; toplevel = XtVaAppInitialize(&app, "Dynamic", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, NULL); XtAddCallback(mw, XmNtraverseCellCallback, (XtCallbackProc)TraverseCB, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } /* ARGSUSED */ void TraverseCB(Widget w, XtPointer client_data, XbaeMatrixTraverseCellCallbackStruct *call_data) { static XrmQuark QRight = NULLQUARK; static XrmQuark QDown = NULLQUARK; /* * Get the Quarks we care about */ if (QRight == NULLQUARK) { QRight = XrmStringToQuark("Right"); QDown = XrmStringToQuark("Down"); } /* * If we are moving down, and we are at the last row, add a new row * and traverse to it. */ if (call_data->qparam == QDown && call_data->row == call_data->num_rows - 1) { XbaeMatrixAddRows(w, call_data->num_rows, NULL, NULL, NULL, 1); call_data->next_row = call_data->num_rows; call_data->next_column = call_data->column; } /* * If we are moving right, and we are at the last column, add a new column * and traverse to it. */ else if (call_data->qparam == QRight && call_data->column == call_data->num_columns - 1) { short width = 10; XbaeMatrixAddColumns(w, call_data->num_columns, NULL, NULL, &width, NULL, NULL, NULL, NULL, 1); call_data->next_column = call_data->num_columns; call_data->next_row = call_data->row; } } xbae-4.60.4/examples/dynamic/Makefile.in0000664000076400007640000003165110436577341015006 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = dynamic$(EXEEXT) subdir = examples/dynamic DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) dynamic_SOURCES = dynamic.c dynamic_OBJECTS = dynamic.$(OBJEXT) dynamic_LDADD = $(LDADD) am__DEPENDENCIES_1 = dynamic_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = dynamic.c DIST_SOURCES = dynamic.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/dynamic/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/dynamic/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done dynamic$(EXEEXT): $(dynamic_OBJECTS) $(dynamic_DEPENDENCIES) @rm -f dynamic$(EXEEXT) $(LINK) $(dynamic_LDFLAGS) $(dynamic_OBJECTS) $(dynamic_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/dynamic/Makefile.am0000664000076400007640000000062007530466165014767 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/dynamic/Makefile.am,v 1.17 2002/08/20 16:21:09 dannybackx Exp $ # noinst_PROGRAMS= dynamic EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/list/0000777000076400007640000000000010436577410012341 500000000000000xbae-4.60.4/examples/list/Imakefile0000664000076400007640000000034206761453113014066 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:39 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(list) xbae-4.60.4/examples/list/list2.c0000664000076400007640000001624010211646350013452 00000000000000/* * AUTHOR: Jay Schmidgall * * $Id: list2.c,v 1.9 2005/03/03 17:44:08 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include static String fallback[] = { "List*List*background: gray", "List*mw.fill: True", "List*mw.oddRowBackground: CadetBlue", "List*mw.evenRowBackground: ForestGreen", "List*mw.reverseSelect: True", "List*mw.gridType: GRID_ROW_SHADOW", "List*mw.cellShadowThickness: 0", "List*mw.rows: 10", "List*mw.columns: 4", "List*mw.visibleRows: 5", "List*mw.columnWidths: 10, 10, 10, 10, 10, 5," " 10, 5, 10, 5, 10, 5", "List*mw.columnLabels: Zero, One, Two, Three, Four," " Five, Six, Seven, Eight, Nine", "List*mw.rowLabels: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9", "List*mw.traversalOn: True", "List*mw.translations: : DefaultAction() SelectCell(Pointer)\\n", "List*mw.textTranslations: osfUp: SelectCell(Up)\\n" " osfDown: SelectCell(Down)\\n" " space: SelectCell(Select)\\n" " ShiftTab: ManagerGadgetPrevTabGroup()\\n" " Tab: ManagerGadgetNextTabGroup()\\n", NULL }; void LoadMatrix(Widget w) { String *cells[10]; static String rows[10][10] = { { "0,Zero", "0,One", "0,Two", "0,Three", "0,Four", "0,Five", "0,Six", "0, Seven", "0, Eight", "0, Nine" }, { "1,Zero", "1,One", "1,Two", "1,Three", "1,Four", "1,Five", "1,Six", "1, Seven", "1, Eight", "1, Nine" }, { "2,Zero", "2,One", "2,Two", "2,Three", "2,Four", "2,Five", "2,Six", "2, Seven", "2, Eight", "2, Nine" }, { "3,Zero", "3,One", "3,Two", "3,Three", "3,Four", "3,Five", "3,Six", "3, Seven", "3, Eight", "3, Nine" }, { "4,Zero", "4,One", "4,Two", "4,Three", "4,Four", "4,Five", "4,Six", "4, Seven", "4, Eight", "4, Nine" }, { "5,Zero", "5,One", "5,Two", "5,Three", "5,Four", "5,Five", "5,Six", "5, Seven", "5, Eight", "5, Nine" }, { "6,Zero", "6,One", "6,Two", "6,Three", "6,Four", "6,Five", "6,Six", "6, Seven", "6, Eight", "6, Nine" }, { "7,Zero", "7,One", "7,Two", "7,Three", "7,Four", "7,Five", "7,Six", "7, Seven", "7, Eight", "7, Nine" }, { "8,Zero", "8,One", "8,Two", "8,Three", "8,Four", "8,Five", "8,Six", "8, Seven", "8, Eight", "8, Nine" }, { "9,Zero", "9,One", "9,Two", "9,Three", "9,Four", "9,Five", "9,Six", "9, Seven", "9, Eight", "9, Nine" } }; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; cells[2] = &rows[2][0]; cells[3] = &rows[3][0]; cells[4] = &rows[4][0]; cells[5] = &rows[5][0]; cells[6] = &rows[6][0]; cells[7] = &rows[7][0]; cells[8] = &rows[8][0]; cells[9] = &rows[9][0]; XtVaSetValues(w, XmNcells, cells, NULL); } typedef struct { Widget mw; int last_row; int row; } HighlightStruct; void cbSelect(Widget w, XtPointer client, XtPointer call) { XbaeMatrixSelectCellCallbackStruct *cbs = (XbaeMatrixSelectCellCallbackStruct*) call; HighlightStruct *hs = (HighlightStruct*) client; int rows = XbaeMatrixNumRows(hs->mw); switch (cbs->params[0][0]) { case 'S': if (XbaeMatrixIsRowSelected(hs->mw, hs->row)) XbaeMatrixDeselectRow(hs->mw, hs->row); else XbaeMatrixSelectRow(hs->mw, hs->row); break; case 'P': hs->row = cbs->row; XbaeMatrixUnhighlightRow(hs->mw, hs->last_row); XbaeMatrixHighlightRow(hs->mw, hs->row); hs->last_row = hs->row; break; case 'U': case 'D': if (cbs->params[0][0] == 'U') { if (0 < hs->last_row) hs->row = hs->last_row - 1; } else if ((rows-1) > hs->last_row) hs->row = hs->last_row + 1; if (hs->row != hs->last_row) { XbaeMatrixUnhighlightRow(hs->mw, hs->last_row); XbaeMatrixHighlightRow(hs->mw, hs->row); hs->last_row = hs->row; } break; } } Widget toplevel, form, label, mw, b; Widget tf1, tf2; void resizeRow(Widget w, XtPointer client, XtPointer call) { int row, h; row = atoi(XmTextFieldGetString(tf1)); h = atoi(XmTextFieldGetString(tf2)); fprintf(stderr, "Setting height of row %d to %d\n", row, h); XbaeMatrixSetRowHeight(mw, row, h); } int main(int argc, char *argv[]) { XtAppContext app; HighlightStruct *hs = XtNew(HighlightStruct); char *name = "The matrix mimics the keyboard interaction\n" "of XmList. Up and Down move the highlight up and down,\n" "and Space toggles the selection.\n" "\n" "Use the left textfield to specify a row, the right one to\n" "specify its new height, and click the button to set the new height\n"; XmString xms; toplevel = XtVaAppInitialize(&app, "List", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif form = XtVaCreateManagedWidget("form", xmFormWidgetClass, toplevel, NULL); xms = XmStringCreateLtoR(name, XmFONTLIST_DEFAULT_TAG); label = XtVaCreateManagedWidget("label", xmLabelWidgetClass, form, XmNlabelString, xms, XmNtopAttachment, XmATTACH_FORM, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, NULL); XmStringFree(xms); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, form, XmNtopWidget, label, XmNtopAttachment, XmATTACH_WIDGET, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, /* XmNbottomAttachment, XmATTACH_FORM, */ XmNbottomOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, NULL); XtAddCallback(mw, XmNselectCellCallback, cbSelect, (XtPointer) hs); tf1 = XtVaCreateManagedWidget("tf1", xmTextFieldWidgetClass, form, XmNtopWidget, mw, XmNtopAttachment, XmATTACH_WIDGET, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, NULL); tf2 = XtVaCreateManagedWidget("tf2", xmTextFieldWidgetClass, form, XmNtopWidget, mw, XmNtopAttachment, XmATTACH_WIDGET, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, tf1, XmNleftOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, NULL); b = XtVaCreateManagedWidget("Push Me", xmPushButtonWidgetClass, form, XmNtopWidget, mw, XmNtopAttachment, XmATTACH_WIDGET, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, tf2, XmNleftOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, NULL); XtAddCallback(b, XmNactivateCallback, resizeRow, 0); LoadMatrix(mw); XbaeMatrixHighlightRow(mw, 0); hs->last_row = hs->row = 0; hs->mw = mw; XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/list/list.c0000664000076400007640000001311310211646350013364 00000000000000/* * AUTHOR: Jay Schmidgall * * $Id: list.c,v 1.9 2005/03/03 17:44:08 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include #include #include static String fallback[] = { "List*List*background: gray", "List*mw.fill: True", "List*mw.oddRowBackground: CadetBlue", "List*mw.evenRowBackground: ForestGreen", "List*mw.reverseSelect: True", "List*mw.gridType: GRID_ROW_SHADOW", "List*mw.cellShadowThickness: 0", "List*mw.rows: 10", "List*mw.columns: 4", "List*mw.visibleRows: 5", "List*mw.columnWidths: 10, 10, 10, 10, 10, 5," " 10, 5, 10, 5, 10, 5", "List*mw.columnLabels: Zero, One, Two, Three, Four," " Five, Six, Seven, Eight, Nine", "List*mw.rowLabels: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9", "List*mw.traversalOn: True", "List*mw.translations: : DefaultAction() SelectCell(Pointer)\\n", "List*mw.textTranslations: osfUp: SelectCell(Up)\\n" " osfDown: SelectCell(Down)\\n" " space: SelectCell(Select)\\n", NULL }; void LoadMatrix(Widget w) { String *cells[10]; static String rows[10][10] = { { "0,Zero", "0,One", "0,Two", "0,Three", "0,Four", "0,Five", "0,Six", "0, Seven", "0, Eight", "0, Nine" }, { "1,Zero", "1,One", "1,Two", "1,Three", "1,Four", "1,Five", "1,Six", "1, Seven", "1, Eight", "1, Nine" }, { "2,Zero", "2,One", "2,Two", "2,Three", "2,Four", "2,Five", "2,Six", "2, Seven", "2, Eight", "2, Nine" }, { "3,Zero", "3,One", "3,Two", "3,Three", "3,Four", "3,Five", "3,Six", "3, Seven", "3, Eight", "3, Nine" }, { "4,Zero", "4,One", "4,Two", "4,Three", "4,Four", "4,Five", "4,Six", "4, Seven", "4, Eight", "4, Nine" }, { "5,Zero", "5,One", "5,Two", "5,Three", "5,Four", "5,Five", "5,Six", "5, Seven", "5, Eight", "5, Nine" }, { "6,Zero", "6,One", "6,Two", "6,Three", "6,Four", "6,Five", "6,Six", "6, Seven", "6, Eight", "6, Nine" }, { "7,Zero", "7,One", "7,Two", "7,Three", "7,Four", "7,Five", "7,Six", "7, Seven", "7, Eight", "7, Nine" }, { "8,Zero", "8,One", "8,Two", "8,Three", "8,Four", "8,Five", "8,Six", "8, Seven", "8, Eight", "8, Nine" }, { "9,Zero", "9,One", "9,Two", "9,Three", "9,Four", "9,Five", "9,Six", "9, Seven", "9, Eight", "9, Nine" } }; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; cells[2] = &rows[2][0]; cells[3] = &rows[3][0]; cells[4] = &rows[4][0]; cells[5] = &rows[5][0]; cells[6] = &rows[6][0]; cells[7] = &rows[7][0]; cells[8] = &rows[8][0]; cells[9] = &rows[9][0]; XtVaSetValues(w, XmNcells, cells, NULL); } typedef struct { Widget mw; int last_row; int row; } HighlightStruct; void cbSelect(Widget w, XtPointer client, XtPointer call) { XbaeMatrixSelectCellCallbackStruct *cbs = (XbaeMatrixSelectCellCallbackStruct*) call; HighlightStruct *hs = (HighlightStruct*) client; int rows = XbaeMatrixNumRows(hs->mw); switch (cbs->params[0][0]) { case 'S': /* Select */ if (XbaeMatrixIsRowSelected(hs->mw, hs->row)) XbaeMatrixDeselectRow(hs->mw, hs->row); else XbaeMatrixSelectRow(hs->mw, hs->row); break; case 'P': /* Pointer */ hs->row = cbs->row; XbaeMatrixUnhighlightRow(hs->mw, hs->last_row); XbaeMatrixHighlightRow(hs->mw, hs->row); hs->last_row = hs->row; break; case 'U': /* Up */ case 'D': /* Down */ if (cbs->params[0][0] == 'U') { if (0 < hs->last_row) hs->row = hs->last_row - 1; } else if ((rows-1) > hs->last_row) hs->row = hs->last_row + 1; if (hs->row != hs->last_row) { XbaeMatrixUnhighlightRow(hs->mw, hs->last_row); XbaeMatrixHighlightRow(hs->mw, hs->row); hs->last_row = hs->row; } break; } } int main(int argc, char *argv[]) { Widget toplevel, form, label, mw; XtAppContext app; HighlightStruct *hs = XtNew(HighlightStruct); char *name = "The matrix mimics the keyboard interaction\n\ of XmList. Up and Down move the highlight up and down,\n\ and Space toggles the selection."; XmString xms; toplevel = XtVaAppInitialize(&app, "List", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif form = XtVaCreateManagedWidget("form", xmFormWidgetClass, toplevel, NULL); xms = XmStringCreateLtoR(name, XmFONTLIST_DEFAULT_TAG); label = XtVaCreateManagedWidget("label", xmLabelWidgetClass, form, XmNlabelString, xms, XmNtopAttachment, XmATTACH_FORM, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, NULL); XmStringFree(xms); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, form, XmNtopWidget, label, XmNtopAttachment, XmATTACH_WIDGET, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, NULL); XtAddCallback(mw, XmNselectCellCallback, cbSelect, (XtPointer) hs); LoadMatrix(mw); XbaeMatrixHighlightRow(mw, 0); hs->last_row = hs->row = 0; hs->mw = mw; XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/list/list3.c0000644000076400007640000002164310432167445013464 00000000000000/* * AUTHOR: Jay Schmidgall * * $Id: list3.c,v 1.8 2006/05/15 21:14:13 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include static String fallback[] = { "List*List*background: gray", "List*mw.fill: True", "List*mw.oddRowBackground: CadetBlue", "List*mw.evenRowBackground: ForestGreen", "List*mw.highlightColor: Blue", "List*mw.reverseSelect: True", "List*mw.gridType: GRID_ROW_SHADOW", "List*mw.cellShadowThickness: 0", "List*mw.rows: 10", "List*mw.columns: 4", "List*mw.visibleRows: 5", "List*mw.columnWidths: 10, 10, 10, 10, 10, 5," " 10, 5, 10, 5, 10, 5", "List*mw.columnLabels: Zero, One, Two, Three, Four," " Five, Six, Seven, Eight, Nine", "List*mw.rowLabels: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9", "List*mw.fill: True", "List*mw.horzFill: True", "List*mw.traversalOn: True", "List*mw.textTranslations: " " osfUp: EditCell(Up)\\n" " osfDown: EditCell(Down)\\n" " osfPageUp: PageUp()\\n" " osfPageDown: PageDown()\\n" " Ctrlspace: SelectCell(Toggle)\\n" " space: SelectCell(This)\\n", "List*mw.translations: " " Ctrl: EditCell(Pointer) SelectCell(Toggle)\\n" " : DefaultAction()\\n" " : DefaultAction() EditCell(Pointer) SelectCell(PointerExtend)\\n" " : HandleTracking()\n", NULL }; void LoadMatrix(Widget w) { String *cells[10]; static String rows[10][10] = { { "0,Zero", "0,One", "0,Two", "0,Three", "0,Four", "0,Five", "0,Six", "0, Seven", "0, Eight", "0, Nine" }, { "1,Zero", "1,One", "1,Two", "1,Three", "1,Four", "1,Five", "1,Six", "1, Seven", "1, Eight", "1, Nine" }, { "2,Zero", "2,One", "2,Two", "2,Three", "2,Four", "2,Five", "2,Six", "2, Seven", "2, Eight", "2, Nine" }, { "3,Zero", "3,One", "3,Two", "3,Three", "3,Four", "3,Five", "3,Six", "3, Seven", "3, Eight", "3, Nine" }, { "4,Zero", "4,One", "4,Two", "4,Three", "4,Four", "4,Five", "4,Six", "4, Seven", "4, Eight", "4, Nine" }, { "5,Zero", "5,One", "5,Two", "5,Three", "5,Four", "5,Five", "5,Six", "5, Seven", "5, Eight", "5, Nine" }, { "6,Zero", "6,One", "6,Two", "6,Three", "6,Four", "6,Five", "6,Six", "6, Seven", "6, Eight", "6, Nine" }, { "7,Zero", "7,One", "7,Two", "7,Three", "7,Four", "7,Five", "7,Six", "7, Seven", "7, Eight", "7, Nine" }, { "8,Zero", "8,One", "8,Two", "8,Three", "8,Four", "8,Five", "8,Six", "8, Seven", "8, Eight", "8, Nine" }, { "9,Zero", "9,One", "9,Two", "9,Three", "9,Four", "9,Five", "9,Six", "9, Seven", "9, Eight", "9, Nine" } }; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; cells[2] = &rows[2][0]; cells[3] = &rows[3][0]; cells[4] = &rows[4][0]; cells[5] = &rows[5][0]; cells[6] = &rows[6][0]; cells[7] = &rows[7][0]; cells[8] = &rows[8][0]; cells[9] = &rows[9][0]; XtVaSetValues(w, XmNcells, cells, NULL); } void cbEnterCell(Widget w, XtPointer client, XtPointer call) { XbaeMatrixEnterCellCallbackStruct *cbs = call; cbs->doit = False; cbs->map = False; } void cbSelect(Widget w, XtPointer client, XtPointer call) { XbaeMatrixSelectCellCallbackStruct *cbs = call; int i; for(i=0;inum_params;i++){ printf("|%s| ",cbs->params[i]); } printf("\n"); if(strcmp(cbs->params[0],"This")==0 || strcmp(cbs->params[0], "PointerExtend")==0) { XbaeMatrixDeselectAll(w); XbaeMatrixSelectRow(w, cbs->row); } else if(strcmp(cbs->params[0],"Toggle")==0) { if (XbaeMatrixIsRowSelected(w, cbs->row)) { XbaeMatrixDeselectRow(w, cbs->row); } else { XbaeMatrixSelectRow(w, cbs->row); } } else if(strcmp(cbs->params[0],"Extend")==0) { XbaeMatrixSelectRow(w, cbs->row); } } void cbTraverse(Widget w, XtPointer client, XtPointer call) { XbaeMatrixTraverseCellCallbackStruct *cbs = (XbaeMatrixTraverseCellCallbackStruct *) call; if (strcmp(cbs->param, "LosingFocus") == 0) { XbaeMatrixUnhighlightRow(w, cbs->row); } else if (strcmp(cbs->param, "Focus") == 0 || cbs->row != cbs->next_row) { /* * When we get the focus for the first time, there is no current row */ if (cbs->row != -1) { XbaeMatrixUnhighlightRow(w, cbs->row); } XbaeMatrixHighlightRow(w, cbs->next_row); } } Widget toplevel, form, label, mw, b; Widget tf1, tf2; void resizeRow(Widget w, XtPointer client, XtPointer call) { int row, height; row = atoi(XmTextFieldGetString(tf1)); height = atoi(XmTextFieldGetString(tf2)); fprintf(stderr, "Setting height of row %d to %d\n", row, height); XbaeMatrixSetRowHeight(mw, row, height); } int main(int argc, char *argv[]) { XtAppContext app; char *name = "The matrix mimics the keyboard interaction\n" "of XmList. Up and Down move the highlight up and down\n" "while Space and Doubble click toggle the selection.\n" "\n" "Use the left textfield to specify a row, the right one to\n" "specify its new height, and click the button to set the new height\n"; XmString xms; toplevel = XtVaAppInitialize(&app, "List", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif form = XtVaCreateManagedWidget("form", xmFormWidgetClass, toplevel, NULL); xms = XmStringCreateLtoR(name, XmFONTLIST_DEFAULT_TAG); label = XtVaCreateManagedWidget("label", xmLabelWidgetClass, form, XmNlabelString, xms, XmNtopAttachment, XmATTACH_FORM, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, NULL); XmStringFree(xms); tf1 = XtVaCreateManagedWidget("tf1", xmTextFieldWidgetClass, form, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, NULL); tf2 = XtVaCreateManagedWidget("tf2", xmTextFieldWidgetClass, form, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, tf1, XmNleftOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, NULL); b = XtVaCreateManagedWidget("Push Me", xmPushButtonWidgetClass, form, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, tf2, XmNleftOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, NULL); XtAddCallback(b, XmNactivateCallback, resizeRow, 0); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, form, XmNtopWidget, label, XmNtopAttachment, XmATTACH_WIDGET, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNbottomWidget, b, XmNbottomAttachment, XmATTACH_WIDGET, XmNbottomOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, XmNselectionPolicy, XmEXTENDED_SELECT, NULL); XtAddCallback(mw, XmNselectCellCallback, cbSelect, NULL); XtAddCallback(mw, XmNenterCellCallback, cbEnterCell, NULL); XtAddCallback(mw, XmNtraverseCellCallback, cbTraverse, NULL); LoadMatrix(mw); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/list/Makefile.in0000664000076400007640000003320210436577341014327 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = list$(EXEEXT) list2$(EXEEXT) list3$(EXEEXT) subdir = examples/list DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) list_SOURCES = list.c list_OBJECTS = list.$(OBJEXT) list_LDADD = $(LDADD) am__DEPENDENCIES_1 = list_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) list2_SOURCES = list2.c list2_OBJECTS = list2.$(OBJEXT) list2_LDADD = $(LDADD) list2_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) list3_SOURCES = list3.c list3_OBJECTS = list3.$(OBJEXT) list3_LDADD = $(LDADD) list3_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = list.c list2.c list3.c DIST_SOURCES = list.c list2.c list3.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/list/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/list/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done list$(EXEEXT): $(list_OBJECTS) $(list_DEPENDENCIES) @rm -f list$(EXEEXT) $(LINK) $(list_LDFLAGS) $(list_OBJECTS) $(list_LDADD) $(LIBS) list2$(EXEEXT): $(list2_OBJECTS) $(list2_DEPENDENCIES) @rm -f list2$(EXEEXT) $(LINK) $(list2_LDFLAGS) $(list2_OBJECTS) $(list2_LDADD) $(LIBS) list3$(EXEEXT): $(list3_OBJECTS) $(list3_DEPENDENCIES) @rm -f list3$(EXEEXT) $(LINK) $(list3_LDFLAGS) $(list3_OBJECTS) $(list3_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/list/Makefile.am0000664000076400007640000000063210213472440014302 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/list/Makefile.am,v 1.19 2005/03/09 04:01:36 tobiasoed Exp $ # noinst_PROGRAMS= list list2 list3 EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/traversal/0000777000076400007640000000000010436577410013371 500000000000000xbae-4.60.4/examples/traversal/traversal.c0000664000076400007640000000731410214132115015442 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * * Copyright 2001 by the LessTif Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: traversal.c,v 1.9 2005/03/10 20:55:41 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include static String fallback[] = { "Traversal*mw.rows: 10", "Traversal*mw.columns: 5", "Traversal*mw.columnWidths: 10, 5, 10, 15, 1", /* * We need translations on the TextField edit widget to do our custom * traversal (EditCell(Return)) */ "Traversal*mw.textTranslations: #override\\n" " Shift ~Ctrl ~Meta ~Alt Tab: EditCell(Left)\\n" " ~Ctrl ~Meta ~Alt Tab: EditCell(Right)\\n" " osfUp: EditCell(Up)\\n" " osfDown: EditCell(Down)\\n" " osfActivate: EditCell(Return)\\n" " ~Shift ~Meta ~Alt Return: EditCell(Return)\\n" " osfCancel: CancelEdit(False)", NULL }; /* * Custom traversal. * Defines a new type of traversal. Pressing the Return key will * now move down a row and back to the first column (like a carriage * return). */ void TraverseCB(Widget w, XtPointer client_data, XbaeMatrixTraverseCellCallbackStruct *call_data); int main(int argc, char *argv[]) { Widget toplevel, mw; XtAppContext app; toplevel = XtVaAppInitialize(&app, "Traversal", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, NULL); XtAddCallback(mw, XmNtraverseCellCallback, (XtCallbackProc)TraverseCB, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } /* * Custom traversal callback. If the EditCell() action has the param * "Return", then we move down a row and back to the first editable * column. */ /* ARGSUSED */ void TraverseCB(Widget w, XtPointer client_data, XbaeMatrixTraverseCellCallbackStruct *call_data) { static XrmQuark Qreturn = NULLQUARK; /* * Get a Quark for our special action parm (for faster comparisons) */ if (Qreturn == NULLQUARK) Qreturn = XrmStringToQuark("Return"); /* * See if this is our special quark */ if (call_data->qparam != Qreturn) return; /* * If we are on the last row we don't move */ if (call_data->row == call_data->num_rows - 1) return; /* * Move down a row and back to the first non-fixed column */ call_data->next_row = call_data->row + 1; call_data->next_column = call_data->fixed_columns; } xbae-4.60.4/examples/traversal/Imakefile0000664000076400007640000000034706761453122015123 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:46 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(traversal) xbae-4.60.4/examples/traversal/Makefile.in0000664000076400007640000003170710436577343015371 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = traversal$(EXEEXT) subdir = examples/traversal DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) traversal_SOURCES = traversal.c traversal_OBJECTS = traversal.$(OBJEXT) traversal_LDADD = $(LDADD) am__DEPENDENCIES_1 = traversal_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = traversal.c DIST_SOURCES = traversal.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/traversal/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/traversal/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done traversal$(EXEEXT): $(traversal_OBJECTS) $(traversal_DEPENDENCIES) @rm -f traversal$(EXEEXT) $(LINK) $(traversal_LDFLAGS) $(traversal_OBJECTS) $(traversal_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/traversal/Makefile.am0000664000076400007640000000061407530466170015345 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/traversal/Makefile.am,v 1.17 2002/08/20 16:21:12 dannybackx Exp $ # noinst_PROGRAMS= traversal EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/choice/0000777000076400007640000000000010436577410012620 500000000000000xbae-4.60.4/examples/choice/Imakefile0000664000076400007640000000034406761453104014347 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:32 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(choice) xbae-4.60.4/examples/choice/choice.c0000644000076400007640000010366110432327376014141 00000000000000/* * AUTHOR: Jay Schmidgall * * $Id: choice.c,v 1.38 2006/05/16 10:52:46 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include #include #include #include #include #include #ifdef WITH_DMALLOC #include #endif #define USE_RENDER_TABLE 0 #define VERBOSE 0 #if (XmVERSION < 2) #define XmUNSPECIFIED_PIXEL ((Pixel) (~0)) #endif static String fallback[] = { "Choice*mw.rows: 10", "Choice*mw.columns: 10", "Choice*mw.visibleRows: 5", "Choice*mw.visibleColumns: 5", "Choice*mw.columnWidths: 14, 14, 14, 7, 7, 7, 7, 7, 7, 7", "Choice*mw.rowHeights: 2, 1, 1, 1, 1, 1, 1, 1, 1, 1", "Choice*mw.rowLabels: 000, 1, 2, 3, 4, 5, 6, 7, 8, 9", "Choice*mw.columnLabels: Zero, One, Two, Three, Four," " Five, Six, Seven, Eight, Nine", "Choice*mw.columnAlignments:" " alignment_beginning, alignment_center, alignment_end," " alignment_beginning, alignment_beginning, alignment_beginning," " alignment_beginning, alignment_beginning, alignment_beginning," " alignment_beginning", /* "Choice*mw.fontList: 7x14", */ "Choice*mw.traverseFixedCells: True", "Choice*mw.topRow: 0", "Choice*mw.evenRowBackground: Red", "Choice*mw.oddRowBackground: Blue", "Choice*mw.altRowCount: 2", "Choice*mw.calcCursorPosition: True", "Choice*mw.buttonLabels: True", "Choice*mw.rowHeightInPixels: False", "Choice*mw.multiLineCell: True", "Choice*mw.wrapType: wrap_none", "Choice*mw.showArrows: True", #if 0 #if USE_RENDER_TABLE "Choice*mw.renderTable: labels", "Choice*mw.renderTable.fontType: FONT_IS_FONT", "Choice*mw.renderTable.fontName: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*", "Choice*mw.renderTable.labels.fontType: FONT_IS_FONT", "Choice*mw.renderTable.labels.fontName: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*", #else "Choice*mw.fontList: -*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*", "Choice*mw.labelFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*", #endif #else "Choice*form.textRenderTable: labels", "Choice*form.textRenderTable.fontType: FONT_IS_FONT", "Choice*form.textRenderTable.fontName: -*-helvetica-medium-o-*-*-10-*-*-*-*-*-*-*", "Choice*form.textRenderTable.labels.fontType: FONT_IS_FONT", "Choice*form.textRenderTable.labels.fontName: -*-helvetica-medium-o-*-*-14-*-*-*-*-*-*-*", #endif #if 0 "Choice*mw.sensitive: False", #endif "Choice*mw.translations: " " : DefaultAction()\\n" " : DefaultAction() Label() EditCell(Pointer) SelectCell(cell)\\n" " Shift : ResizeColumns()\\n" " : ScrollRows(-50)\\n" " : ScrollRows( 50)\\n", #if 0 "Choice*mw.textTranslations: " " Return : CommitEdit(True)\\n", #endif NULL }; void LoadMatrix(Widget w) { String *cells[10]; static String rows[10][10] = { { "a 0,Zero\nThis column is left aligned", "b 0,One\nThis column is center aligned", "c 0,Two\nThis column is right aligned", "d 0,Three", "e 0,Four", "f 0,Five", "g 0,Six", "h 0, Seven", "i 0, Eight", "j 0, Nine" }, { "b 1,Zero", "c 1,One", "d 1,Two", "e 1,Three", "f 1,Four", "g 1,Five", "h 1,Six", "i 1, Seven", "j 1, Eight", "a 1, Nine" }, { "c 2,Zero", "d 2,One", "e 2,Two", "f 2,Three", "g 2,Four", "h 2,Five", "i 2,Six", "j 2, Seven", "a 2, Eight", "b 2, Nine" }, { "d 3,Zero", "e 3,One", "f 3,Two", "g 3,Three", "h 3,Four", "i 3,Five", "j 3,Six", "a 3, Seven", "b 3, Eight", "c 3, Nine" }, { "e 4,Zero", "f 4,One", "g 4,Two", "h 4,Three", "i 4,Four", "j 4,Five", "a 4,Six", "b 4, Seven", "c 4, Eight", "d 4, Nine" }, { "f 5,Zero", "g 5,One", "h 5,Two", "i 5,Three", "j 5,Four", "a 5,Five", "b 5,Six", "c 5, Seven", "d 5, Eight", "e 5, Nine" }, { "g 6,Zero", "h 6,One", "i 6,Two", "j 6,Three", "a 6,Four", "b 6,Five", "c 6,Six", "d 6, Seven", "e 6, Eight", "f 6, Nine" }, { "h 7,Zero", "i 7,One", "j 7,Two", "a 7,Three", "b 7,Four", "c 7,Five", "d 7,Six", "e 7, Seven", "f 7, Eight", "g 7, Nine" }, { "i 8,Zero", "j 8,One", "a 8,Two", "b 8,Three", "c 8,Four", "d 8,Five", "e 8,Six", "f 8, Seven", "g 8, Eight", "h 8, Nine" }, { "j 9,Zero", "a 9,One", "b 9,Two", "c 9,Three", "d 9,Four", "e 9,Five", "f 9,Six", "g 9, Seven", "h 9, Eight", "i 9, Nine\nhaha" } }; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; cells[2] = &rows[2][0]; cells[3] = &rows[3][0]; cells[4] = &rows[4][0]; cells[5] = &rows[5][0]; cells[6] = &rows[6][0]; cells[7] = &rows[7][0]; cells[8] = &rows[8][0]; cells[9] = &rows[9][0]; XtVaSetValues(w, XmNcells, cells, NULL); } typedef struct { Widget mw; char *resource; int value; } SetValueStruct; typedef struct { int value; Pixel armColor; Pixel foreColor; Pixel backColor; } SelectModeStruct; struct name_int { char *name; int value; }; enum { SelectSelect, SelectHighlight, SelectArm }; /* ================================================================================================ * The following functions are for 'select mode' buttons */ void UnarmAll(Widget w) { int rows, columns, r, c; XtVaGetValues(w, XmNrows, &rows, XmNcolumns, &columns, NULL); for (c = 0; c < columns; c++) { XbaeMatrixSetColumnShadow(w, c, 0); } for (r = 0; r < rows; r++) { XbaeMatrixSetRowShadow(w, r, 0); } for (r = 0; r < rows; r++) { for (c = 0; c < columns; c++) { XbaeMatrixSetCellShadow(w, r, c, 0); XbaeMatrixSetCellBackground(w, r, c, XmUNSPECIFIED_PIXEL); } } } void ArmColumn(Widget w, int column, SelectModeStruct *sms) { int rows, columns; unsigned char cellShadowType; XtVaGetValues(w, XmNrows, &rows, XmNcolumns, &columns, XmNcellShadowType, &cellShadowType, NULL); switch (cellShadowType) { case XmSHADOW_IN: XbaeMatrixSetColumnShadow(w, column, XmSHADOW_OUT); break; case XmSHADOW_OUT: XbaeMatrixSetColumnShadow(w, column, XmSHADOW_IN); break; case XmSHADOW_ETCHED_IN: XbaeMatrixSetColumnShadow(w, column, XmSHADOW_ETCHED_OUT); break; case XmSHADOW_ETCHED_OUT: XbaeMatrixSetColumnShadow(w, column, XmSHADOW_ETCHED_IN); break; } XbaeMatrixSetColumnBackgrounds(w, column, &sms->armColor, 1); } void ArmRow(Widget w, int row, SelectModeStruct *sms) { int rows, columns; unsigned char cellShadowType; XtVaGetValues(w, XmNrows, &rows, XmNcolumns, &columns, XmNcellShadowType, &cellShadowType, NULL); switch (cellShadowType) { case XmSHADOW_IN: XbaeMatrixSetRowShadow(w, row, XmSHADOW_OUT); break; case XmSHADOW_OUT: XbaeMatrixSetRowShadow(w, row, XmSHADOW_IN); break; case XmSHADOW_ETCHED_IN: XbaeMatrixSetRowShadow(w, row, XmSHADOW_ETCHED_OUT); break; case XmSHADOW_ETCHED_OUT: XbaeMatrixSetRowShadow(w, row, XmSHADOW_ETCHED_IN); break; } XbaeMatrixSetRowBackgrounds(w, row, &sms->armColor, 1); } void ArmCell(Widget w, int row, int column, SelectModeStruct *sms) { int rows, columns, r, c; unsigned char cellShadowType; XtVaGetValues(w, XmNrows, &rows, XmNcolumns, &columns, XmNcellShadowType, &cellShadowType, NULL); for (r = 0; r < rows; r++) { XbaeMatrixSetCellBackground(w, r, column, sms->armColor); switch (cellShadowType) { case XmSHADOW_IN: XbaeMatrixSetCellShadow(w, r, column, XmSHADOW_OUT); break; case XmSHADOW_OUT: XbaeMatrixSetCellShadow(w, r, column, XmSHADOW_IN); break; case XmSHADOW_ETCHED_IN: XbaeMatrixSetCellShadow(w, r, column, XmSHADOW_ETCHED_OUT); break; case XmSHADOW_ETCHED_OUT: XbaeMatrixSetCellShadow(w, r, column, XmSHADOW_ETCHED_IN); break; } } for (c = 0; c < columns; c++) { XbaeMatrixSetCellBackground(w, row, c, sms->armColor); switch (cellShadowType) { case XmSHADOW_IN: XbaeMatrixSetCellShadow(w, row, c, XmSHADOW_OUT); break; case XmSHADOW_OUT: XbaeMatrixSetCellShadow(w, row, c, XmSHADOW_IN); break; case XmSHADOW_ETCHED_IN: XbaeMatrixSetCellShadow(w, row, c, XmSHADOW_ETCHED_OUT); break; case XmSHADOW_ETCHED_OUT: XbaeMatrixSetCellShadow(w, row, c, XmSHADOW_ETCHED_IN); break; } } } void cbSelect(Widget w, XtPointer client, XtPointer call) { int x, y; char buf[200]; Widget text = (Widget) client; XbaeMatrixSelectCellCallbackStruct *cbs = (XbaeMatrixSelectCellCallbackStruct*) call; SelectModeStruct *sms; unsigned char grid; XtVaGetValues(w, XmNuserData, &sms, XmNgridType, &grid, NULL); XbaeMatrixEventToXY(w, cbs->event, &x, &y); sprintf(buf, "Selected cell %d,%d : %d, %d : event %d, %d", cbs->row, cbs->column, x, y, cbs->event->xbutton.x, cbs->event->xbutton.y); if (cbs->row >= 0 && cbs->column >= 0 ) { switch (sms->value) { case SelectSelect: XbaeMatrixDeselectAll( w ); XbaeMatrixSelectColumn( w, cbs->column ); XbaeMatrixSelectRow( w, cbs->row ); break; case SelectHighlight: XbaeMatrixUnhighlightAll( w ); XbaeMatrixHighlightColumn( w, cbs->column ); XbaeMatrixHighlightRow( w, cbs->row ); break; case SelectArm: UnarmAll( w ); switch (grid) { case XmGRID_ROW_SHADOW: ArmRow( w, cbs->row, sms ); break; case XmGRID_COLUMN_SHADOW: ArmColumn( w, cbs->column, sms ); break; default: ArmCell( w, cbs->row, cbs->column, sms ); break; } break; } } XmTextSetString(text, buf); } void cbSelectMode(Widget w, XtPointer client, XtPointer call) { SelectModeStruct *sms; SetValueStruct *svs = (SetValueStruct *) client; XtVaGetValues(svs->mw, XmNuserData, &sms, NULL); if (svs->value != sms->value) { switch(sms->value) { case SelectSelect: XbaeMatrixDeselectAll( svs->mw ); break; case SelectHighlight: XbaeMatrixUnhighlightAll( svs->mw ); break; case SelectArm: UnarmAll(svs->mw); break; } sms->value = svs->value; } } void createSelectMode(Widget parent, Widget mw) { Widget frame, frame2, label, option, menu, but, sb; SetValueStruct *svs; frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, parent, NULL); frame2 = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, frame, XmNchildType, XmFRAME_TITLE_CHILD, XmNchildHorizontalAlignment, XmALIGNMENT_CENTER, XmNchildVerticalAlignment, XmALIGNMENT_CENTER, XmNmarginWidth, 4, NULL); label = XtVaCreateManagedWidget( "Select Mode (not a resource)", xmLabelWidgetClass, frame2, NULL); menu = XmCreatePulldownMenu(frame, "menu", NULL, 0); but = XmCreatePushButton(menu, "Select", NULL, 0); sb = but; XtManageChild(but); svs = XtNew(SetValueStruct); svs->mw = mw; svs->value = SelectSelect; XtAddCallback(but, XmNactivateCallback, cbSelectMode, (XtPointer) svs); but = XmCreatePushButton(menu, "Highlight", NULL, 0); XtManageChild(but); svs = XtNew(SetValueStruct); svs->mw = mw; svs->value = SelectHighlight; XtAddCallback(but, XmNactivateCallback, cbSelectMode, (XtPointer) svs); but = XmCreatePushButton(menu, "Arm", NULL, 0); XtManageChild(but); svs = XtNew(SetValueStruct); svs->mw = mw; svs->value = SelectArm; XtAddCallback(but, XmNactivateCallback, cbSelectMode, (XtPointer) svs); option = XtVaCreateManagedWidget( "option", xmRowColumnWidgetClass, frame, XmNisHomogeneous, True, XmNrowColumnType, XmMENU_OPTION, XmNsubMenuId, menu, XmNmenuHistory, sb, NULL); } /* ================================================================================================ * The following functions are for the sliders * The resources have to be of type Dimension or else the XtVaGetValues will do garbage */ void cbScale(Widget w, XtPointer client, XtPointer call) { XmScaleCallbackStruct *cbs = (XmScaleCallbackStruct *) call; SetValueStruct *svs = (SetValueStruct *) client; XtVaSetValues(svs->mw, svs->resource, cbs->value, NULL); } Widget createScaleBox(Widget mw, Widget parent, char *name, char *resource, int min, int max, Boolean is_int) { Widget frame, frame2, label, scale; SetValueStruct *svs; Dimension value; int value_int; frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, parent, NULL); frame2 = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, frame, XmNchildType, XmFRAME_TITLE_CHILD, XmNchildHorizontalAlignment, XmALIGNMENT_CENTER, XmNchildVerticalAlignment, XmALIGNMENT_CENTER, XmNmarginWidth, 4, NULL); label = XtVaCreateManagedWidget( name, xmLabelWidgetClass, frame2, NULL); if (is_int) { XtVaGetValues(mw, resource, &value_int, NULL); } else { XtVaGetValues(mw, resource, &value, NULL); value_int = value; } scale = XtVaCreateManagedWidget( "scale", xmScaleWidgetClass, frame, XmNchildType, XmFRAME_WORKAREA_CHILD, XmNorientation, XmHORIZONTAL, XmNshowValue, XmNEAR_SLIDER, XmNminimum, min, XmNmaximum, max, XmNscaleMultiple, 1, XmNvalue, value_int, NULL); #if VERBOSE if (is_int) { fprintf(stderr,"%s (int) %d\n", resource, value_int); } else { fprintf(stderr,"%s (dimension) %hd\n", resource, value); } #endif svs = XtNew(SetValueStruct); svs->mw = mw; svs->resource = XtNewString(resource); XtAddCallback(scale, XmNvalueChangedCallback, cbScale, (XtPointer) svs); return scale; } /* ================================================================================================ * The following functions are for the toggle buttons */ void cbToggle(Widget w, XtPointer client, XtPointer call) { XmToggleButtonCallbackStruct *cbs = (XmToggleButtonCallbackStruct *) call; SetValueStruct *svs = (SetValueStruct *) client; XtVaSetValues(svs->mw, svs->resource, cbs->set, NULL); } Widget createToggle(Widget mw, Widget parent, char *name, char *resource) { Widget frame, button; SetValueStruct *svs; Boolean set; frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, parent, NULL); XtVaGetValues(mw, resource, &set, NULL); button = XtVaCreateManagedWidget( name, xmToggleButtonWidgetClass, frame, XmNset, set, NULL); svs = XtNew(SetValueStruct); svs->mw = mw; svs->resource = XtNewString(resource); XtAddCallback(button, XmNvalueChangedCallback, cbToggle, (XtPointer) svs); return button; } /* ================================================================================================ * The following functions are for the radio buttons (unused) * The resources have to be of type unsigned char or else the XtVaGetValues will do garbage */ void cbRadio(Widget w, XtPointer client, XtPointer call) { XmToggleButtonCallbackStruct *cbs = (XmToggleButtonCallbackStruct *) call; SetValueStruct *svs = (SetValueStruct *) client; if (cbs->set) XtVaSetValues(svs->mw, svs->resource, svs->value, NULL); } Widget createButtonBox(Widget mw, Widget parent, char *name, String resource, struct name_int pairs[], int n_pairs) { Widget frame, frame2, label, rc; int p; unsigned char value; frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, parent, NULL); frame2 = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, frame, XmNchildType, XmFRAME_TITLE_CHILD, XmNchildHorizontalAlignment, XmALIGNMENT_CENTER, XmNchildVerticalAlignment, XmALIGNMENT_CENTER, XmNmarginWidth, 4, NULL); label = XtVaCreateManagedWidget( name, xmLabelWidgetClass, frame2, NULL); rc = XtVaCreateManagedWidget( "rc", xmRowColumnWidgetClass, frame, XmNchildType, XmFRAME_WORKAREA_CHILD, XmNadjustLast, False, XmNradioBehavior, True, XmNradioAlwaysOne, True, XmNnumColumns, 1, XmNorientation, XmVERTICAL, XmNpacking, XmPACK_TIGHT, NULL); XtVaGetValues(mw, resource, &value, NULL); #if VERBOSE fprintf(stderr, "%s (unsigned char) %d\n",resource, value); #endif for(p = 0; p < n_pairs; p++){ Widget button; SetValueStruct *svs; button = XtVaCreateManagedWidget( pairs[p].name, xmToggleButtonWidgetClass, rc, XmNset, pairs[p].value == value, NULL); svs = XtNew(SetValueStruct); svs->mw = mw; svs->resource = resource; svs->value = pairs[p].value; XtAddCallback(button, XmNvalueChangedCallback, cbRadio, (XtPointer) svs); } return rc; } /* ================================================================================================ * The following functions are for the comboBoxes * The resources have to be of type unsigned char or else the XtVaGetValues will do garbage */ void cbCombo(Widget w, XtPointer client, XtPointer call) { SetValueStruct *svs = (SetValueStruct *) client; XtVaSetValues(svs->mw, svs->resource, svs->value, NULL); } void createComboBox(Widget mw, Widget parent, char *name, String resource, struct name_int pairs[], int n_pairs) { Widget frame, frame2, label, option, menu, but, sb; SetValueStruct *svs; int p; unsigned char value; frame = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, parent, NULL); frame2 = XtVaCreateManagedWidget( "frame", xmFrameWidgetClass, frame, XmNchildType, XmFRAME_TITLE_CHILD, XmNchildHorizontalAlignment, XmALIGNMENT_CENTER, XmNchildVerticalAlignment, XmALIGNMENT_CENTER, XmNmarginWidth, 4, NULL); label = XtVaCreateManagedWidget( name, xmLabelWidgetClass, frame2, NULL); XtVaGetValues(mw, resource, &value, NULL); #if VERBOSE fprintf(stderr, "%s (unsigned char) %d\n",resource, value); #endif sb = NULL; menu = XmCreatePulldownMenu(frame, "menu", NULL, 0); for (p = 0; p < n_pairs; p++) { but = XmCreatePushButton(menu, pairs[p].name, NULL, 0); XtManageChild(but); svs = XtNew(SetValueStruct); svs->mw = mw; svs->resource = XtNewString(resource); svs->value = pairs[p].value; XtAddCallback(but, XmNactivateCallback, cbCombo, (XtPointer) svs); if(pairs[p].value == value) { sb = but; } } option = XtVaCreateManagedWidget( "option", xmRowColumnWidgetClass, frame, XmNisHomogeneous, True, XmNrowColumnType, XmMENU_OPTION, XmNsubMenuId, menu, XmNmenuHistory, sb, NULL); } void createGridType(Widget parent, Widget mw) { String resource = XtNewString(XmNgridType); struct name_int resource_values[] = { {"XmGRID_CELL_LINE", XmGRID_CELL_LINE}, {"XmGRID_ROW_LINE", XmGRID_ROW_LINE}, {"XmGRID_COLUMN_LINE" , XmGRID_COLUMN_LINE}, {"XmGRID_CELL_SHADOW" , XmGRID_CELL_SHADOW}, {"XmGRID_ROW_SHADOW" , XmGRID_ROW_SHADOW}, {"XmGRID_COLUMN_SHADOW" , XmGRID_COLUMN_SHADOW}, {"XmGRID_NONE" , XmGRID_NONE} }; createComboBox(mw, parent, "Grid Type", resource, resource_values, sizeof resource_values/sizeof *resource_values); } void createCellShadowType(Widget parent, Widget mw) { String resource = XtNewString(XmNcellShadowType); struct name_int resource_values[] = { {"XmSHADOW_IN", XmSHADOW_IN}, {"XmSHADOW_OUT", XmSHADOW_OUT}, {"XmSHADOW_ETCHED_IN", XmSHADOW_ETCHED_IN}, {"XmSHADOW_ETCHED_OUT", XmSHADOW_ETCHED_OUT} }; createComboBox(mw, parent, "Cell Shadow Type", resource, resource_values, sizeof resource_values/sizeof *resource_values); } void createShadowType(Widget parent, Widget mw) { String resource = XtNewString(XmNshadowType); struct name_int resource_values[] = { {"XmSHADOW_IN", XmSHADOW_IN}, {"XmSHADOW_OUT", XmSHADOW_OUT}, {"XmSHADOW_ETCHED_IN", XmSHADOW_ETCHED_IN}, {"XmSHADOW_ETCHED_OUT", XmSHADOW_ETCHED_OUT} }; createComboBox(mw, parent, "Shadow Type", resource, resource_values, sizeof resource_values/sizeof *resource_values); } void createPlacement(Widget parent, Widget mw) { String resource = XtNewString(XmNscrollBarPlacement); struct name_int resource_values[] = { {"XmTOP_LEFT", XmTOP_LEFT}, {"XmTOP_RIGHT", XmTOP_RIGHT}, {"XmBOTTOM_LEFT", XmBOTTOM_LEFT}, {"XmBOTTOM_RIGHT", XmBOTTOM_RIGHT} }; createComboBox(mw, parent, "Scrollbar Placement", resource, resource_values, sizeof resource_values/sizeof *resource_values); } void createVerticalDisplay(Widget parent, Widget mw) { String resource = XtNewString(XmNverticalScrollBarDisplayPolicy); struct name_int resource_values[] = { {"XmDISPLAY_NONE", XmDISPLAY_NONE}, {"XmDISPLAY_AS_NEEDED", XmDISPLAY_AS_NEEDED}, {"XmDISPLAY_STATIC", XmDISPLAY_STATIC} }; createComboBox(mw, parent, "Vertical Display Policy", resource, resource_values, sizeof resource_values/sizeof *resource_values); } void createHorizontalDisplay(Widget parent, Widget mw) { String resource = XtNewString(XmNhorizontalScrollBarDisplayPolicy); struct name_int resource_values[] = { {"XmDISPLAY_NONE", XmDISPLAY_NONE}, {"XmDISPLAY_AS_NEEDED", XmDISPLAY_AS_NEEDED}, {"XmDISPLAY_STATIC", XmDISPLAY_STATIC} }; createComboBox(mw, parent, "Horizontal Display Policy", resource, resource_values, sizeof resource_values/sizeof *resource_values); } void createRowLabelAlignement(Widget parent, Widget mw) { String resource = XtNewString(XmNrowLabelAlignment); struct name_int resource_values[] = { {"XmALIGNMENT_BEGINNING", XmALIGNMENT_BEGINNING}, {"XmALIGNMENT_CENTER", XmALIGNMENT_CENTER}, {"XmALIGNMENT_END", XmALIGNMENT_END} }; createComboBox(mw, parent, "Row Label Alignment", resource, resource_values, sizeof resource_values/sizeof *resource_values); } void createWrapType(Widget parent, Widget mw) { String resource = XtNewString(XmNwrapType); struct name_int resource_values[] = { {"XbaeWrapNone", XbaeWrapNone}, {"XbaeWrapContinuous", XbaeWrapContinuous}, {"XbaeWrapWord", XbaeWrapWord} }; createComboBox(mw, parent, "Wrap Type", resource, resource_values, sizeof resource_values/sizeof *resource_values); } /* ================================================================================================ * The following functions are for sorting */ int compare_rows(Widget w, int r1, int r2, void *data) { int column; int n_columns = XbaeMatrixNumColumns(w); int result = 0; int *column_order = data; for(column = 0; result == 0 && column < n_columns; column++) { String s1 = XbaeMatrixGetCell(w, r1, column_order[column]); String s2 = XbaeMatrixGetCell(w, r2, column_order[column]); result = strcmp(s1, s2); } return result; } int compare_columns(Widget w, int c1, int c2, void *data) { int row; int n_rows = XbaeMatrixNumRows(w); int result = 0; int *row_order = data; for(row = 0; result == 0 && row < n_rows; row++) { String s1 = XbaeMatrixGetCell(w, row_order[row], c1); String s2 = XbaeMatrixGetCell(w, row_order[row], c2); result = strcmp(s1, s2); } return result; } void sortCB(Widget w, XtPointer client, XtPointer call) { XbaeMatrixLabelActivateCallbackStruct *cbs = (XbaeMatrixLabelActivateCallbackStruct*) call; if (cbs->row == -1) { /* Sort rows */ int column; int n_columns = XbaeMatrixNumColumns(w); int *column_order = (int *) client; /* Find the position of the column in the sorting order */ for(column = 0; column < n_columns; column++) { if (column_order[column] == cbs->column) { break; } } if (column != 0) { /* Make the clicked column the primary sort key */ memmove(&column_order[1], &column_order[0], column * sizeof *column_order); column_order[0] = cbs->column; XbaeMatrixSortRows(w, compare_rows, column_order); } } else { /* Sort columns */ int row; int n_rows = XbaeMatrixNumRows(w); int *row_order = (int *) client; /* Find the position of the row in the sorting order */ for(row = 0; row < n_rows; row++) { if (row_order[row] == cbs->row) { break; } } if (row != 0) { /* Make the clicked row the primary sort key */ memmove(&row_order[1], &row_order[0], row * sizeof *row_order); row_order[0] = cbs->row; XbaeMatrixSortColumns(w, compare_columns, row_order); } } } void cbDefault(Widget w, XtPointer client, XtPointer call) { Widget text = (Widget) client; XbaeMatrixDefaultActionCallbackStruct *cbs = (XbaeMatrixDefaultActionCallbackStruct*) call; char buf[200]; sprintf(buf, "Double click in cell %d,%d", cbs->row, cbs->column); XmTextSetString(text, buf); } int main(int argc, char *argv[]) { SelectModeStruct *sms; Widget toplevel, form, mw, text; Widget combos, sliders, toggles; XtAppContext app; toplevel = XtVaAppInitialize(&app, "Choice", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif form = XtVaCreateWidget("form", xmFormWidgetClass, toplevel, NULL); text = XtVaCreateManagedWidget( "text", xmTextFieldWidgetClass, form, XmNeditable, False, XmNcursorPositionVisible, False, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, NULL); sms = XtNew(SelectModeStruct); sms->value = SelectSelect; { Widget button = XtVaCreateWidget("temp", xmToggleButtonWidgetClass, form, NULL); XtVaGetValues(button, XmNselectColor, &(sms->armColor), XmNforeground, &(sms->foreColor), XmNbackground, &(sms->backColor), NULL); XtDestroyWidget(button); } mw = XtVaCreateManagedWidget( "mw", xbaeMatrixWidgetClass, form, XmNuserData, (XtPointer) sms, XmNtopOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNbottomWidget, text, XmNbottomAttachment, XmATTACH_WIDGET, XmNbottomOffset, 4, XmNrightAttachment, XmATTACH_OPPOSITE_FORM, XmNrightOffset, 4, NULL); #if 1 #if 0 { short widths[] = {0, 140, 140, 0, 70, 70, 70, 70, 70, 70, 70}; short heights[] = {0, 10, 10, 0, 10, 10, 10, 10, 10, 10, 10}; XtVaSetValues(mw, XmNcolumnWidthInPixels, True, XmNrowHeightInPixels, True, XmNcolumnWidths, widths, XmNrowHeights, heights, NULL); } #else { short widths[] = {0, 14, 14, 0, 7, 7, 7, 7, 7, 7, 7}; short heights[] = {0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1}; XtVaSetValues(mw, XmNcolumnWidthInPixels, False, XmNrowHeightInPixels, False, XmNcolumnWidths, widths, XmNrowHeights, heights, NULL); } #endif #endif XtAddCallback(mw, XmNselectCellCallback, cbSelect, (XtPointer) text); XtAddCallback(mw, XmNdefaultActionCallback, cbDefault, (XtPointer) text); combos = XtVaCreateManagedWidget( "rc", xmRowColumnWidgetClass, form, XmNtopAttachment, XmATTACH_FORM, XmNleftAttachment, XmATTACH_FORM, XmNadjustLast, True, XmNorientation, XmVERTICAL, XmNnumColumns, 3, XmNpacking, XmPACK_COLUMN, NULL); createGridType(combos, mw); createCellShadowType(combos, mw); createShadowType(combos, mw); createPlacement(combos, mw); createVerticalDisplay(combos, mw); createHorizontalDisplay(combos, mw); createRowLabelAlignement(combos, mw); createWrapType(combos, mw); createSelectMode(combos, mw); sliders = XtVaCreateManagedWidget( "rc", xmRowColumnWidgetClass, form, XmNtopWidget, combos, XmNtopAttachment, XmATTACH_WIDGET, XmNleftAttachment, XmATTACH_FORM, XmNadjustLast, False, XmNorientation, XmVERTICAL, XmNnumColumns, 2, XmNpacking, XmPACK_COLUMN, NULL); createScaleBox(mw, sliders, "Space", XmNspace, 0, 10, False); createScaleBox(mw, sliders, "Text Shadow Thickness", XmNtextShadowThickness, 0, 5, False); createScaleBox(mw, sliders, "Cell Shadow Thickness", XmNcellShadowThickness, 0, 10, False); createScaleBox(mw, sliders, "Cell Margin Width", XmNcellMarginWidth, 0, 10, False); createScaleBox(mw, sliders, "Fixed Rows", XmNfixedRows, 0, 5, False); createScaleBox(mw, sliders, "Trailing Fixed Rows", XmNtrailingFixedRows, 0, 5, False); createScaleBox(mw, sliders, "Atl Row Count", XmNaltRowCount, 0, 5, True); createScaleBox(mw, sliders, "Shadow Thickness", XmNshadowThickness,0, 10, False); createScaleBox(mw, sliders, "Cell Highlight Thickness", XmNcellHighlightThickness, 0, 4, False); createScaleBox(mw, sliders, "Cell Margin Height", XmNcellMarginHeight, 0, 10, False); createScaleBox(mw, sliders, "Fixed Columns", XmNfixedColumns, 0, 5, False); createScaleBox(mw, sliders, "Trailing Fixed Columns", XmNtrailingFixedColumns, 0, 5, False); toggles = XtVaCreateManagedWidget( "rc", xmRowColumnWidgetClass, form, XmNtopWidget, combos, XmNtopAttachment, XmATTACH_WIDGET, XmNleftWidget, sliders, XmNleftAttachment, XmATTACH_WIDGET, XmNadjustLast, False, XmNorientation, XmVERTICAL, XmNnumColumns, 2, XmNpacking, XmPACK_COLUMN, NULL); createToggle(mw, toggles, "Fill", XmNfill); createToggle(mw, toggles, "Horzizontal Fill", XmNhorzFill); createToggle(mw, toggles, "Trailing Attached Right", XmNtrailingAttachedRight); createToggle(mw, toggles, "NonFixed Detached Left", XmNnonFixedDetachedLeft); createToggle(mw, toggles, "Allow Column Resize", XmNallowColumnResize); createToggle(mw, toggles, "Column Width in pixels", XmNcolumnWidthInPixels); createToggle(mw, toggles, "Reverse Select", XmNreverseSelect); createToggle(mw, toggles, "Text background is cell", XmNtextBackgroundIsCell); createToggle(mw, toggles, "Traverse Fixed Cells", XmNtraverseFixedCells); createToggle(mw, toggles, "Button Labels", XmNbuttonLabels); createToggle(mw, toggles, "Vertical Fill", XmNvertFill); createToggle(mw, toggles, "Trailing Attached Bottom", XmNtrailingAttachedBottom); createToggle(mw, toggles, "NonFixed Detached Top", XmNnonFixedDetachedTop); createToggle(mw, toggles, "Allow Row Resize", XmNallowRowResize); createToggle(mw, toggles, "Row Height in pixels", XmNrowHeightInPixels); createToggle(mw, toggles, "Show arrows", XmNshowArrows); createToggle(mw, toggles, "Multi Line Cell", XmNmultiLineCell); LoadMatrix(mw); { int row, column; int n_rows = XbaeMatrixNumRows(mw); int n_columns = XbaeMatrixNumColumns(mw); int *row_order = (int *) XtMalloc(n_rows * sizeof *row_order); int *column_order = (int *) XtMalloc(n_columns * sizeof *column_order); for(row = 0; row < n_rows; row++) { row_order[row] = row; } for(column = 0; column < n_columns; column++) { column_order[column] = column; } XtAddCallback(mw, XmNlabelActivateCallback, sortCB, (XtPointer) row_order); XtAddCallback(mw, XmNlabelActivateCallback, sortCB, (XtPointer) column_order); } XtVaSetValues(mw, XmNtopWidget, sliders, XmNtopAttachment, XmATTACH_WIDGET, XmNrightAttachment, XmATTACH_FORM, NULL); XtManageChild(form); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/choice/Makefile.in0000664000076400007640000003162610436577340014615 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = choice$(EXEEXT) subdir = examples/choice DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) choice_SOURCES = choice.c choice_OBJECTS = choice.$(OBJEXT) choice_LDADD = $(LDADD) am__DEPENDENCIES_1 = choice_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = choice.c DIST_SOURCES = choice.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/choice/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/choice/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done choice$(EXEEXT): $(choice_OBJECTS) $(choice_DEPENDENCIES) @rm -f choice$(EXEEXT) $(LINK) $(choice_LDFLAGS) $(choice_OBJECTS) $(choice_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/choice/Makefile.am0000664000076400007640000000061507530466165014601 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/choice/Makefile.am,v 1.17 2002/08/20 16:21:09 dannybackx Exp $ # noinst_PROGRAMS= choice EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/matrix/0000777000076400007640000000000010436577410012672 500000000000000xbae-4.60.4/examples/matrix/Imakefile0000664000076400007640000000034406761453114014422 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:40 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(matrix) xbae-4.60.4/examples/matrix/matrix.c0000644000076400007640000001206610432122320014241 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * * Copyright 2001 by the LessTif Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: matrix.c,v 1.8 2006/05/15 15:57:04 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include static String fallback[] = { "Matrix*mw.rowLabels: 1, 2, 3, 4, 5, 6", "Matrix*mw.columns: 5", "Matrix*mw.rows: 6", "Matrix*mw.columnWidths: 8, 3, 10, 10, 10", "Matrix*mw.allowColumnResize: True", "Matrix*mw.cells: Orange, 12, Rough, Inches, Large\\n" " Blue, 323, Smooth, Feet, Medium\\n" " Yellow, 456, Bristly, Meters, Large\\n" " Green, 1, Knobby, Miles, Small\\n" " Pink, 33, Hairy, Quarts, Small\\n" " Black, 7, Silky, Gallons, Small", "Matrix*mw.cellBackgrounds: white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite", "Matrix*mw.colors: blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black", "Matrix*mw.columnLabels: Color, #, Texture, Measure, Size", "Matrix*mw.columnLabelAlignments:alignment_beginning, alignment_center," " alignment_beginning, alignment_beginning," " alignment_beginning", "Matrix*mw.columnAlignments: alignment_beginning, alignment_end," " alignment_beginning, alignment_beginning," " alignment_beginning", "Matrix*labelFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*", "Matrix*fontList: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*", "Matrix*cellHighlightThickness: 2", "Matrix*cellShadowThickness: 2", "Matrix*cellMarginWidth: 0", "Matrix*cellMarginHeight: 3", "Matrix*gridType: grid_cell_shadow", "Matrix*cellShadowType: shadow_in", "Matrix*rowLabelColor: Red", "Matrix*columnLabelColor: Blue", "Matrix*mw.buttonLabels: True", "Matrix*mw.allowColumnResize: True", NULL }; void labelCB(Widget mw, XtPointer cd, XtPointer cb) { XbaeMatrixLabelActivateCallbackStruct *cbs = ( XbaeMatrixLabelActivateCallbackStruct * )cb; if( cbs->row_label ) if( XbaeMatrixIsRowSelected( mw, cbs->row ) ) XbaeMatrixDeselectRow( mw, cbs->row ); else XbaeMatrixSelectRow( mw, cbs->row ); else if( XbaeMatrixIsColumnSelected( mw, cbs->column ) ) XbaeMatrixDeselectColumn( mw, cbs->column ); else XbaeMatrixSelectColumn( mw, cbs->column ); } /* * Simple example of loaded Matrix */ int main(int argc, char *argv[]) { Widget toplevel, mw; XtAppContext app; toplevel = XtVaAppInitialize(&app, "Matrix", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif XFontStruct *plain_font = XLoadQueryFont( XtDisplay(toplevel), "-*-helvetica-medium-o-*-*-10-*-*-*-*-*-*-*"); #if 1 XmFontListEntry font_list_entry = XmFontListEntryCreate( XmFONTLIST_DEFAULT_TAG, XmFONT_IS_FONT, plain_font); XmFontList plain_font_list = XmFontListAppendEntry( NULL, font_list_entry); #else XmFontList plain_font_list = XmFontListCreate( plain_font, XmSTRING_DEFAULT_CHARSET); #endif printf("plain font: %d plain font list %d\n",plain_font == NULL, plain_font_list == NULL); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, XmNlabelFont, plain_font_list, XmNfontList, plain_font_list, NULL); XmFontListEntryFree(&font_list_entry); XmFontListFree(plain_font_list); XtAddCallback(mw, XmNlabelActivateCallback, labelCB, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/matrix/underline.c0000664000076400007640000001107707661437024014751 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * * Copyright 2001, 2003 by the LessTif Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: underline.c,v 1.1 2003/05/17 13:50:12 dannybackx Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include static String fallback[] = { "Matrix*mw.rowLabels: 1, 2, 3, 4, 5, 6", "Matrix*mw.columns: 5", "Matrix*mw.rows: 6", "Matrix*mw.columnWidths: 8, 3, 10, 10, 10", "Matrix*mw.allowColumnResize: True", "Matrix*mw.cells: Orange, 12, Rough, Inches, Large\\n" " Blue, 323, Smooth, Feet, Medium\\n" " Yellow, 456, Bristly, Meters, Large\\n" " Green, 1, Knobby, Miles, Small\\n" " Pink, 33, Hairy, Quarts, Small\\n" " Black, 7, Silky, Gallons, Small", "Matrix*mw.cellBackgrounds: white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite", "Matrix*mw.colors: blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black", "Matrix*mw.columnLabels: Color, #, Texture, Measure, Size", "Matrix*mw.columnLabelAlignments:alignment_beginning, alignment_center," " alignment_beginning, alignment_beginning," " alignment_beginning", "Matrix*mw.columnAlignments: alignment_beginning, alignment_end," " alignment_beginning, alignment_beginning," " alignment_beginning", "Matrix*labelFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*", "Matrix*fontList: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*", "Matrix*cellHighlightThickness: 2", "Matrix*cellShadowThickness: 2", "Matrix*cellMarginWidth: 0", "Matrix*cellMarginHeight: 3", "Matrix*gridType: grid_cell_shadow", "Matrix*cellShadowType: shadow_in", "Matrix*rowLabelColor: Red", "Matrix*columnLabelColor: Blue", "Matrix*mw.buttonLabels: True", "Matrix*mw.allowColumnResize: True", NULL }; void labelCB(Widget mw, XtPointer cd, XtPointer cb) { XbaeMatrixLabelActivateCallbackStruct *cbs = ( XbaeMatrixLabelActivateCallbackStruct * )cb; if( cbs->row_label ) if( XbaeMatrixIsRowSelected( mw, cbs->row ) ) XbaeMatrixDeselectRow( mw, cbs->row ); else XbaeMatrixSelectRow( mw, cbs->row ); else if( XbaeMatrixIsColumnSelected( mw, cbs->column ) ) XbaeMatrixDeselectColumn( mw, cbs->column ); else XbaeMatrixSelectColumn( mw, cbs->column ); } /* * Simple example of loaded Matrix */ int main(int argc, char *argv[]) { Widget toplevel, mw; XtAppContext app; toplevel = XtVaAppInitialize(&app, "Matrix", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, NULL); XtAddCallback( mw, XmNlabelActivateCallback, ( XtCallbackProc )labelCB, NULL ); XbaeMatrixUnderlineCell(mw, 2, 2); XbaeMatrixUnderlineRow(mw, 1); XbaeMatrixUnderlineColumn(mw, 4); XbaeMatrixDeunderlineColumn(mw, 1); XbaeMatrixDeunderlineCell(mw, 1, 4); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/matrix/Makefile.in0000664000076400007640000003254010436577342014665 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = matrix$(EXEEXT) underline$(EXEEXT) subdir = examples/matrix DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) matrix_SOURCES = matrix.c matrix_OBJECTS = matrix.$(OBJEXT) matrix_LDADD = $(LDADD) am__DEPENDENCIES_1 = matrix_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) underline_SOURCES = underline.c underline_OBJECTS = underline.$(OBJEXT) underline_LDADD = $(LDADD) underline_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = matrix.c underline.c DIST_SOURCES = matrix.c underline.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/matrix/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/matrix/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done matrix$(EXEEXT): $(matrix_OBJECTS) $(matrix_DEPENDENCIES) @rm -f matrix$(EXEEXT) $(LINK) $(matrix_LDFLAGS) $(matrix_OBJECTS) $(matrix_LDADD) $(LIBS) underline$(EXEEXT): $(underline_OBJECTS) $(underline_DEPENDENCIES) @rm -f underline$(EXEEXT) $(LINK) $(underline_LDFLAGS) $(underline_OBJECTS) $(underline_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/matrix/Makefile.am0000664000076400007640000000063207661437024014647 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/matrix/Makefile.am,v 1.18 2003/05/17 13:50:12 dannybackx Exp $ # noinst_PROGRAMS= matrix underline EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/tests/0000777000076400007640000000000010436577410012530 500000000000000xbae-4.60.4/examples/tests/chooser1.c0000664000076400007640000001336310245002332014323 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * * Copyright 2001 by the LessTif Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: chooser1.c,v 1.5 2005/05/25 04:53:46 tobiasoed Exp $ */ #include #include #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include #include static String fallback[] = { "Matrix*mw.rowLabels: 1, 2, 3, 4, 5, 6", "Matrix*mw.columns: 5", "Matrix*mw.rows: 6", "Matrix*mw.columnWidths: 8, 3, 10, 20, 10", "Matrix*mw.allowColumnResize: True", "Matrix*mw.cells: Orange, 12, Rough, Inches, Large\\n" " Blue, 323, Smooth, Feet, Medium\\n" " Yellow, 456, Bristly, Meters, Large\\n" " Green, 1, Knobby, Miles, Small\\n" " Pink, 33, Hairy, Quarts, Small\\n" " Black, 7, Silky, Gallons, Small", "Matrix*mw.cellBackgrounds: white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite", "Matrix*mw.colors: blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black", "Matrix*mw.columnLabels: Color, #, Texture, Measure, Size", "Matrix*mw.columnLabelAlignments:alignment_beginning, alignment_center," " alignment_beginning, alignment_beginning," " alignment_beginning", "Matrix*mw.columnAlignments: alignment_beginning, alignment_end," " alignment_beginning, alignment_beginning," " alignment_beginning", "Matrix*labelFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*", "Matrix*fontList: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*", "Matrix*cellHighlightThickness: 2", "Matrix*cellShadowThickness: 2", "Matrix*cellMarginWidth: 0", "Matrix*cellMarginHeight: 3", "Matrix*gridType: grid_cell_shadow", "Matrix*cellShadowType: shadow_in", "Matrix*rowLabelColor: Red", "Matrix*columnLabelColor: Blue", "Matrix*mw.buttonLabels: True", "Matrix*mw.allowColumnResize: True", NULL }; void labelCB(Widget mw, XtPointer cd, XtPointer cb) { XbaeMatrixLabelActivateCallbackStruct *cbs = ( XbaeMatrixLabelActivateCallbackStruct * )cb; if( cbs->row_label ) if( XbaeMatrixIsRowSelected( mw, cbs->row ) ) XbaeMatrixDeselectRow( mw, cbs->row ); else XbaeMatrixSelectRow( mw, cbs->row ); else if( XbaeMatrixIsColumnSelected( mw, cbs->column ) ) XbaeMatrixDeselectColumn( mw, cbs->column ); else XbaeMatrixSelectColumn( mw, cbs->column ); } void CreateChooser(Widget mat, int row, int col, int n) { int i; Widget option, menu, but; option = XmCreateOptionMenu(mat, "menu", NULL, 0); XtManageChild(option); menu = XmCreatePulldownMenu(mat, "menu", NULL, 0); XtVaSetValues(option, XmNsubMenuId, menu, NULL); for (i=0; irow, cbp->column); } static void leave(Widget w, XtPointer client, XtPointer call) { XbaeMatrixLeaveCellCallbackStruct *cbp = (XbaeMatrixLeaveCellCallbackStruct *)call; fprintf(stderr, "Leave %d %d\n", cbp->row, cbp->column); } /* * Simple example of loaded Matrix */ int main(int argc, char *argv[]) { Widget toplevel, mw, arrow, arrowg; XtAppContext app; toplevel = XtVaAppInitialize(&app, "Matrix", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, NULL); XtAddCallback( mw, XmNlabelActivateCallback, ( XtCallbackProc )labelCB, NULL ); XtAddCallback(mw, XmNleaveCellCallback, leave, NULL); XtAddCallback(mw, XmNenterCellCallback, enter, NULL); CreateChooser(mw, 2, 3, 5); arrow = XtVaCreateManagedWidget("arrow", xmArrowButtonWidgetClass, mw, XmNarrowDirection, XmARROW_UP, NULL); XbaeMatrixSetCellWidget(mw, 3, 4, arrow); arrowg = XtVaCreateManagedWidget("arrow", xmArrowButtonGadgetClass, mw, XmNarrowDirection, XmARROW_LEFT, NULL); XbaeMatrixSetCellWidget(mw, 4, 4, arrowg); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/tests/0rowcols.c0000664000076400007640000000606210227555030014356 00000000000000 #include #include #include #include #include /* for version info */ #include void doit(XtPointer data) { Widget w = (Widget) data; static int n = 0; static Boolean do_cols = True; static Boolean row_insert = True; static Boolean col_insert = True; int n_rows = XbaeMatrixNumRows(w); int n_cols = XbaeMatrixNumColumns(w); int i; printf("n_rows = %d, n_cols = %d ", n_rows, n_cols); if (do_cols) { if (col_insert) { printf("adding a column\n"); XbaeMatrixAddColumns(w, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1); if (n_rows) { for( i = 0; i < n_rows; i++) { XbaeMatrixSetCell(w, i, 0, "c"); } } } else { printf("deleting a column\n"); XbaeMatrixDeleteColumns(w, 0, 1); } } else { if (row_insert) { printf("adding a row\n"); XbaeMatrixAddVarRows(w, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1); if (n_cols) { for( i = 0; i < n_cols; i++) { XbaeMatrixSetCell(w, 0, i, "r"); } } } else { printf("deleting a row\n"); XbaeMatrixDeleteRows(w, 0, 1); } } n++; if (n == 3) { if (do_cols) { col_insert = !col_insert; } else { row_insert = !row_insert; } if (!row_insert || !col_insert) { do_cols = !do_cols; } n = 0; } XtAppAddTimeOut( XtWidgetToApplicationContext(w), 500, (XtTimerCallbackProc)doit, (XtPointer)w); } int main (int argc, char **argv) { Widget toplevel, form, mw; /* Print run-time version of libXbae to stdout */ printf("Using Xbae %s\n", XbaeGetVersionTxt()); printf("This example was built with %s\n", XbaeVersionTxt); /* Print compile-time version of libXm to stdout */ printf("Xbae was built with %s\n", XbaeGetXmVersionTxt()); printf("and is running with %s\n", XmVERSION_STRING); toplevel = XtInitialize (argv[0], "Test", NULL, 0, &argc, argv); form = XtVaCreateManagedWidget("form", xmFormWidgetClass, toplevel, XmNwidth, 500, XmNheight, 400, NULL); mw = XtVaCreateManagedWidget ("test_xbae", xbaeMatrixWidgetClass, form, XmNtopAttachment, XmATTACH_FORM, XmNleftAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNtopOffset, 10, XmNbottomOffset, 10, XmNleftOffset, 10, XmNrightOffset, 10, XmNrightAttachment, XmATTACH_FORM, XmNcolumns, 0, XmNrows, 0, NULL); XtRealizeWidget (toplevel); doit(mw); XtMainLoop (); return (EXIT_SUCCESS); } xbae-4.60.4/examples/tests/res_leak.c0000664000076400007640000000356407745031753014413 00000000000000/* $Header: /cvsroot/xbae/Xbae/examples/tests/res_leak.c,v 1.2 2003/10/20 19:13:47 dannybackx Exp $ From: Yasushi Yamasaki To: lesstif@hungry.com Subject: bug report Date: Sun, 30 Aug 1998 23:55:47 +0900 Cc: yamapu@osk3.3web.ne.jp */ #include #include #include #include #include static String fallback[] = { "XbaeTest.height: 250", "XbaeTest.width: 250", "XbaeTest*mw.value: XBAE MATRIX MEMORY FEVER!!!", "XbaeTest*mw.columns: 4", "XbaeTest*mw.rows: 4", "XbaeTest*mw.cells: 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4", NULL }; int main(int argc, char *argv[]) { XtAppContext app; Widget shell, w; void *before; void *after; int iter = 0; int diff = 0; int total = 0; shell = XtAppInitialize(&app, "XbaeTest", NULL, 0, &argc, argv, #if 0 NULL, #else fallback, #endif NULL, 0); while (iter < 201) { before = sbrk((ptrdiff_t) 0); w = XtCreateWidget("mw", xbaeMatrixWidgetClass, shell, NULL, 0); XtDestroyWidget(w); after = sbrk((ptrdiff_t) 0); if ((int)((char *)after - (char *)before) > 0) { if (iter != 0) { /* printf("%i %i %p %i\n", iter, iter - diff, after - before, (after - before) / (iter - diff)); */ total += (int)((char *)after - (char*)before); } diff = iter; } iter++; if(!(iter%100)) printf("loop %d, leaking %i bytes per Create/Destroy\n", iter, total / iter); } printf("leaking %i bytes per Create/Destroy\n", total / iter); exit((int)(total / iter)); } xbae-4.60.4/examples/tests/0rows.c0000664000076400007640000000232210222041465013650 00000000000000/* $Header: /cvsroot/xbae/Xbae/examples/tests/0rows.c,v 1.2 2005/03/28 17:47:33 tobiasoed Exp $ * if a table is initialized, filled with some rows, cleared to 0 rows (is empty) * and then realized and mapped, a sigsev error occures, * */ #include #include #include #include #include #include static String fallback[] = { "XbaeTest.height: 250", "XbaeTest.width: 250", NULL }; String rows[] = { "1" , "a" , "3" , "b" , NULL}; int main(int argc, char *argv[]) { XtAppContext app; Widget shell, w; shell = XtAppInitialize(&app, "XbaeTest", NULL, 0, &argc, argv, fallback, NULL, 0); w = XtCreateWidget("mw", xbaeMatrixWidgetClass, shell, NULL, 0); XtVaSetValues(w, XmNrows, 0, XmNcolumns, 0, XmNcolumnLabels, 0, XmNxmColumnLabels, 0, XmNcolumnMaxLengths, 0, XmNcolumnAlignments, 0, XmNcolumnFontBold, 0, XmNcolumnButtonLabels, 0, XmNcolumnLabelAlignments, 0, XmNshowColumnArrows, 0, XmNcolumnWidths, 0, NULL); XbaeMatrixAddRows(w, 0, rows, NULL, NULL, 2); XbaeMatrixDeleteRows(w, 0, 2); XtManageChild(w); XtRealizeWidget(shell); XtAppMainLoop(app); exit(0); } xbae-4.60.4/examples/tests/manycellwidgets.c0000664000076400007640000001307310352555604016007 00000000000000/* * $Id: manycellwidgets.c,v 1.5 2005/12/22 16:59:48 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #ifdef USE_EDITRES #include #include #endif static String fallback[] = { "Matrix*mw.rowLabels: 1, 2, 3, 4, 5, 6", "Matrix*mw.allowColumnResize: True", "Matrix*mw.columnWidths: 40, 30, 50, 20", "Matrix*cellShadowThickness: 2", "Matrix*cellMarginWidth: 0", "Matrix*cellMarginHeight: 3", "Matrix*gridType: XmGRID_CELL_SHADOW", "Matrix*cellShadowType: shadow_in", "Matrix*rowLabelColor: Red", "Matrix*columnLabelColor: Blue", "Matrix*mw.buttonLabels: True", "Matrix*mw.allowColumnResize: True", "Matrix*img0*labelPixmap: woman", "Matrix*img0*labelType: XmPIXMAP", "Matrix*img1*labelPixmap: plaid", "Matrix*img1*labelType: XmPIXMAP", "Matrix*img2*labelPixmap: keyboard16", "Matrix*img2*labelType: XmPIXMAP", "Matrix*img3*labelPixmap: mailempty", "Matrix*img3*labelType: XmPIXMAP", "Matrix*img4*labelPixmap: xlogo32", "Matrix*img4*labelType: XmPIXMAP", "Matrix*lab3*background: red", NULL }; void CreateRow(Widget mat, int row) { Widget toggle, l1, l2; char n[20]; static char toggle_trans[] = " : DefaultAction() Arm()\n" " : DefaultAction() Select() Disarm()\n" "Ctrl osfUp : EditCell(Up)\n" "Ctrl osfDown : EditCell(Down)\n" "Ctrl osfLeft : EditCell(Left)\n" "Ctrl osfRight : EditCell(Right)\n" "osfPageDown : PageDown()\n" "osfPageUp : PageUp()\n"; XtTranslations toggle_translations = XtParseTranslationTable(toggle_trans); static char label_trans[] = " : DefaultAction()\n" " : DefaultAction()\n"; XtTranslations label_translations = XtParseTranslationTable(label_trans); static char text_trans[] = " : DefaultAction() grab-focus()\n" " : DefaultAction()\n" "Ctrl osfUp : EditCell(Up)\n" "Ctrl osfDown : EditCell(Down)\n" "Ctrl osfLeft : EditCell(Left)\n" "Ctrl osfRight : EditCell(Right)\n" "osfPageDown : PageDown()\n" "osfPageUp : PageUp()\n"; XtTranslations text_translations = XtParseTranslationTable(text_trans); if (row == 1) { String rows[][3] = { {"hello", "world!", "what's"}, {"going", "on", "here?"} }; String *cells[] = {rows[0], rows[1]}; Widget submatrix = XtVaCreateManagedWidget("submatrix", xbaeMatrixWidgetClass, mat, XmNrows, 2, XmNcolumns, 3, XmNcells, cells, NULL); XbaeMatrixSetCellWidget(mat, row, 0, submatrix); } else { sprintf(n, "toggle%d", row); toggle = XmCreateToggleButton(mat, n, NULL, 0); XtManageChild(toggle); XtOverrideTranslations(toggle, toggle_translations); XbaeMatrixSetCellWidget(mat, row, 0, toggle); } sprintf(n, "img%d", row); l1 = XmCreateLabel(mat, n, NULL, 0); XtManageChild(l1); XtOverrideTranslations(l1, label_translations); XbaeMatrixSetCellWidget(mat, row, 2, l1); sprintf(n, "lab%d", row); l2 = XmCreateText(mat, n, NULL, 0); XtManageChild(l2); XtOverrideTranslations(l2, text_translations); XbaeMatrixSetCellWidget(mat, row, 3, l2); /* XbaeMatrixSetRowHeight(mat, row, 30); */ } void cbDefault(Widget w, XtPointer client, XtPointer call) { XbaeMatrixDefaultActionCallbackStruct *cbs = (XbaeMatrixDefaultActionCallbackStruct*) call; printf("Double click in cell %d,%d\n", cbs->row, cbs->column); } int main(int argc, char *argv[]) { Widget toplevel, form, mw, text; XtAppContext app; int i; toplevel = XtVaAppInitialize(&app, "Matrix", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif form = XtVaCreateWidget("form", xmFormWidgetClass, toplevel, NULL); text = XtVaCreateManagedWidget("TraversOutToMe", xmTextFieldWidgetClass, form, XmNeditable, True, XmNcursorPositionVisible, False, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, XmNtopAttachment, XmATTACH_FORM, XmNtopOffset, 4, NULL); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, form, XmNrows, 5, XmNcolumns, 4, XmNleftAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNrightOffset, 4, XmNbottomAttachment, XmATTACH_FORM, XmNbottomOffset, 4, XmNtopAttachment, XmATTACH_WIDGET, XmNtopWidget, text, NULL); XtAddCallback(mw, XmNdefaultActionCallback, cbDefault, (XtPointer) text); for (i=0; i<5; i++) CreateRow(mw, i); XtManageChild(form); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/tests/beeps.c0000664000076400007640000000254007270630333013705 00000000000000/* $Id: beeps.c,v 1.3 2001/04/22 19:28:27 amai Exp $ */ /* A code sample for SF [ #229550 ] Beeps using a pattern and XbaeInput on Linux. submitted by Tobias Oed "When using an XbaeInput widget that has a pattern defined I get beeps when I move the window that contains the widget, as well as when the window looses focus etc... I observe this behaviour on intel686 running linux+lesstif, but not on alpha machines running digital unix+motif." */ #include #include #include #include #include /* for version info */ #include int main (int argc, char **argv) { Arg wargs[3]; int m; Widget toplevel, input; /* Print run-time version of libXbae to stdout */ printf("Using Xbae %s\n", XbaeGetVersionTxt()); printf("This example was build with %s\n", XbaeVersionTxt); /* Print compile-time version of libXm to stdout */ printf("Xbae was build with %s\n", XbaeGetXmVersionTxt()); printf("and is running with %s\n", XmVERSION_STRING); toplevel = XtInitialize (argv[0], "TestXbaeInput", NULL, 0, &argc, argv); m = 0; XtSetArg (wargs[m], XmNpattern, "[d][d][d][d][d]"); m++; input = XbaeCreateInput (toplevel, "XbaeInput", wargs, m); XtManageChild (input); XtRealizeWidget (toplevel); XtMainLoop (); return (EXIT_SUCCESS); } xbae-4.60.4/examples/tests/dm1.c0000664000076400007640000000411410227555031013264 00000000000000/* $Header: /cvsroot/xbae/Xbae/examples/tests/dm1.c,v 1.5 2005/04/14 21:01:13 tobiasoed Exp $ From: Yasushi Yamasaki To: lesstif@hungry.com Subject: bug report Date: Sun, 30 Aug 1998 23:55:47 +0900 Cc: yamapu@osk3.3web.ne.jp */ #include #include #include #include #include #include static String fallback[] = { "XbaeTest.height: 250", "XbaeTest.width: 250", "XbaeTest*mw.value: XBAE MATRIX MEMORY FEVER!!!", "XbaeTest*mw.columns: 4", "XbaeTest*mw.rows: 4", "XbaeTest*mw.cells: 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4", "XbaeTest*mw.rowHeights: 10, 10, 10, 10", NULL }; int main(int argc, char *argv[]) { void *test = XtMalloc(1); fprintf(stderr,"XtMalloc(0) returns %s\n", (XtMalloc(0) == NULL) ? "NULL" : "Non null"); fprintf(stderr,"XtRealloc(NULL,0) returns %s\n", (XtRealloc(NULL, 0) == NULL) ? "NULL" : "Non null"); fprintf(stderr,"XtRealloc(test,0) returns %s\n", (XtRealloc(test, 0) == NULL) ? "NULL" : "Non null"); fprintf(stderr,"XtCalloc(0, 0) returns %s\n", (XtCalloc(0, 0) == NULL) ? "NULL" : "Non null"); fprintf(stderr,"XtCalloc(0, 1) returns %s\n", (XtCalloc(0, 1) == NULL) ? "NULL" : "Non null"); fprintf(stderr,"XtCalloc(1, 0) returns %s\n", (XtCalloc(1, 0) == NULL) ? "NULL" : "Non null"); #ifndef WITH_DMALLOC fprintf(stderr, "This test only makes sense when compiled with dmalloc.\n"); exit(1); #else shell = XtAppInitialize(&app, "XbaeTest", NULL, 0, &argc, argv, #if 0 NULL, #else fallback, #endif NULL, 0); w = XtCreateWidget("mw", xbaeMatrixWidgetClass, shell, NULL, 0); XtDestroyWidget(w); #endif } xbae-4.60.4/examples/tests/setlabels.c0000664000076400007640000000634110227555031014565 00000000000000 #include #include #include #include #include /* for version info */ #include #include char *column_labels[] = {"a", "b", "c\nd"}; char *row_labels[] = {"r1", "r2", "r3"}; void doit(XtPointer data) { Widget widget = (Widget) data; static int r = 0; static int c = 0; static Boolean columns = True; static Boolean set = True; if (columns) { if (set) { printf("Setting column label %d %s\n", c, column_labels[c]); XbaeMatrixSetColumnLabel(widget, c, column_labels[c]); } else { printf("Unsetting column label %d\n", c); XbaeMatrixSetColumnLabel(widget, c, NULL); } c++; } else { if (set) { printf("Setting row label %d %s\n", r, row_labels[r]); XbaeMatrixSetRowLabel(widget, r, row_labels[r]); } else { printf("Unsetting row label %d\n", r); XbaeMatrixSetRowLabel(widget, r, NULL); } r++; } if (c == XtNumber(row_labels)) { c = 0; columns = False; } if (r == XtNumber(row_labels)) { r = 0; columns = True; set = !set; } XtAppAddTimeOut( XtWidgetToApplicationContext(widget), 500, (XtTimerCallbackProc)doit, (XtPointer)widget); } int main (int argc, char **argv) { Widget toplevel, form, widget; char *rows[3][3] = {{"a","b","c"},{"d","e","f"},{"g","h","i"}}; char **cells[3]; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; cells[2] = &rows[2][0]; /* Print run-time version of libXbae to stdout */ printf("Using Xbae %s\n", XbaeGetVersionTxt()); printf("This example was built with %s\n", XbaeVersionTxt); /* Print compile-time version of libXm to stdout */ printf("Xbae was built with %s\n", XbaeGetXmVersionTxt()); printf("and is running with %s\n", XmVERSION_STRING); toplevel = XtInitialize (argv[0], "Test", NULL, 0, &argc, argv); form = XtVaCreateManagedWidget("form", xmFormWidgetClass, toplevel, XmNwidth, 500, XmNheight, 400, NULL); widget = XtVaCreateManagedWidget ("test_xbae", xbaeMatrixWidgetClass, form, XmNtopAttachment, XmATTACH_FORM, XmNleftAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNtopOffset, 10, XmNbottomOffset, 10, XmNleftOffset, 10, XmNrightOffset, 10, XmNrows, XtNumber(row_labels), XmNcolumns, XtNumber(column_labels), XmNcells, cells, NULL); printf("nrows=%d ncols=%d\n",XbaeMatrixNumRows(widget), XbaeMatrixNumColumns(widget)); doit(widget); XtRealizeWidget (toplevel); XtMainLoop (); return (EXIT_SUCCESS); } xbae-4.60.4/examples/tests/Makefile.in0000664000076400007640000004504610436577343014531 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = beeps$(EXEEXT) leak1$(EXEEXT) leak2$(EXEEXT) \ res_leak$(EXEEXT) chooser1$(EXEEXT) dm1$(EXEEXT) dm2$(EXEEXT) \ addrows$(EXEEXT) xm$(EXEEXT) manycellwidgets$(EXEEXT) \ 0rows$(EXEEXT) images$(EXEEXT) setlabels$(EXEEXT) \ 0rowcols$(EXEEXT) cancel$(EXEEXT) subdir = examples/tests DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) 0rowcols_SOURCES = 0rowcols.c 0rowcols_OBJECTS = 0rowcols.$(OBJEXT) 0rowcols_LDADD = $(LDADD) am__DEPENDENCIES_1 = 0rowcols_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) 0rows_SOURCES = 0rows.c 0rows_OBJECTS = 0rows.$(OBJEXT) 0rows_LDADD = $(LDADD) 0rows_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) addrows_SOURCES = addrows.c addrows_OBJECTS = addrows.$(OBJEXT) addrows_LDADD = $(LDADD) addrows_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) beeps_SOURCES = beeps.c beeps_OBJECTS = beeps.$(OBJEXT) beeps_LDADD = $(LDADD) beeps_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) cancel_SOURCES = cancel.c cancel_OBJECTS = cancel.$(OBJEXT) cancel_LDADD = $(LDADD) cancel_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) chooser1_SOURCES = chooser1.c chooser1_OBJECTS = chooser1.$(OBJEXT) chooser1_LDADD = $(LDADD) chooser1_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) dm1_SOURCES = dm1.c dm1_OBJECTS = dm1.$(OBJEXT) dm1_LDADD = $(LDADD) dm1_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) dm2_SOURCES = dm2.c dm2_OBJECTS = dm2.$(OBJEXT) dm2_LDADD = $(LDADD) dm2_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) images_SOURCES = images.c images_OBJECTS = images.$(OBJEXT) images_LDADD = $(LDADD) images_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) leak1_SOURCES = leak1.c leak1_OBJECTS = leak1.$(OBJEXT) leak1_LDADD = $(LDADD) leak1_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) leak2_SOURCES = leak2.c leak2_OBJECTS = leak2.$(OBJEXT) leak2_LDADD = $(LDADD) leak2_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) manycellwidgets_SOURCES = manycellwidgets.c manycellwidgets_OBJECTS = manycellwidgets.$(OBJEXT) manycellwidgets_LDADD = $(LDADD) manycellwidgets_DEPENDENCIES = ../../src/libXbae.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) res_leak_SOURCES = res_leak.c res_leak_OBJECTS = res_leak.$(OBJEXT) res_leak_LDADD = $(LDADD) res_leak_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) setlabels_SOURCES = setlabels.c setlabels_OBJECTS = setlabels.$(OBJEXT) setlabels_LDADD = $(LDADD) setlabels_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) xm_SOURCES = xm.c xm_OBJECTS = xm.$(OBJEXT) xm_LDADD = $(LDADD) xm_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = 0rowcols.c 0rows.c addrows.c beeps.c cancel.c chooser1.c \ dm1.c dm2.c images.c leak1.c leak2.c manycellwidgets.c \ res_leak.c setlabels.c xm.c DIST_SOURCES = 0rowcols.c 0rows.c addrows.c beeps.c cancel.c \ chooser1.c dm1.c dm2.c images.c leak1.c leak2.c \ manycellwidgets.c res_leak.c setlabels.c xm.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/tests/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/tests/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done 0rowcols$(EXEEXT): $(0rowcols_OBJECTS) $(0rowcols_DEPENDENCIES) @rm -f 0rowcols$(EXEEXT) $(LINK) $(0rowcols_LDFLAGS) $(0rowcols_OBJECTS) $(0rowcols_LDADD) $(LIBS) 0rows$(EXEEXT): $(0rows_OBJECTS) $(0rows_DEPENDENCIES) @rm -f 0rows$(EXEEXT) $(LINK) $(0rows_LDFLAGS) $(0rows_OBJECTS) $(0rows_LDADD) $(LIBS) addrows$(EXEEXT): $(addrows_OBJECTS) $(addrows_DEPENDENCIES) @rm -f addrows$(EXEEXT) $(LINK) $(addrows_LDFLAGS) $(addrows_OBJECTS) $(addrows_LDADD) $(LIBS) beeps$(EXEEXT): $(beeps_OBJECTS) $(beeps_DEPENDENCIES) @rm -f beeps$(EXEEXT) $(LINK) $(beeps_LDFLAGS) $(beeps_OBJECTS) $(beeps_LDADD) $(LIBS) cancel$(EXEEXT): $(cancel_OBJECTS) $(cancel_DEPENDENCIES) @rm -f cancel$(EXEEXT) $(LINK) $(cancel_LDFLAGS) $(cancel_OBJECTS) $(cancel_LDADD) $(LIBS) chooser1$(EXEEXT): $(chooser1_OBJECTS) $(chooser1_DEPENDENCIES) @rm -f chooser1$(EXEEXT) $(LINK) $(chooser1_LDFLAGS) $(chooser1_OBJECTS) $(chooser1_LDADD) $(LIBS) dm1$(EXEEXT): $(dm1_OBJECTS) $(dm1_DEPENDENCIES) @rm -f dm1$(EXEEXT) $(LINK) $(dm1_LDFLAGS) $(dm1_OBJECTS) $(dm1_LDADD) $(LIBS) dm2$(EXEEXT): $(dm2_OBJECTS) $(dm2_DEPENDENCIES) @rm -f dm2$(EXEEXT) $(LINK) $(dm2_LDFLAGS) $(dm2_OBJECTS) $(dm2_LDADD) $(LIBS) images$(EXEEXT): $(images_OBJECTS) $(images_DEPENDENCIES) @rm -f images$(EXEEXT) $(LINK) $(images_LDFLAGS) $(images_OBJECTS) $(images_LDADD) $(LIBS) leak1$(EXEEXT): $(leak1_OBJECTS) $(leak1_DEPENDENCIES) @rm -f leak1$(EXEEXT) $(LINK) $(leak1_LDFLAGS) $(leak1_OBJECTS) $(leak1_LDADD) $(LIBS) leak2$(EXEEXT): $(leak2_OBJECTS) $(leak2_DEPENDENCIES) @rm -f leak2$(EXEEXT) $(LINK) $(leak2_LDFLAGS) $(leak2_OBJECTS) $(leak2_LDADD) $(LIBS) manycellwidgets$(EXEEXT): $(manycellwidgets_OBJECTS) $(manycellwidgets_DEPENDENCIES) @rm -f manycellwidgets$(EXEEXT) $(LINK) $(manycellwidgets_LDFLAGS) $(manycellwidgets_OBJECTS) $(manycellwidgets_LDADD) $(LIBS) res_leak$(EXEEXT): $(res_leak_OBJECTS) $(res_leak_DEPENDENCIES) @rm -f res_leak$(EXEEXT) $(LINK) $(res_leak_LDFLAGS) $(res_leak_OBJECTS) $(res_leak_LDADD) $(LIBS) setlabels$(EXEEXT): $(setlabels_OBJECTS) $(setlabels_DEPENDENCIES) @rm -f setlabels$(EXEEXT) $(LINK) $(setlabels_LDFLAGS) $(setlabels_OBJECTS) $(setlabels_LDADD) $(LIBS) xm$(EXEEXT): $(xm_OBJECTS) $(xm_DEPENDENCIES) @rm -f xm$(EXEEXT) $(LINK) $(xm_LDFLAGS) $(xm_OBJECTS) $(xm_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/tests/images.c0000664000076400007640000000406110215623070014045 00000000000000/* * $Header: /cvsroot/xbae/Xbae/examples/tests/images.c,v 1.3 2005/03/15 18:15:20 tobiasoed Exp $ * * Show a number of cells with images in them. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include static String fallback[] = { "Matrix*mw.rowLabels: 1, 2, 3, 4, 5, 6", "Matrix*mw.allowColumnResize: True", /* "Matrix*mw.columnWidths: 40, 30, 50", */ "Matrix*cellShadowThickness: 2", "Matrix*cellMarginWidth: 0", "Matrix*cellMarginHeight: 3", /* "Matrix*gridType: grid_none", */ "Matrix*cellShadowType: shadow_in", "Matrix*rowLabelColor: Red", "Matrix*columnLabelColor: Blue", "Matrix*mw.buttonLabels: True", "Matrix*mw.allowColumnResize: True", NULL }; int main(int argc, char *argv[]) { Widget toplevel, mw; XtAppContext app; int i, j; toplevel = XtVaAppInitialize(&app, "Matrix", NULL, 0, &argc, argv, fallback, NULL); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, XmNrows, 5, XmNvisibleRows, 5, XmNcolumns, 3, NULL); XtRealizeWidget(toplevel); for (i=0; i<5; i++) { Pixmap p; char *fn; int r, hx, hy; unsigned int wid, ht; switch(i) { case 0: fn = "/usr/X11R6/include/X11/bitmaps/woman"; break; case 1: fn = "/usr/X11R6/include/X11/bitmaps/plaid"; break; case 2: fn = "/usr/X11R6/include/X11/bitmaps/keyboard16"; break; case 3: fn = "/usr/X11R6/include/X11/bitmaps/mailempty"; break; default: case 4: fn = "/usr/X11R6/include/X11/bitmaps/xlogo32"; } p = (Pixmap)NULL; r = XpmReadFileToPixmap(XtDisplay(mw), XtWindow(mw), fn, &p, NULL, NULL); if (r == XpmFileInvalid) { /* maybe it wasn't an XPM file */ r = XReadBitmapFile(XtDisplay(mw), XtWindow(mw), fn, &wid, &ht, &p, &hx, &hy); if (r != BitmapSuccess) p = (Pixmap)NULL; } if (p) XbaeMatrixSetCellPixmap(mw, i, 1, p, (Pixmap)NULL); for (j=0; j<3; j++) if (j != 1) { char s[16]; sprintf(s, "cell %d-%d", i, j); XbaeMatrixSetCell(mw, i, j, s); } } XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/tests/xm.c0000664000076400007640000001375210221672072013236 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * * Copyright 2001, 2003 by the LessTif Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Header: /cvsroot/xbae/Xbae/examples/tests/xm.c,v 1.10 2005/03/28 03:04:26 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include #define USE_RENDER_TABLE 0 static String fallback[] = { "Matrix*mw.columns: 5", "Matrix*mw.rows: 6", "Matrix*mw.columnWidths: 8, 3, 10, 10, 10", "Matrix*mw.allowColumnResize: True", "Matrix*mw.cells: Orange, 12, Rough, Inches, Large\\n" " Blue, 323, Smooth, Feet, Medium\\n" " Yellow, 456, Bristly, Meters, Large\\n" " Green, 1, Knobby, Miles, Small\\n" " Pink, 33, Hairy, Quarts, Small\\n" " Black, 7, Silky, Gallons, Small", "Matrix*mw.cellBackgrounds: white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite\\n" " white, antiquewhite, white, white, antiquewhite", "Matrix*mw.colors: blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black\\n" " blue, black, blue, blue, black", "Matrix*mw.columnLabelAlignments:alignment_beginning, alignment_center," " alignment_center, alignment_beginning," " alignment_beginning", "Matrix*mw.columnAlignments: alignment_beginning, alignment_end," " alignment_beginning, alignment_beginning," " alignment_beginning", #if USE_RENDER_TABLE "Matrix*renderTable: labels, symbol", "Matrix*renderTable.fontType: FONT_IS_FONT", "Matrix*renderTable.fontName: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*", "Matrix*renderTable.labels.fontType: FONT_IS_FONT", "Matrix*renderTable.labels.fontName: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*", "Matrix*renderTable.symbol.fontType: FONT_IS_FONT", "Matrix*renderTable.symbol.fontName: -adobe-symbol-medium-r-normal--10-100-75-75-p-61-adobe-fontspecific", #else "Matrix*fontList: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*", "Matrix*labelFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*," "-adobe-symbol-medium-r-normal--10-100-75-75-p-61-adobe-fontspecific=symbol", #endif "Matrix*cellHighlightThickness: 2", "Matrix*cellShadowThickness: 2", "Matrix*cellMarginWidth: 0", "Matrix*cellMarginHeight: 3", "Matrix*gridType: grid_cell_shadow", "Matrix*cellShadowType: shadow_in", "Matrix*rowLabelColor: Red", "Matrix*columnLabelColor: Blue", "Matrix*mw.buttonLabels: True", "Matrix*mw.allowColumnResize: True", NULL }; void labelCB(Widget mw, XtPointer cd, XtPointer cb) { XbaeMatrixLabelActivateCallbackStruct *cbs = ( XbaeMatrixLabelActivateCallbackStruct * )cb; if( cbs->row_label ) if( XbaeMatrixIsRowSelected( mw, cbs->row ) ) XbaeMatrixDeselectRow( mw, cbs->row ); else XbaeMatrixSelectRow( mw, cbs->row ); else if( XbaeMatrixIsColumnSelected( mw, cbs->column ) ) XbaeMatrixDeselectColumn( mw, cbs->column ); else XbaeMatrixSelectColumn( mw, cbs->column ); } /* * Simple example of loaded Matrix */ int main(int argc, char *argv[]) { Widget toplevel, mw; XtAppContext app; String column_labels[] = {"Color", "#" , "Texture", "Measure", "Size"}; XmString xmcolumn_labels[] = {NULL , NULL, NULL , NULL , NULL }; String row_labels[] = {"1" , "2" , "3" , "4" , "5" , "6"}; XmString xmrow_labels[] = {NULL, NULL, NULL, NULL, NULL, NULL}; XmString x; char delta[2]; toplevel = XtVaAppInitialize(&app, "Matrix", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif delta[0] = 0xD1; delta[1] = 0; #if XmVERSION > 1 x = XmStringGenerate(delta, NULL, XmCHARSET_TEXT, "symbol"); #else x = XmStringCreate (delta, "symbol"); #endif #if USE_RENDER_TABLE xmcolumn_labels[2] = XmStringGenerate("Texture ", NULL, XmCHARSET_TEXT, "labels"); xmrow_labels[2] = XmStringGenerate("3 ", NULL, XmCHARSET_TEXT, "labels"); #else xmcolumn_labels[2] = XmStringCreateSimple("Texture "); xmrow_labels[2] = XmStringCreateSimple("3"); #endif xmcolumn_labels[2] = XmStringConcat(xmcolumn_labels[2], x); xmrow_labels[2] = XmStringConcat(xmrow_labels[2], x); XmStringFree(x); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, XmNcolumnLabels, column_labels, XmNxmColumnLabels, xmcolumn_labels, XmNrowLabels, row_labels, XmNxmRowLabels, xmrow_labels, NULL); XmStringFree(xmcolumn_labels[2]); XmStringFree(xmrow_labels[2]); XtAddCallback( mw, XmNlabelActivateCallback, ( XtCallbackProc )labelCB, NULL ); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/tests/dm2.c0000664000076400007640000000334710241710746013276 00000000000000/* * $Header: /cvsroot/xbae/Xbae/examples/tests/dm2.c,v 1.5 2005/05/15 18:16:06 dannybackx Exp $ */ #include #include #include #include #include #ifdef WITH_DMALLOC #include #endif XtAppContext app; Widget toplevel, mw = 0; static String fallback[] = { "Matrixwidget.height: 250", "Matrixwidget.width: 250", "Matrixwidget*mw.value: XBAE MATRIX MEMORY FEVER!!!", "Matrixwidget*mw.columns: 4", "Matrixwidget*mw.rows: 4", "Matrixwidget*mw.cells: 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4", NULL }; unsigned long mark = 0; unsigned int count = 10; void timeout(XtPointer cd, XtIntervalId* id) { if(mw) XtDestroyWidget(mw); #ifdef WITH_DMALLOC dmalloc_log_changed(mark, 1, 1, 1); #endif if (count-- == 0) exit(0); #ifdef WITH_DMALLOC mark = dmalloc_mark(); #endif mw = XtVaCreateManagedWidget("mw", /* xmTextWidgetClass, toplevel, */ xbaeMatrixWidgetClass, toplevel, NULL); XtAppAddTimeOut( app, 100, timeout, NULL); } int main(int argc, char *argv[]) { #ifndef WITH_DMALLOC fprintf(stderr, "This test only makes sense when compiled with dmalloc.\n"); exit(1); #else toplevel = XtVaAppInitialize(&app, "Matrixwidget", NULL, 0, &argc, argv, #if 0 NULL, #else fallback, #endif NULL); XtAppAddTimeOut( app, 100, timeout, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; #endif } xbae-4.60.4/examples/tests/leak2.c0000664000076400007640000000271107675023646013621 00000000000000/* $Header: /cvsroot/xbae/Xbae/examples/tests/leak2.c,v 1.3 2003/06/21 09:38:46 dannybackx Exp $ From: Yasushi Yamasaki To: lesstif@hungry.com Subject: bug report Date: Sun, 30 Aug 1998 23:55:47 +0900 Cc: yamapu@osk3.3web.ne.jp */ #include #include #include #include #include typedef struct AppRes { int numIter; } AppRes; AppRes appres; XtResource resources[] = { { "numIter", "NumIter", XtRInt, sizeof(int), XtOffsetOf(AppRes, numIter), XtRImmediate, 1000 }, }; int main(int argc, char *argv[]) { XtAppContext app; Widget shell, w; void *before; void *after; int iter = 0; int diff = 0; int total = 0; shell = XtAppInitialize(&app, "Test", NULL, 0, &argc, argv, NULL, NULL, 0); XtVaGetApplicationResources(shell, &appres, resources, XtNumber(resources), NULL); while (iter < appres.numIter) { before = sbrk((ptrdiff_t) 0); w = XtCreateWidget("name", xbaeMatrixWidgetClass, shell, NULL, 0); XtDestroyWidget(w); after = sbrk((ptrdiff_t) 0); if ((int)((char *)after - (char *)before) > 0) { if (iter != 0) { /* printf("%i %i %p %i\n", iter, iter - diff, after - before, (after - before) / (iter - diff)); */ total += (int)((char *)after - (char*)before); } diff = iter; } iter++; } printf("leaking %i bytes per Create/Destroy\n", total / iter); exit((int)(total / iter)); } xbae-4.60.4/examples/tests/cancel.c0000664000076400007640000000467510213475401014041 00000000000000/* main.C * by J. C. Georgas * 2005-02-13 * Test program for the XbaeMatrix traversal bug. */ #include #include #include #include #include #include #include #include #include static void commitCallback( Widget w , XtPointer client_data, XtPointer call_data ); static void cancelCallback( Widget w , XtPointer client_data, XtPointer call_data ); static void matrixCallback( Widget w , XtPointer client_data, XtPointer call_data ); int main( int argc, char* argv[] ) { Widget toplevel, form, matrix; Widget buttons, commit, cancel; XtAppContext app; XtSetLanguageProc( NULL, NULL, NULL ); toplevel = XtVaOpenApplication( &app, "XSass" , NULL, 0 , &argc, argv , NULL , sessionShellWidgetClass , XmNdeleteResponse, XmDO_NOTHING , NULL ); /* add a matrix and a couple of pushbuttons: */ form = XtVaCreateManagedWidget( "form" , xmFormWidgetClass , toplevel , NULL ); matrix = XtVaCreateManagedWidget( "matrix" , xbaeMatrixWidgetClass , form , XmNrows, 4 , XmNcolumns, 4 , NULL ); XtAddCallback( matrix, XmNenterCellCallback, matrixCallback, "enter" ); XtAddCallback( matrix, XmNleaveCellCallback, matrixCallback, "leave" ); XtAddCallback( matrix, XmNtraverseCellCallback, matrixCallback, "traverse" ); buttons = XtVaCreateManagedWidget( "buttons" , xmRowColumnWidgetClass , form , XmNleftAttachment, XmATTACH_WIDGET , XmNleftWidget, matrix , NULL ); commit = XtVaCreateManagedWidget( "commit" , xmPushButtonWidgetClass , buttons , NULL ); XtAddCallback( commit, XmNactivateCallback, commitCallback, matrix ); cancel = XtVaCreateManagedWidget( "cancel" , xmPushButtonWidgetClass , buttons , NULL ); XtAddCallback( cancel, XmNactivateCallback, cancelCallback, matrix ); XtRealizeWidget( toplevel ); XtAppMainLoop( app ); return 0; } static void commitCallback( Widget w , XtPointer client_data, XtPointer call_data ) { Widget matrix = (Widget) client_data; XbaeMatrixCommitEdit( matrix, True ); } static void cancelCallback( Widget w , XtPointer client_data, XtPointer call_data ) { Widget matrix = (Widget) client_data; XbaeMatrixCancelEdit( matrix, True ); } static void matrixCallback( Widget w , XtPointer client_data, XtPointer call_data ) { String message = (String) client_data; fprintf( stderr, "%s\n", message ); } xbae-4.60.4/examples/tests/leak1.c0000664000076400007640000000232207670637022013610 00000000000000#include #include XtAppContext app; Widget toplevel, mw = 0; static String fallback[] = { "Matrixwidget.height: 250", "Matrixwidget.width: 250", "Matrixwidget*mw.value: XBAE MATRIX MEMORY FEVER!!!", "Matrixwidget*mw.columns: 4", "Matrixwidget*mw.rows: 4", "Matrixwidget*mw.cells: 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4\\n" " 1, 2, 3, 4", NULL }; void timeout(XtPointer cd, XtIntervalId* id) { if(mw) XtDestroyWidget(mw); mw = XtVaCreateManagedWidget("mw", /* xmTextWidgetClass, toplevel, */ xbaeMatrixWidgetClass, toplevel, NULL); XtAppAddTimeOut( app, 100, timeout, NULL); } int main(int argc, char *argv[]) { toplevel = XtVaAppInitialize(&app, "Matrixwidget", NULL, 0, &argc, argv, #if 0 NULL, #else fallback, #endif NULL); XtAppAddTimeOut( app, 100, timeout, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/tests/Makefile.am0000664000076400007640000000074010203720533014467 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/tests/Makefile.am,v 1.19 2005/02/13 18:50:03 tobiasoed Exp $ # noinst_PROGRAMS= beeps leak1 leak2 res_leak chooser1 dm1 dm2 addrows xm\ manycellwidgets 0rows images setlabels 0rowcols cancel INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/tests/addrows.c0000664000076400007640000001120610154347633014254 00000000000000/* $Id: addrows.c,v 1.4 2004/12/04 14:54:19 dannybackx Exp $ */ #include #include #include #include #include /* for version info */ #include #include #define NUM_ARGS_PER_ROW 5 Widget form, mat; void doit() { int num_cmds = 5; int x, y, z; int num_args_in_cmd = 5; char buff[30]; char *cmd_labels[] = { "", "TIME", "ARG1", "ARG2", "ARG3", "ARG4", "ARG5", "ARG6", "ARG7", "ARG8", "ARG9", "ARG10", "ARG11", "ARG12", "ARG13", "ARG14", "ARG15", "ARG16", "ARG17", "ARG18", "ARG19", "ARG20", "ARG21", "ARG22", "ARG23", "ARG24", "ARG25", "ARG26", "ARG27", "ARG28", "ARG29", "ARG30", "ARG31" }; short cmd_widths[] = { 12, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 }; #if 1 mat = XtVaCreateWidget ("test_xbae", xbaeMatrixWidgetClass, form, XmNtopAttachment, XmATTACH_FORM, XmNleftAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNtopOffset, 10, XmNbottomOffset, 100, XmNleftOffset, 10, XmNrightOffset, 10, XmNrightAttachment, XmATTACH_FORM, XmNcolumns, XtNumber(cmd_labels), XmNcolumnLabels, cmd_labels, XmNcolumnWidths, cmd_widths, XmNrows, 0, NULL); XbaeMatrixAddRows(mat, 0, NULL, NULL, NULL, num_cmds); #else mat = XtVaCreateWidget ("test_xbae", xbaeMatrixWidgetClass, form, XmNtopAttachment, XmATTACH_FORM, XmNleftAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNtopOffset, 10, XmNbottomOffset, 10, XmNleftOffset, 10, XmNrightOffset, 10, XmNrightAttachment, XmATTACH_FORM, XmNcolumns, XtNumber(cmd_labels), XmNcolumnLabels, cmd_labels, XmNcolumnWidths, cmd_widths, XmNrows, num_cmds, NULL); #endif for(x = 0; x < num_cmds; x++ ) { printf ("Handling Command #%d\n", x); sprintf(buff, "Test %d", x); XbaeMatrixSetCell(mat, x, 0, buff); sprintf(buff, "Delay %d", x); XbaeMatrixSetCell(mat, x, 1, buff); for( y = 0; y < num_args_in_cmd; y++ ) { XbaeMatrixSetCell(mat, x, y+2 , "XX"); } for (z = y; z < NUM_ARGS_PER_ROW; z++) { XbaeMatrixSetCell(mat, x, z+2 , "---"); } } XtManageChild(mat); } void push(Widget w, XtPointer client, XtPointer call) { int i, ncols; char **str; ncols = XbaeMatrixNumColumns(mat); str = (char **)XtCalloc(ncols, sizeof(String)); for (i=0; i #endif #include #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include #include static String fallback[] = { "Colors*mw.rows: 7", "Colors*mw.columns: 5", "Colors*selectedForeground: Blue", "Colors*selectedBackground: White", "Colors*textBackgroundIsCell: True", "Colors*mw.columnWidths: 10, 10, 10, 10, 10", "Colors*mw.columnLabels: Color0, Color1, Color2, Color3, Color4", "Colors*mw.rowLabels: Color0, Color1, Color2, Color3, Color4," " Color5, Color6", "Colors*menu*cell.labelString: Cell Orientation", "Colors*menu*row.labelString: Row Orientation", "Colors*menu*column.labelString: Column Orientation", "Colors*reset.labelString: Reset", "Colors*mode.labelString: Set Background", NULL }; /* * Interactively set row, column and cell colors. * Consists of an option menu to select row, column or cell orientation. * Then when a color name is entered in a cell, that row, column or cell * (depending on the orientation) is set to the color entered. */ typedef enum { CellOrientation, RowOrientation, ColumnOrientation } ColorOrientation; typedef enum { textForeground, textBackground } ColorMode; typedef struct { Widget matrix; ColorOrientation orientation; ColorMode mode; } ColorDataRec, *ColorData; void SetColorCB(Widget w, ColorData colorData, XbaeMatrixLeaveCellCallbackStruct *call_data); void RowOrientationCB(Widget w, ColorData colorData, XtPointer call_data); void CellOrientationCB(Widget w, ColorData colorData, XtPointer call_data); void ColumnOrientationCB(Widget w, ColorData colorData, XtPointer call_data); void modeCB(Widget w, ColorData colorData, XmToggleButtonCallbackStruct *cbs); void ResetCB(Widget w, Widget matrix, XtPointer client_data); void LoadMatrix(Widget w); int main(int argc, char *argv[]) { Widget toplevel, form, menu, row, column, cell, reset, option, mode; XtAppContext app; ColorDataRec colorData; Arg args[2]; int n; toplevel = XtVaAppInitialize(&app, "Colors", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif /* * Create a Form to hold everything */ form = XtCreateManagedWidget("form", xmFormWidgetClass, toplevel, NULL, 0); /* * Create a menu for use in an OptionMenu */ menu = XmCreatePulldownMenu(form, "menu", NULL, 0); /* * Create a menu button to select cell orientation */ cell = XtVaCreateManagedWidget("cell", xmPushButtonWidgetClass, menu, NULL); XtAddCallback(cell, XmNactivateCallback, (XtCallbackProc)CellOrientationCB, (XtPointer)&colorData); /* * Create a menu button to select row orientation */ row = XtVaCreateManagedWidget("row", xmPushButtonWidgetClass, menu, NULL); XtAddCallback(row, XmNactivateCallback, (XtCallbackProc)RowOrientationCB, (XtPointer)&colorData); /* * Create a menu button to select column orientation */ column = XtVaCreateManagedWidget("column", xmPushButtonWidgetClass, menu, NULL); XtAddCallback(column, XmNactivateCallback, (XtCallbackProc)ColumnOrientationCB, (XtPointer)&colorData); /* * Setup and create the option menu */ n = 0; XtSetArg(args[n], XmNsubMenuId, menu); n++; XtSetArg(args[n], XmNmenuHistory, cell); n++; option = XmCreateOptionMenu(form, "option", args, n); XtManageChild(option); colorData.orientation = CellOrientation; colorData.mode = textForeground; /* * Create a Matrix widget. Add a callback to get the color entered * in a cell. */ colorData.matrix = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, form, XmNtopAttachment, XmATTACH_WIDGET, XmNtopWidget, option, XmNleftAttachment, XmATTACH_FORM, XmNrightAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, NULL); XtAddCallback(colorData.matrix, XmNleaveCellCallback, (XtCallbackProc)SetColorCB, (XtPointer)&colorData); /* * Create a button to reset XmNcolors */ reset = XtVaCreateManagedWidget("reset", xmPushButtonWidgetClass, form, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, option, NULL); XtAddCallback(reset, XmNactivateCallback, (XtCallbackProc)ResetCB, (XtPointer)colorData.matrix); mode = XtVaCreateManagedWidget("mode", xmToggleButtonWidgetClass, form, XmNleftAttachment, XmATTACH_WIDGET, XmNleftWidget, reset, XmNset, False, NULL); XtAddCallback(mode, XmNvalueChangedCallback, (XtCallbackProc)modeCB, (XtPointer)&colorData); /* * Load the matrix with default values */ LoadMatrix(colorData.matrix); XtRealizeWidget(toplevel); XtAppMainLoop(app); exit(0); } /* ARGSUSED */ void CellOrientationCB(Widget w, ColorData colorData, XtPointer call_data) { colorData->orientation = CellOrientation; } /* ARGSUSED */ void RowOrientationCB(Widget w, ColorData colorData, XtPointer call_data) { colorData->orientation = RowOrientation; } /* ARGSUSED */ void ColumnOrientationCB(Widget w, ColorData colorData, XtPointer call_data) { colorData->orientation = ColumnOrientation; } /* ARGSUSED */ void modeCB(Widget w, ColorData colorData, XmToggleButtonCallbackStruct *cbs) { if( cbs->set ) colorData->mode = textBackground; else colorData->mode = textForeground; } /* ARGSUSED */ void SetColorCB(Widget w, ColorData colorData, XbaeMatrixLeaveCellCallbackStruct *call_data) { XrmValue fromVal, toVal; Pixel color; /* * If the color is "X" or "Z", ignore it since that is what we load * the matrix with */ if (call_data->value[0] == 'X' || call_data->value[0] == 'Z') return; /* * Attempt to convert the string in this cell to a Pixel */ fromVal.size = strlen(call_data->value) + 1; fromVal.addr = call_data->value; toVal.size = sizeof(Pixel); toVal.addr = (XtPointer) &color; if (!XtConvertAndStore(w, XtRString, &fromVal, XtRPixel, &toVal)) return; /* * Set the current row/column to the specified color based on our * current orientation. */ if( colorData->mode == textForeground ) { switch (colorData->orientation) { case CellOrientation: XbaeMatrixSetCellColor(colorData->matrix, call_data->row, call_data->column, color); break; case RowOrientation: XbaeMatrixSetRowColors(colorData->matrix, call_data->row, &color, 1); break; case ColumnOrientation: XbaeMatrixSetColumnColors(colorData->matrix, call_data->column, &color, 1); break; } } else { switch (colorData->orientation) { case CellOrientation: XbaeMatrixSetCellBackground( colorData->matrix, call_data->row, call_data->column, color); break; case RowOrientation: XbaeMatrixSetRowBackgrounds( colorData->matrix, call_data->row, &color, 1); break; case ColumnOrientation: XbaeMatrixSetColumnBackgrounds( colorData->matrix, call_data->column, &color, 1); break; } } } /* ARGSUSED */ void ResetCB(Widget w, Widget matrix, XtPointer client_data) { XtVaSetValues(matrix, XmNcolors, NULL, XmNcellBackgrounds, NULL, NULL); LoadMatrix(matrix); } void LoadMatrix(Widget w) { int rows, columns; int i, j; String *rowArrays, **cells; XtVaGetValues(w, XmNrows, &rows, XmNcolumns, &columns, NULL); cells = (String **)XtMalloc(rows * sizeof(String *)); rowArrays = (String *)XtMalloc(rows * columns * sizeof(String)); for (i = 0; i < rows; i++) { cells[i] = &rowArrays[i * columns]; if (i % 2) for (j = 0; j < columns; j++) rowArrays[i * columns + j] = "X"; else for (j = 0; j < columns; j++) rowArrays[i * columns + j] = "Z"; } XtVaSetValues(w, XmNcells, cells, NULL); XtFree((XtPointer) rowArrays); XtFree((XtPointer) cells); } xbae-4.60.4/examples/colors/Makefile.in0000664000076400007640000003162610436577340014664 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = colors$(EXEEXT) subdir = examples/colors DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) colors_SOURCES = colors.c colors_OBJECTS = colors.$(OBJEXT) colors_LDADD = $(LDADD) am__DEPENDENCIES_1 = colors_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = colors.c DIST_SOURCES = colors.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/colors/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/colors/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done colors$(EXEEXT): $(colors_OBJECTS) $(colors_DEPENDENCIES) @rm -f colors$(EXEEXT) $(LINK) $(colors_LDFLAGS) $(colors_OBJECTS) $(colors_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/colors/Makefile.am0000664000076400007640000000061607530466165014651 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/colors/Makefile.am,v 1.17 2002/08/20 16:21:09 dannybackx Exp $ # noinst_PROGRAMS= colors EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/Makefile.in0000664000076400007640000003640210436577337013366 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = examples DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = depcomp = am__depfiles_maybe = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ # # $Header: /cvsroot/xbae/Xbae/examples/Makefile.am,v 1.9 2002/08/18 10:16:35 dannybackx Exp $ # SUBDIRS = add caption choice colors draw dynamic fifteen input list \ matrix multibyte multifixed select-drag select-push traversal \ tests Mri \ builderXcessory EXTRA_DIST = Imakefile extest testall all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-recursive distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-libtool \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-info-am # 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: xbae-4.60.4/examples/select-drag/0000777000076400007640000000000010436577410013560 500000000000000xbae-4.60.4/examples/select-drag/Imakefile0000664000076400007640000000035106761453120015303 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:44 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(select-drag) xbae-4.60.4/examples/select-drag/Makefile.in0000664000076400007640000003177010436577342015557 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = select-drag$(EXEEXT) subdir = examples/select-drag DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) select_drag_SOURCES = select-drag.c select_drag_OBJECTS = select-drag.$(OBJEXT) select_drag_LDADD = $(LDADD) am__DEPENDENCIES_1 = select_drag_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = select-drag.c DIST_SOURCES = select-drag.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/select-drag/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/select-drag/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done select-drag$(EXEEXT): $(select_drag_OBJECTS) $(select_drag_DEPENDENCIES) @rm -f select-drag$(EXEEXT) $(LINK) $(select_drag_LDFLAGS) $(select_drag_OBJECTS) $(select_drag_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/select-drag/select-drag.c0000644000076400007640000001767610432327376016053 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * * Copyright 2001 by the LessTif Developers * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: select-drag.c,v 1.12 2006/05/16 10:52:46 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include void LoadMatrix(Widget matrix); void SelectCB(Widget w, XtPointer client_data, XbaeMatrixSelectCellCallbackStruct *call_data); void ResetCB(Widget w, XtPointer cd, XtPointer cb); void scroll(XtPointer data); #define N_VISIBLE 10 #define N_FIXED_ROWS 10 #define N_ROWS 40 #define N_FIXED_COLUMNS 10 #define N_COLUMNS 30 #define makestring(N) #N #define string(N) makestring(N) #define Min(a,b) ((a < b) ? (a) : (b)) #define Max(a,b) ((a > b) ? (a) : (b)) static String fallback[] = { "Select-drag*matrix.rows: " string(N_ROWS), "Select-drag*matrix.columns: " string(N_COLUMNS), "Select-drag*matrix.visibleRows: " string(N_VISIBLE), "Select-drag*matrix.visibleColumns: " string(N_VISIBLE), "Select-drag*matrix.fixedRows: " string(N_FIXED_ROWS), "Select-drag*matrix.fixedColumns: " string(N_FIXED_ROWS), "Select-drag*matrix.gridType: grid_cell_shadow", /* * We have an uneditable matrix. */ "Select-drag*matrix.traversalOn: False", "Select-drag*matrix.translations: #override\\n" " : SelectCell(PointerExtend)\\n", "Select-drag*matrix.selectionPolicy: extended_select", NULL }; /* * Create an uneditable matrix. When Btn1 is dragged, a rectangular region * of cells is selected. */ int main(int argc, char *argv[]) { Widget toplevel, matrix, pb, pane; XtAppContext app; toplevel = XtAppInitialize( &app, "Select-drag", NULL, 0, &argc, argv, fallback, NULL, 0); #ifdef USE_EDITRES XtAddEventHandler(toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif pane = XtVaCreateManagedWidget( "pane", xmPanedWindowWidgetClass, toplevel, NULL); pb = XtVaCreateManagedWidget( "Reset", xmPushButtonWidgetClass, pane, NULL); matrix = XtVaCreateManagedWidget( "matrix", xbaeMatrixWidgetClass, pane, XmNtopAttachment, XmATTACH_FORM, XmNbottomAttachment, XmATTACH_FORM, XmNleftAttachment, XmATTACH_FORM, XmNtopAttachment, XmATTACH_FORM, XmNselectScrollVisible, False, NULL); XtAddCallback(matrix, XmNselectCellCallback, (XtCallbackProc)SelectCB, NULL); XtAddCallback(pb, XmNactivateCallback, (XtCallbackProc)ResetCB, (XtPointer)matrix); LoadMatrix(matrix); #if 0 scroll((XtPointer) matrix); #endif XtRealizeWidget(toplevel); XtAppMainLoop(app); return 0; } /* * Callback when the mouse is moved, we want to select a rectangle of cells */ /* ARGSUSED */ void SelectCB(Widget w, XtPointer client_data, XbaeMatrixSelectCellCallbackStruct *call_data) { static int start_row = -1, start_column = -1; static int last_row = -1, last_column = -1; int i, j; /* * Avoid scrolling all over the place when selecting cells */ /*XtVaSetValues(w, XmNselectScrollVisible, False, NULL);*/ if (strcmp(call_data->params[0], "PointerExtend") == 0) { start_row = last_row = call_data->row; start_column = last_column = call_data->column; XbaeMatrixSelectCell(w, last_row, last_column); } /* * Else we might be in an extended drag operation */ else if (strcmp(call_data->params[ 0 ], "Extend") == 0) { /* * This is a pretty simplistic, stupid implementation * of selecting a rectangle. */ for (i = Min(start_row, last_row); i <= Max(start_row, last_row); i++) for (j = Min(start_column, last_column); j <= Max(start_column, last_column); j++) XbaeMatrixDeselectCell(w, i, j); for (i = Min(start_row, call_data->row); i <= Max(start_row, call_data->row); i++) for (j = Min(start_column, call_data->column); j <= Max(start_column, call_data->column); j++) XbaeMatrixSelectCell(w, i, j); last_row = call_data->row; last_column = call_data->column; #if 0 printf("%d, %d\n", last_row, last_column); #endif } } /* ARGSUSED */ void LoadMatrix(Widget matrix) { int i, j; int rows, columns; char buf[BUFSIZ]; String **cells; XtVaGetValues(matrix, XmNrows, &rows, XmNcolumns, &columns, NULL); cells = (String **) XtMalloc(sizeof(String *) * rows); for (i = 0; i < rows; i++) { cells[i] = (String *) XtMalloc(sizeof(String) * columns); for (j = 0; j < columns; j++) { sprintf(buf, "r%dc%d", i, j); cells[i][j] = XtNewString(buf); } } XtVaSetValues(matrix, XmNcells, cells, NULL); for (i = 0; i < rows; i++) { for (j = 0; j < columns; j++) XtFree((XtPointer)cells[i][j]); XtFree((XtPointer)cells[i]); } XtFree((XtPointer)cells); } void ResetCB(Widget w, XtPointer cd, XtPointer cb) { Widget mw = (Widget)cd; XbaeMatrixDeselectAll(mw); } void scroll(XtPointer data) { Widget mw = (Widget)data; static int row = 0; static int column = 0; static Boolean up = False; static Boolean left = False; Boolean change = False; #if 0 /* Bug shows up in fixed rows */ XtVaSetValues(mw, XmNleftColumn, column, NULL); XtVaSetValues(mw, XmNtopRow, row, NULL); #else /* Bug shows up in fixed columns */ XtVaSetValues(mw, XmNtopRow, row, NULL); XtVaSetValues(mw, XmNleftColumn, column, NULL); #endif if (up) { if (row == 0) { up = False; change = True; row++; } else { row--; } } else { if (row == N_ROWS - N_VISIBLE - N_FIXED_ROWS) { up = True; change = True; row--; } else { row++; } } if (left) { if (column == 0) { left = False; change = True; column++; } else { column--; } } else { if (column == N_COLUMNS - N_VISIBLE - N_FIXED_COLUMNS) { left = True; change = True; column--; } else { column++; } } if(change){ printf("%s %s\n",up ? "up" : "down", left ? "left" : "right"); } XtAppAddTimeOut( XtWidgetToApplicationContext(mw), 200, (XtTimerCallbackProc)scroll, (XtPointer)mw); } xbae-4.60.4/examples/select-drag/Makefile.am0000664000076400007640000000063307530466167015543 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/select-drag/Makefile.am,v 1.17 2002/08/20 16:21:11 dannybackx Exp $ # noinst_PROGRAMS= select-drag EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/README0000664000076400007640000000464107522761635012177 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # Copyright 2002 by Danny Backx # # $Header: /cvsroot/xbae/Xbae/examples/README,v 1.2 2002/08/03 14:07:25 dannybackx Exp $ # extest,testall These scripts will run all the examples described below. matrix A simple example of a loaded XbaeMatrix widget. colors Interactively sets row, column and cell colors to the color name entered in a cell. Both backgroud and foreground can be set traversal Example of custom traversal. Defines new traversal type -- when Return is pressed, moves down a row and back to the first column (carriage return). dynamic Dynamically expands the matrix when a row/column boundary is passed. select Demonstrates row/column/cell selection techniques. Requires Wcl. select-drag Demonstrates "dragging out a rectangle" selection technique. add Demonstrates dynamically adding multiple rows and columns. Also shows capabilities of a double click callback being invoked. caption Demonstrates five configurations using XbaeCaption. Mri A version of Mri which knows about the XbaeMatrix and XbaeCaption widgets. Requires Wcl. Two simple Wcl resource files creating a Matrix and Caption widget are provided. choice A program to allow the various concoctions of shadows to be dynamically viewed. multifixed The multifixed program demonstrates the ability of combining fixed rows and fixed columns on a matrix. Typical uses for these resources may include such things as total rows or columns. fifteen A demonstration of what can be acheived with cellShadowTypes - a clone of the good old fifteen puzzle select-push A copy of a list of radio buttons - also allows individual cells to be edited list Like the Motif list widget but with the XbaeMatrix resources available draw An example of the use of XmNdrawCellCallback, XmNwriteCellCallback and pixmaps builderXcessory This is a set of example files that can be used to integrate the widgets with BX, a commercial Motif GUI designer. (http://www.ics.com) input Demonstrate use of the XbaeInput widget. multibyte Demonstrate XbaeMatrix with multibyte (Asian) text. tests This currently contains one test program related to a bug report. Contrary to previous versions, the examples can now be run without setting variables such as XAPPLRESDIR. Such data is now present in the source of the example applications as fallback resources. xbae-4.60.4/examples/caption/0000777000076400007640000000000010436577410013023 500000000000000xbae-4.60.4/examples/caption/Imakefile0000664000076400007640000000034506761453102014551 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:30 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(caption) xbae-4.60.4/examples/caption/caption.c0000664000076400007640000002133407261035442014541 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * * Copyright 1999, 2001 by the LessTif Developers. * * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: caption.c,v 1.7 2001/03/30 07:52:02 dannybackx Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #ifdef USE_EDITRES #include #include #endif #include #include #include #include #include #include #include #include /* * Some examples of Captions use */ void popupCaptionTextF(Widget w, String name, XtPointer call_data); void popupCaptionFrame(Widget w, String name, XtPointer call_data); void popupCaptionToggle(Widget w, XtPointer client_data, XtPointer call_data); static String fallback[] = { "*button1.labelString: Text, caption right", "*button2.labelString: ButtonBox, caption top center", "*button3.labelString: ButtonBox, multiline caption left", "*button4.labelString: Text, caption left", "*button5.labelString: Double toggle boxes", "*caption1.allowShellResize: True", "*caption1*fontList: -adobe-helvetica-*-r-*-*-*-180-*-*-*-*-*-*", "*caption1*text.resizeWidth: True", "*caption1*cw.labelString: Caption", "*caption1*cw.labelPosition: right", "*caption1*cw.labelAlignment: center", "*caption1*cw.spacing: 30", "*caption2*fontList: -adobe-helvetica-*-r-*-*-*-180-*-*-*-*-*-*", /* Position the caption at the to center of the Frame and offset it * so that it overlaps slightly. */ "*caption2*cw.wcClassName: XbaeCaption", "*caption2*cw.labelString: Caption", "*caption2*cw.labelPosition: top", "*caption2*cw.labelAlignment: center", "*caption2*cw.labelOffset: -15", "*caption2*cw.Offset: 10", "*caption2*cw.leftAttachment: attach_form", "*caption2*cw.rightAttachment: attach_form", "*caption2*cw.bottomAttachment: attach_form", "*caption2*cw.topAttachment: attach_form", "*caption2*frame.marginWidth: 15", "*caption2*frame.marginHeight: 15", "*caption2*frame.shadowThickness: 4", "*caption2*rc.orientation: vertical", "*caption2*button.labelString: PushButton", "*caption3*fontList: -adobe-helvetica-*-r-*-*-*-180-*-*-*-*-*-*", "*caption3*cw.wcClassName: XbaeCaption", "*caption3*cw.labelString: Multi\nLine\nCaption", "*caption3*cw.labelPosition: left", "*caption3*cw.labelAlignment: top", "*caption3*cw.labelOffset: 5", "*caption3*cw.labelTextAlignment: alignment_end", "*caption3*cw.Offset: 10", "*caption3*cw.leftAttachment: attach_form", "*caption3*cw.rightAttachment: attach_form", "*caption3*cw.bottomAttachment: attach_form", "*caption3*cw.topAttachment: attach_form", "*caption3*frame.marginWidth: 15", "*caption3*frame.marginHeight: 15", "*caption3*frame.shadowThickness: 4", "*caption3*rc.orientation: vertical", "*caption3*button.labelString: PushButton", "*caption4*fontList: -adobe-helvetica-*-r-*-*-*-180-*-*-*-*-*-*", "*caption4*cw.labelString: Caption:", "*caption4*cw.labelOffset: 5", "*caption4*text.columns: 10", "*caption5*fontList: -adobe-helvetica-*-r-*-*-*-180-*-*-*-*-*-*", "*caption5*cw1.labelString: ToggleBox 1", "*caption5*cw1.labelPosition: top", "*caption5*cw1.labelAlignment: left", "*caption5*cw1.labelOffset: -15", "*caption5*cw1.Offset: 10", "*caption5*cw1.leftAttachment: attach_form", "*caption5*cw1.rightAttachment: attach_form", "*caption5*cw1.topAttachment: attach_form", "*caption5*cw1.bottomAttachment: attach_position", "*caption5*cw1.bottomPosition: 50", "*caption5*cw2.labelString: ToggleBox 2", "*caption5*cw2.labelPosition: top", "*caption5*cw2.labelAlignment: left", "*caption5*cw2.labelOffset: -15", "*caption5*cw2.Offset: 10", "*caption5*cw2.leftAttachment: attach_form", "*caption5*cw2.rightAttachment: attach_form", "*caption5*cw2.bottomAttachment: attach_form", "*caption5*cw2.topAttachment: attach_position", "*caption5*cw2.topPosition: 50", "*caption5*frame.marginWidth: 15", "*caption5*frame.marginHeight: 15", "*caption5*frame.shadowThickness: 4", "*caption5*button.labelString: Toggle", NULL }; int main(int argc, char *argv[]) { Widget toplevel, rc, button; XtAppContext app; toplevel = XtVaAppInitialize(&app, "Caption", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif rc = XtVaCreateManagedWidget("rc", xmRowColumnWidgetClass, toplevel, NULL); button = XtVaCreateManagedWidget("button1", xmPushButtonWidgetClass, rc, NULL); XtAddCallback(button, XmNactivateCallback, (XtCallbackProc)popupCaptionTextF, (XtPointer)"caption1"); button = XtVaCreateManagedWidget("button2", xmPushButtonWidgetClass, rc, NULL); XtAddCallback(button, XmNactivateCallback, (XtCallbackProc)popupCaptionFrame, (XtPointer)"caption2"); button = XtVaCreateManagedWidget("button3", xmPushButtonWidgetClass, rc, NULL); XtAddCallback(button, XmNactivateCallback, (XtCallbackProc)popupCaptionFrame, (XtPointer)"caption3"); button = XtVaCreateManagedWidget("button4", xmPushButtonWidgetClass, rc, NULL); XtAddCallback(button, XmNactivateCallback, (XtCallbackProc)popupCaptionTextF, (XtPointer)"caption4"); button = XtVaCreateManagedWidget("button5", xmPushButtonWidgetClass, rc, NULL); XtAddCallback(button, XmNactivateCallback, (XtCallbackProc)popupCaptionToggle, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app); return 0; } /* ARGSUSED */ void popupCaptionTextF(Widget w, String name, XtPointer call_data) { Widget shell, cw; shell = XtCreatePopupShell(name, xmDialogShellWidgetClass, w, NULL, 0); cw = XtCreateWidget("cw", xbaeCaptionWidgetClass, shell, NULL, 0); XtVaCreateManagedWidget("text", xmTextFieldWidgetClass, cw, NULL); XtManageChild(cw); } /* ARGSUSED */ void popupCaptionFrame(Widget w, String name, XtPointer call_data) { Widget shell, form, cw, frame, rc; int i; shell = XtCreatePopupShell(name, xmDialogShellWidgetClass, w, NULL, 0); form = XtCreateWidget("form", xmFormWidgetClass, shell, NULL, 0); cw = XtVaCreateManagedWidget("cw", xbaeCaptionWidgetClass, form, NULL); frame = XtVaCreateManagedWidget("frame", xmFrameWidgetClass, cw, NULL); rc = XtVaCreateManagedWidget("rc", xmRowColumnWidgetClass, frame, NULL); for (i = 0; i < 3; i++) XtVaCreateManagedWidget("button", xmPushButtonWidgetClass, rc, NULL); XtManageChild(form); } /* ARGSUSED */ void popupCaptionToggle(Widget w, XtPointer client_data, XtPointer call_data) { Widget shell, form, cw, frame, rc; int i; shell = XtCreatePopupShell("caption5", xmDialogShellWidgetClass, w, NULL, 0); form = XtCreateWidget("form", xmFormWidgetClass, shell, NULL, 0); cw = XtVaCreateManagedWidget("cw1", xbaeCaptionWidgetClass, form, NULL); frame = XtVaCreateManagedWidget("frame", xmFrameWidgetClass, cw, NULL); rc = XmCreateRadioBox(frame, "rc", NULL, 0); XtManageChild(rc); for (i = 0; i < 4; i++) XtVaCreateManagedWidget("button", xmToggleButtonWidgetClass, rc, NULL); cw = XtVaCreateManagedWidget("cw2", xbaeCaptionWidgetClass, form, NULL); frame = XtVaCreateManagedWidget("frame", xmFrameWidgetClass, cw, NULL); rc = XmCreateRadioBox(frame, "rc", NULL, 0); XtManageChild(rc); for (i = 0; i < 4; i++) XtVaCreateManagedWidget("button", xmToggleButtonWidgetClass, rc, NULL); XtManageChild(form); } xbae-4.60.4/examples/caption/Makefile.in0000664000076400007640000003165110436577340015016 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = caption$(EXEEXT) subdir = examples/caption DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) caption_SOURCES = caption.c caption_OBJECTS = caption.$(OBJEXT) caption_LDADD = $(LDADD) am__DEPENDENCIES_1 = caption_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = caption.c DIST_SOURCES = caption.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/caption/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/caption/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done caption$(EXEEXT): $(caption_OBJECTS) $(caption_DEPENDENCIES) @rm -f caption$(EXEEXT) $(LINK) $(caption_LDFLAGS) $(caption_OBJECTS) $(caption_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/caption/Makefile.am0000664000076400007640000000061707530466164015005 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/caption/Makefile.am,v 1.17 2002/08/20 16:21:08 dannybackx Exp $ # noinst_PROGRAMS= caption EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/multifixed/0000777000076400007640000000000010436577410013540 500000000000000xbae-4.60.4/examples/multifixed/Imakefile0000664000076400007640000000035006761453116015267 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:42 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(multifixed) xbae-4.60.4/examples/multifixed/multifixed.c0000664000076400007640000001316010216371700015763 00000000000000/* * AUTHOR: Jay Schmidgall * * $Id: multifixed.c,v 1.11 2005/03/17 21:16:48 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #ifdef USE_EDITRES #include #include #endif #include #include #define USE_RENDER_TABLE 0 static String fallback[] = { "Multifixed*mw.shadowType: SHADOW_ETCHED_OUT", "Multifixed*mw.shadowThickness: 8", "Multifixed*mw.cellShadowThickness: 2", "Multifixed*mw.gridType: GRID_CELL_LINE", "Multifixed*mw.cellShadowType: shadow_in", "Multifixed*mw.visibleColumns: 2", "Multifixed*mw.visibleRows: 2", "Multifixed*mw.rows: 10", "Multifixed*mw.columns: 10", "Multifixed*mw.fixedRows: 2", "Multifixed*mw.fixedColumns: 2", "Multifixed*mw.trailingFixedRows: 2", "Multifixed*mw.trailingFixedColumns: 2", "Multifixed*mw.traverseFixedCells: True", "Multifixed*mw.columnWidths: 10, 5, 10, 5, 10, 5," " 10, 5, 10, 5, 10, 5", "Multifixed*mw.columnLabels: Zero, One, Two, Three, Four," " Five, Six, Seven, Eight, Nine", "Multifixed*mw.rowLabels: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9", #if USE_RENDER_TABLE "Multifixed*mw.renderTable: labels, italic, bold", "Multifixed*mw.renderTable.fontType: FONT_IS_FONT", "Multifixed*mw.renderTable.fontName: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*", "Multifixed*mw.renderTable.labels.fontType: FONT_IS_FONT", "Multifixed*mw.renderTable.labels.fontName: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*", "Multifixed*mw.renderTable.italic.fontType: FONT_IS_FONT", "Multifixed*mw.renderTable.italic.fontName: -*-helvetica-medium-o-*-*-10-*-*-*-*-*-*-*", "Multifixed*mw.renderTable.bold.fontType: FONT_IS_FONT", "Multifixed*mw.renderTable.bold.fontName: -*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*", #else "Multifixed*mw.fontList: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*," " -*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*=bold," " -*-helvetica-medium-o-*-*-10-*-*-*-*-*-*-*=italic", "Multifixed*mw.labelFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*", #endif #if 0 "Multifixed*mw.cellShadowThickness: 1", "Multifixed*mw.textShadowThickness: 0", "Multifixed*mw.cellHighlightThickness: 0", "Multifixed*mw.cellMarginHeight: 0", "Multifixed*mw.cellMarginWidth: 1", #endif NULL }; void LoadMatrix(Widget w) { String *cells[10]; static String rows[10][10] = { { "0,Zero", "0,One", "0,Two", "0,Three", "0,Four", "0,Five", "0,Six", "0, Seven", "0, Eight", "0, Nine" }, { "1,Zero", "1,One", "1,Two", "1,Three", "1,Four", "1,Five", "1,Six", "1, Seven", "1, Eight", "1, Nine" }, { "2,Zero", "2,One", "2,Two", "2,Three", "2,Four", "2,Five", "2,Six", "2, Seven", "2, Eight", "2, Nine" }, { "3,Zero", "3,One", "3,Two", "3,Three", "3,Four", "3,Five", "3,Six", "3, Seven", "3, Eight", "3, Nine" }, { "4,Zero", "4,One", "4,Two", "4,Three", "4,Four", "4,Five", "4,Six", "4, Seven", "4, Eight", "4, Nine" }, { "5,Zero", "5,One", "5,Two", "5,Three", "5,Four", "5,Five", "5,Six", "5, Seven", "5, Eight", "5, Nine" }, { "6,Zero", "6,One", "6,Two", "6,Three", "6,Four", "6,Five", "6,Six", "6, Seven", "6, Eight", "6, Nine" }, { "7,Zero", "7,One", "7,Two", "7,Three", "7,Four", "7,Five", "7,Six", "7, Seven", "7, Eight", "7, Nine" }, { "8,Zero", "8,One", "8,Two", "8,Three", "8,Four", "8,Five", "8,Six", "8, Seven", "8, Eight", "8, Nine" }, { "9,Zero", "9,One", "9,Two", "9,Three", "9,Four", "9,Five", "9,Six", "9, Seven", "9, Eight", "9, Nine" } }; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; cells[2] = &rows[2][0]; cells[3] = &rows[3][0]; cells[4] = &rows[4][0]; cells[5] = &rows[5][0]; cells[6] = &rows[6][0]; cells[7] = &rows[7][0]; cells[8] = &rows[8][0]; cells[9] = &rows[9][0]; XtVaSetValues(w, XmNcells, cells, NULL); } void bold(XtPointer data) { Widget mw = (Widget)data; static int row = 0; static int column = 0; int n_rows = XbaeMatrixNumRows(mw); int n_columns = XbaeMatrixNumColumns(mw); if (column % 2) { XbaeMatrixSetCellTag(mw, row, column, "italic"); } else { XbaeMatrixSetCellTag(mw, row, column, NULL); } if (column < n_columns - 1) { column++; } else { column = 0; if (row < n_rows - 1) { row++; } else { row = 0; } } XbaeMatrixSetCellTag(mw, row, column, "bold"); XtAppAddTimeOut( XtWidgetToApplicationContext(mw), 200, (XtTimerCallbackProc)bold, (XtPointer)mw); } int main(int argc, char *argv[]) { Widget toplevel, mw; XtAppContext app; int row, column, n_rows, n_columns; toplevel = XtVaAppInitialize(&app, "Multifixed", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, toplevel, NULL); LoadMatrix(mw); n_rows = XbaeMatrixNumRows(mw); n_columns = XbaeMatrixNumColumns(mw); for(row = 0; row < n_rows; row++) { for(column = 0; column < n_columns; column++) { if (column % 2) { XbaeMatrixSetCellTag(mw, row, column, "italic"); } } } bold(mw); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/multifixed/Makefile.in0000664000076400007640000003174510436577342015541 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = multifixed$(EXEEXT) subdir = examples/multifixed DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) multifixed_SOURCES = multifixed.c multifixed_OBJECTS = multifixed.$(OBJEXT) multifixed_LDADD = $(LDADD) am__DEPENDENCIES_1 = multifixed_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = multifixed.c DIST_SOURCES = multifixed.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/multifixed/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/multifixed/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done multifixed$(EXEEXT): $(multifixed_OBJECTS) $(multifixed_DEPENDENCIES) @rm -f multifixed$(EXEEXT) $(LINK) $(multifixed_LDFLAGS) $(multifixed_OBJECTS) $(multifixed_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/multifixed/Makefile.am0000664000076400007640000000063107530466166015520 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/multifixed/Makefile.am,v 1.17 2002/08/20 16:21:10 dannybackx Exp $ # noinst_PROGRAMS= multifixed EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ \ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/Mri/0000777000076400007640000000000010436577410012115 500000000000000xbae-4.60.4/examples/Mri/Mri.c0000664000076400007640000000376607101535213012730 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Mri.c,v 1.2 2000/04/26 09:44:43 amai Exp $ */ #include #include #include #include #include #define RCO(name, func) WcRegisterConstructor(app, name, func) #define RCN(name, class) WcRegisterClassName(app, name, class) #define RCP(name, class) WcRegisterClassPtr(app, name, class) extern void MriRegisterMotif(); int main(int argc, char *argv[]) { Widget toplevel; XtAppContext app; toplevel = XtAppInitialize(&app, "Mri", NULL, 0, &argc, argv, NULL, NULL, 0); MriRegisterMotif(app); RCN("XbaeMatrix", xbaeMatrixWidgetClass); RCP("xbaeMatrixWidgetClass", xbaeMatrixWidgetClass); RCN("XbaeCaption", xbaeCaptionWidgetClass); RCP("xbaeCaptionWidgetClass", xbaeCaptionWidgetClass); WcWidgetCreation(toplevel); XtRealizeWidget(toplevel); XtAppMainLoop(app); exit(0); } xbae-4.60.4/examples/Mri/Imakefile0000664000076400007640000000105306761453123013643 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:47 danny Exp $ #include "../../Xbae.tmpl" #if USE_EDITRES EDITRES_LIBS = -lXmu -lXext DEFINES = -DUSE_EDITRES -DNO_PROTO #else DEFINES = -D_NO_PROTO #endif LOCAL_LDFLAGS = -L../../src $(EXTRA_LDOPTIONS) LOCAL_LIBRARIES = -lXbae -lXmp -lXm -lWc $(X11R6_LIBS) $(EDITRES_LIBS) -lXt -lX11 $(SVR4_LIBS) DEPLIBS = INCLUDES = -I../../src UninstalledSimpleProgramTarget(Mri) xbae-4.60.4/examples/Mri/Makefile.in0000664000076400007640000003162510436577337014117 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ # # $Header: /cvsroot/xbae/Xbae/examples/Mri/Makefile.am,v 1.17 2002/08/20 16:21:06 dannybackx Exp $ # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ @HaveWcl_TRUE@noinst_PROGRAMS = Mri$(EXEEXT) subdir = examples/Mri DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) Mri_SOURCES = Mri.c Mri_OBJECTS = Mri.$(OBJEXT) Mri_LDADD = $(LDADD) am__DEPENDENCIES_1 = Mri_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = Mri.c DIST_SOURCES = Mri.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include \ -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ LDADD = ../../src/libXbae.la \ -lWc $(link_motif) @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/Mri/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/Mri/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done Mri$(EXEEXT): $(Mri_OBJECTS) $(Mri_DEPENDENCIES) @rm -f Mri$(EXEEXT) $(LINK) $(Mri_LDFLAGS) $(Mri_OBJECTS) $(Mri_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/Mri/Makefile.am0000664000076400007640000000060107530466162014066 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/Mri/Makefile.am,v 1.17 2002/08/20 16:21:06 dannybackx Exp $ # if HaveWcl noinst_PROGRAMS= Mri endif EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include \ -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ LDADD= ../../src/libXbae.la \ -lWc $(link_motif) @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/examples/Makefile.am0000664000076400007640000000045607527672003013346 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/Makefile.am,v 1.9 2002/08/18 10:16:35 dannybackx Exp $ # SUBDIRS = add caption choice colors draw dynamic fifteen input list \ matrix multibyte multifixed select-drag select-push traversal \ tests Mri \ builderXcessory EXTRA_DIST = Imakefile extest testall xbae-4.60.4/examples/fifteen/0000777000076400007640000000000010436577410013006 500000000000000xbae-4.60.4/examples/fifteen/Imakefile0000664000076400007640000000034506761453111014534 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # # $Id: Imakefile,v 1.1 1999/08/27 09:11:37 danny Exp $ #include "../../Xbae.tmpl" UninstalledSimpleProgramTarget(fifteen) xbae-4.60.4/examples/fifteen/Makefile.in0000664000076400007640000003165110436577341015002 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = fifteen$(EXEEXT) subdir = examples/fifteen DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) fifteen_SOURCES = fifteen.c fifteen_OBJECTS = fifteen.$(OBJEXT) fifteen_LDADD = $(LDADD) am__DEPENDENCIES_1 = fifteen_DEPENDENCIES = ../../src/libXbae.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = fifteen.c DIST_SOURCES = fifteen.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ EXTRA_DIST = Imakefile INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ @UseEditres_FALSE@XMU = @UseEditres_TRUE@XMU = -lXmu LDADD = ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps examples/fifteen/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps examples/fifteen/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done fifteen$(EXEEXT): $(fifteen_OBJECTS) $(fifteen_DEPENDENCIES) @rm -f fifteen$(EXEEXT) $(LINK) $(fifteen_LDFLAGS) $(fifteen_OBJECTS) $(fifteen_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # 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: xbae-4.60.4/examples/fifteen/fifteen.c0000644000076400007640000001271610432122320014473 00000000000000/* * AUTHOR: Jay Schmidgall * * $Id: fifteen.c,v 1.10 2006/05/15 15:57:04 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #ifdef USE_EDITRES #include #include #endif #include #include #include static String fallback[] = { "Fifteen*mw.gridType: grid_cell_shadow", "Fifteen*mw.cellShadowType: shadow_out", "Fifteen*mw.cellShadowThickness: 1", "Fifteen*mw.rows: 4", "Fifteen*mw.columns: 4", "Fifteen*mw.visibleRows: 4", "Fifteen*mw.visibleColumns: 4", "Fifteen*mw.columnWidths: 2, 2, 2, 2", "Fifteen*mw.columnAlignments: ALIGNMENT_CENTER, ALIGNMENT_CENTER," " ALIGNMENT_CENTER, ALIGNMENT_CENTER", "Fifteen*mw.traversalOn: off", "Fifteen*mw.translations: #replace\\n" " : SelectCell()", NULL }; typedef struct { int row, column, count; Widget text; } Empty; void LoadMatrix(Widget w) { String *cells[4]; static String rows[4][4] = { { "3", "1", "6", "2"}, { "5", "7", "15", "13"}, { "4", "11", "8", "9"}, { "14", "10", "12", ""} }; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; cells[2] = &rows[2][0]; cells[3] = &rows[3][0]; XtVaSetValues(w, XmNcells, cells, NULL); } #define REDRAW_VALUE 0x0 void cbSelect(Widget w, XtPointer client, XtPointer call) { XbaeMatrixSelectCellCallbackStruct *cbs = (XbaeMatrixSelectCellCallbackStruct *) call; Empty *empty; XtVaGetValues(w, XmNuserData, (XtPointer) &empty, NULL); if ( ( cbs->row == empty->row && ( cbs->column == empty->column - 1 || cbs->column == empty->column + 1) ) || ( cbs->column == empty->column && ( cbs->row == empty->row - 1 || cbs->row == empty->row + 1) ) ) { char buf[20]; /* Note: if we set cbs->row, cbs->column first, then * the value that 'cell' points to becomes the empty * string! */ XbaeMatrixSetCell(w, empty->row, empty->column, XbaeMatrixGetCell(w, cbs->row, cbs->column)); XbaeMatrixSetCell(w, cbs->row, cbs->column, ""); XbaeMatrixSetCellShadow(w, empty->row, empty->column, 0); XbaeMatrixSetCellShadow(w, cbs->row, cbs->column, XmSHADOW_IN); empty->row = cbs->row; empty->column = cbs->column; empty->count++; /* Check if won */ if ( 0 == strcmp(XbaeMatrixGetCell(w, 0, 0), "1") && 0 == strcmp(XbaeMatrixGetCell(w, 0, 1), "2") && 0 == strcmp(XbaeMatrixGetCell(w, 0, 2), "3") && 0 == strcmp(XbaeMatrixGetCell(w, 0, 3), "4") && 0 == strcmp(XbaeMatrixGetCell(w, 1, 0), "5") && 0 == strcmp(XbaeMatrixGetCell(w, 1, 1), "6") && 0 == strcmp(XbaeMatrixGetCell(w, 1, 2), "7") && 0 == strcmp(XbaeMatrixGetCell(w, 1, 3), "8") && 0 == strcmp(XbaeMatrixGetCell(w, 2, 0), "9") && 0 == strcmp(XbaeMatrixGetCell(w, 2, 1), "10") && 0 == strcmp(XbaeMatrixGetCell(w, 2, 2), "11") && 0 == strcmp(XbaeMatrixGetCell(w, 2, 3), "12") && 0 == strcmp(XbaeMatrixGetCell(w, 3, 0), "13") && 0 == strcmp(XbaeMatrixGetCell(w, 3, 1), "14") && 0 == strcmp(XbaeMatrixGetCell(w, 3, 2), "15") ) { XtRemoveCallback(w, XmNselectCellCallback, cbSelect, (XtPointer) NULL); sprintf(buf, "Move %d WINS!", empty->count); } else { sprintf(buf, "Move %d", empty->count); } XmTextFieldSetString(empty->text, buf); } } int main(int argc, char *argv[]) { XtAppContext app; Widget toplevel, form, mw; int rows, columns; Empty *empty = XtNew(Empty); toplevel = XtVaAppInitialize(&app, "Fifteen", NULL, 0, &argc, argv, fallback, NULL); #ifdef USE_EDITRES XtAddEventHandler( toplevel, (EventMask)0, True, _XEditResCheckMessages, NULL); #endif form = XtVaCreateWidget("form", xmFormWidgetClass, toplevel, NULL); mw = XtVaCreateManagedWidget("mw", xbaeMatrixWidgetClass, form, XmNtopOffset, 4, XmNtopAttachment, XmATTACH_FORM, XmNleftOffset, 4, XmNleftAttachment, XmATTACH_FORM, XmNrightOffset, 4, XmNrightAttachment,XmATTACH_FORM, XmNuserData, (XtPointer) empty, NULL); empty->text = XtVaCreateManagedWidget( "text", xmTextFieldWidgetClass, form, XmNvalue, "Move 0", XmNeditable, False, XmNcursorPositionVisible, False, XmNcolumns, 8, XmNtopOffset, 4, XmNtraversalOn, False, XmNmarginWidth, 2, XmNmarginHeight, 2, XmNtopWidget, mw, XmNtopAttachment, XmATTACH_WIDGET, XmNleftWidget, mw, XmNleftAttachment, XmATTACH_OPPOSITE_WIDGET, XmNrightOffset, 4, XmNrightAttachment, XmATTACH_FORM, XmNbottomOffset, 4, XmNbottomAttachment, XmATTACH_FORM, NULL); XtVaGetValues(mw, XmNrows, &rows, XmNcolumns, &columns, NULL); empty->row = rows - 1; empty->column = columns - 1; empty->count = 0; XbaeMatrixSetCellShadow(mw, empty->row, empty->column, XmSHADOW_IN); XtAddCallback(mw, XmNselectCellCallback, cbSelect, (XtPointer) NULL); LoadMatrix(mw); XtManageChild(form); XtRealizeWidget(toplevel); XtAppMainLoop(app); /*NOTREACHED*/ return 0; } xbae-4.60.4/examples/fifteen/Makefile.am0000664000076400007640000000061707530466165014771 00000000000000# # $Header: /cvsroot/xbae/Xbae/examples/fifteen/Makefile.am,v 1.17 2002/08/20 16:21:09 dannybackx Exp $ # noinst_PROGRAMS= fifteen EXTRA_DIST= Imakefile INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@ if UseEditres XMU=-lXmu else XMU= endif LDADD= ../../src/libXbae.la \ $(link_motif) @X_LIBS@ $(XMU) -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} xbae-4.60.4/missing0000755000076400007640000002540610432117257011065 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # 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=: # 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' 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 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` 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 [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -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 [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -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 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -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 's/.*-o \([^ ]*\).*/\1/p'` 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: xbae-4.60.4/include/0000777000076400007640000000000010436577407011201 500000000000000xbae-4.60.4/include/Imakefile0000664000076400007640000000023307442761026012721 00000000000000# $Header: /cvsroot/xbae/Xbae/include/Imakefile,v 1.3 2002/03/10 22:45:42 amai Exp $ #include "../Xbae.tmpl" #define IHaveSubdirs SUBDIRS = Xbae xbae-4.60.4/include/XbaeDebug.h0000664000076400007640000001247610351623072013112 00000000000000/** * * $Header: /cvsroot/xbae/Xbae/include/XbaeDebug.h,v 1.12 2005/12/19 21:29:30 tobiasoed Exp $ * * Copyright (C) 1995 Free Software Foundation, Inc. * Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 LessTif Development Team * * This file is part of the GNU LessTif Library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * **/ #ifndef _XBAE_DEBUG_H #define _XBAE_DEBUG_H #ifndef __GNUC__ /* * GNU C defines __FUNCTION__. * Pretend that this extension exists for those environments that lack it. */ #define __FUNCTION__ "(not known)" #endif /* __GNUC__ */ #include /* initialize debug system */ Boolean _XbaeDebugInit(void); /* turn Debugging on/off */ void _XbaeDebugSet(Boolean flag); /* toggle Debugging */ void _XbaeDebugToggle(void); /* query about debugging */ Boolean _XbaeDebugQueryState(void); /* * Print a widget tree */ void _XbaeDebugPrintTree(Widget w); void _XbaeDebugPrintCompleteTree(Widget w); /* * State of a widget */ const char *_XbaeDebugState(Widget w); /* * Print an Arg list */ void _XbaeDebugPrintArgList(const char *fn, Widget w, ArgList al, int n, Boolean Get); /* * Convert types into string format */ const char *_XbaeDebugFocusDetail2String(int type); const char *_XbaeDebugFocusMode2String(int type); const char *_XbaeDebugEventType2String(int type); #if XmVERSION > 1 const char *_XbaeDebugComboBoxType2String(unsigned char type); #endif const char *_XbaeDebugGeoAction2String(int action); const char *_XbaeDebugDeleteResponse2String(int d); const char *_XbaeDebugGeometryResult2String(XtGeometryResult r); const char *_XbaeDebugDragAndDropMessageType2String(unsigned char r); const char *_XbaeDebugDragType2String(unsigned char r); const char *_XbaeDebugWidgetGeometry2String(XtWidgetGeometry *g); const char *_XbaeDebugAttachment2String(int i); const char *_XbaeDebugMenuFocusOp2String(int f); const char *_XbaeDebugMenuEnum2String(int f); const char *_XbaeDebugMwmInput2String(int a); const char *_XbaeDebugBoolean2String(Boolean b); const char *_XbaeDebugXmString2String(XmString xms); const char *_XbaeDebugPacking2String(unsigned char p); const char *_XbaeDebugRcType2String(unsigned char t); const char *_XbaeDebugAlignment2String(int n); const char *_XbaeDebugMenuType2String(int n); const char *_XbaeDebugNavigability2String(unsigned char n); const char *_XbaeDebugHighlightMode2String(int mode); const char *_XbaeDebugSelectionPolicy2String(int n); const char *_XbaeDebugReason2String(int reason); const char *_XbaeDebugFocusChange2String(XmFocusChange c); const char *_XbaeDebugNavigationType2String(XmNavigationType nt); const char *_XbaeDebugEditMode2String(int n); const char *_XbaeDebugSBDisplayPolicy2String(int n); const char *_XbaeDebugSBPlacement2String(int n); const char *_XbaeDebugListSizePolicy2String(int n); const char *_XbaeDebugResizePolicy2String(int n); const char *_XbaeDebugScrollingPolicy2String(unsigned char r); const char *_XbaeDebugDialogStyle2String(int a); const char *_XbaeDebugShadowTypeToString(unsigned char s); /* * Debug printing functions */ void _XbaeDebug(const char *fn, Widget w, const char *fmt, ...); void _XbaeDebug2(const char *fn, Widget w, Widget c, const char *fmt, ...); void _XbaeDebug0(const char *fn, Widget w, const char *fmt, ...); void _XbaeDebugPrintString(const char *s); void _XbaeDebugAction(const char *fn, Widget w, const String action, const String *params, const Cardinal *num_params); #ifdef XBAE_PRODUCTION #define _XbaeDebugInDebug(x, y) False #define DEBUGOUT(x) #ifdef USE_DMALLOC #undef USE_DMALLOC #endif #else Boolean _XbaeDebugInDebug(const char *fn, Widget w); #define DEBUGOUT(x) x #endif /* XBAE_PRODUCTION */ /* * Some stuff to produce sensible tracing with dmalloc. * Check the INSTALL(.html) doc for references about the * dmalloc package! */ #ifdef WITH_DMALLOC #include /* Our Xt*alloc() replacements */ XtPointer _XbaeDebugMalloc(const char *f, int l, Cardinal size); XtPointer _XbaeDebugCalloc(const char *f, int l, Cardinal count, Cardinal size); XtPointer _XbaeDebugRealloc(const char *f, int l, XtPointer p, Cardinal size); void _XbaeDebugFree(const char *f, int l, XtPointer p); #ifdef XtMalloc #undef XtMalloc #endif #define XtMalloc(x) _XbaeDebugMalloc(__FILE__, __LINE__, x) #ifdef XtCalloc #undef XtCalloc #endif #define XtCalloc(x,y) _XbaeDebugCalloc(__FILE__, __LINE__, x, y) #ifdef XtRealloc #undef XtRealloc #endif #define XtRealloc(x,y) _XbaeDebugRealloc(__FILE__, __LINE__, x, y) #ifdef XtFree #undef XtFree #endif #define XtFree(x) _XbaeDebugFree(__FILE__, __LINE__, x) #else #ifdef WITH_DBMALLOC #include #endif /* WITH_DBMALLOC */ #endif /* WITH_DMALLOC */ #endif /* _XBAE_DEBUG_H */ xbae-4.60.4/include/Xbae/0000777000076400007640000000000010436577407012060 500000000000000xbae-4.60.4/include/Xbae/Shadow.h0000664000076400007640000000357510133773432013374 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Shadow.h,v 1.11 2004/10/15 16:13:14 dannybackx Exp $ */ /* * Shadow.h created by Andrew Lister (30 October, 1995) */ #ifndef _Xbae_Shadow_h #define _Xbae_Shadow_h #include #ifdef __cplusplus extern "C" { #endif void xbaeDrawLabelShadow(XbaeMatrixWidget mw, Window win, int x, int y, int width, int height, Boolean pressed); void xbaeDrawCellShadow(XbaeMatrixWidget mw, Window win, int row, int column, int x, int y, int width, int height); void xbaeDrawCellHighlight(XbaeMatrixWidget mw, Window win, GC gc, int row, int column, int x, int y, int width, int height, unsigned char hl); #ifdef __cplusplus } #endif #endif /* _Xbae_Shadow_h */ xbae-4.60.4/include/Xbae/Imakefile0000664000076400007640000000131707442761026013604 00000000000000XCOMM XCOMM $Id: Imakefile,v 1.4 2002/03/10 22:45:42 amai Exp $ XCOMM #include "../../Xbae.tmpl" HEADERS = Matrix.h MatrixP.h Clip.h ClipP.h Caption.h \ CaptionP.h Input.h InputP.h XCOMM Rule to install the header files #if INSTALL_HEADERS InstallMultiple($(HEADERS),$(INCROOT)/Xbae-$(XBAEVERSION)) #endif /* For the case one forgeting to "make World" or at least "make includes" */ all:: patchlevel.h includes:: patchlevel.h depend:: clean:: $(RM) patchlevel.h XCOMM Rule for translating configure's .h.in file to a real .h patchlevel.h: patchlevel.h.in $(SED) 's/@XBAE_MAJOR@/$(XbaeVERSION)/; \ @@\ s/@XBAE_MINOR@/$(XbaeREVISION)/; \ @@\ s/@XBAE_PICO@/$(XbaeUPDATE)/' < $@.in > $@ xbae-4.60.4/include/Xbae/Methods.h0000644000076400007640000000645310432427471013547 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Methods.h,v 1.19 2006/05/16 19:59:53 tobiasoed Exp $ */ /* * Methods.h created by Andrew Lister (7 August, 1995) */ #ifndef _Xbae_Methods_h #define _Xbae_Methods_h #include #ifdef __cplusplus extern "C" { #endif void xbaeRelayout(XbaeMatrixWidget); void xbaeResize(XbaeMatrixWidget); /* * New Matrix methods */ void xbaeUpdateTextField(XbaeMatrixWidget mw, Boolean updateValue); void xbaeUpdateTextFieldFont(XbaeMatrixWidget mw, XrmQuark qtag); void xbaeSetCell(XbaeMatrixWidget, int, int, const String, Boolean); void xbaeModifyVerifyCB(Widget, XtPointer, XtPointer); void xbaeValueChangedCB(Widget, XtPointer, XtPointer); void xbaeFocusCB(Widget, XtPointer, XtPointer); void xbaeLosingFocusCB(Widget, XtPointer, XtPointer); void xbaeEditCell(XbaeMatrixWidget, XEvent *, int, int, String *, Cardinal); void xbaeSelectCell(XbaeMatrixWidget, int, int); void xbaeSelectRow(XbaeMatrixWidget, int); void xbaeSelectColumn(XbaeMatrixWidget, int); void xbaeDeselectAll(XbaeMatrixWidget); void xbaeSelectAll(XbaeMatrixWidget); void xbaeDeselectCell(XbaeMatrixWidget, int, int); void xbaeDeselectRow(XbaeMatrixWidget, int); void xbaeDeselectColumn(XbaeMatrixWidget, int); String xbaeGetCell(XbaeMatrixWidget, int, int); Boolean xbaeCommitEdit(XbaeMatrixWidget, XEvent *, Boolean); void xbaeCancelEdit(XbaeMatrixWidget, Boolean); void xbaeAddRows(XbaeMatrixWidget, int, String *, String *, Pixel *, Pixel *, int); void xbaeAddVarRows(XbaeMatrixWidget, int, String *, String *, short *, int *, unsigned char *, unsigned char *, Pixel *, Pixel *, int); void xbaeDeleteRows(XbaeMatrixWidget, int, int); void xbaeAddColumns(XbaeMatrixWidget, int, String *, String *, short *, int *, unsigned char *, unsigned char *, Pixel *, Pixel *, int); void xbaeDeleteColumns(XbaeMatrixWidget, int, int); void xbaeSetRowColors(XbaeMatrixWidget, int, Pixel *, int, Boolean); void xbaeSetColumnColors(XbaeMatrixWidget, int, Pixel *, int, Boolean); void xbaeSetCellColor(XbaeMatrixWidget, int, int, Pixel, Boolean); void xbaeShowColumnArrows(XbaeMatrixWidget,int , Boolean); #ifdef __cplusplus } #endif #endif /* _Xbae_Methods_h */ xbae-4.60.4/include/Xbae/Clip.h0000664000076400007640000000441710144636157013036 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright (c) 1999-2003 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * ClipWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Clip.h,v 1.10 2004/11/11 10:18:23 dannybackx Exp $ */ /* * Clip.h - Public definitions for Clip widget */ #ifndef _Xbae_Clip_h #define _Xbae_Clip_h #include #ifdef __cplusplus extern "C" { #endif /* Resources: * Name Class RepType Default Value * ---- ----- ------- ------------- * exposeProc Function Function NULL * focusCallback Callback Callback NULL */ #define XmNexposeProc "exposeProc" typedef void (*XbaeClipExposeProc)(Widget w, XRectangle *expose, XEvent *event, Region r); #ifdef WIN32 #define INTERNALREF externalref __declspec(dllimport) #else #define INTERNALREF extern #endif /* Class record constants */ INTERNALREF WidgetClass xbaeClipWidgetClass; #undef INTERNALREF typedef struct _XbaeClipClassRec *XbaeClipWidgetClass; typedef struct _XbaeClipRec *XbaeClipWidget; /* * External interfaces to class methods */ extern void XbaeClipRedraw(Widget); extern void XbaeClipScrollVert(Widget w, GC gc, int delta); extern void XbaeClipScrollHoriz(Widget w, GC gc, int delta); #ifdef __cplusplus } #endif #endif /* _Xbae_Clip_h */ xbae-4.60.4/include/Xbae/ClipP.h0000664000076400007640000000547210213473046013151 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * ClipWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: ClipP.h,v 1.9 2005/03/09 04:05:58 tobiasoed Exp $ */ /* * ClipP.h - Private definitions for Clip widget */ #ifndef _Xbae_ClipP_h #define _Xbae_ClipP_h #include #include #ifdef __cplusplus extern "C" { #endif /* * New data structures for the ScrollMgr code */ typedef struct _SmScrollNode { int x; int y; struct _SmScrollNode *next; struct _SmScrollNode *prev; } SmScrollNodeRec, *SmScrollNode; typedef struct _SmScrollMgr { int offset_x; int offset_y; int scroll_count; SmScrollNode scroll_queue; Boolean scrolling; } SmScrollMgrRec, *SmScrollMgr; /* * New type for class method */ typedef void (*XbaeClipRedrawProc)(Widget); /* * New fields for the Clip widget class record */ typedef struct { XbaeClipRedrawProc redraw; XtPointer extension; } XbaeClipClassPart; /* * Full class record declaration */ typedef struct _XbaeClipClassRec { CoreClassPart core_class; XmPrimitiveClassPart primitive_class; XbaeClipClassPart clip_class; } XbaeClipClassRec; extern XbaeClipClassRec xbaeClipClassRec; /* * New inheritance constant */ #define XbaeInheritRedraw ((XbaeClipRedrawProc) _XtInherit) /* * New fields for the Clip widget record */ typedef struct { /* resources */ XbaeClipExposeProc expose_proc; /* function to call on expose */ /* private state */ SmScrollMgrRec scroll; } XbaeClipPart; /* * Full instance record declaration */ typedef struct _XbaeClipRec { CorePart core; XmPrimitivePart primitive; XbaeClipPart clip; } XbaeClipRec; #ifdef __cplusplus } #endif #endif /* _Xbae_ClipP_h */ xbae-4.60.4/include/Xbae/patchlevel.h0000664000076400007640000000330610436577375014304 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: patchlevel.h.in,v 1.6 2002/03/08 16:12:23 amai Exp $ */ #ifndef _Xbae_patchlevel_h #define _Xbae_patchlevel_h #ifndef XbaeVERSION #define XbaeVERSION 4 #endif #ifndef XbaeREVISION #define XbaeREVISION 60 #endif #ifndef XbaeUPDATE #define XbaeUPDATE 4 #endif #ifndef XbaeVersion #define XbaeVersion (XbaeVERSION * 10000 + XbaeREVISION * 100 + XbaeUPDATE) #endif #ifndef XbaeVersionTxt #define XbaeVersionTxt "@(#) Xbae Widget Set, version 4.60.4" #endif #endif xbae-4.60.4/include/Xbae/Draw.h0000664000076400007640000000364310223601006013023 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Draw.h,v 1.18 2005/04/02 20:35:18 tobiasoed Exp $ */ /* * Draw.h created by Andrew Lister (30 October, 1995) */ #ifndef _Xbae_Draw_h #define _Xbae_Draw_h #include #ifdef __cplusplus extern "C" { #endif typedef struct { XbaeMatrixDrawCellCallbackStruct drawCB; XrmQuark qtag; } XbaeMatrixCellValuesStruct; void xbaeGetCellValues(XbaeMatrixWidget, int, int, Boolean, XbaeMatrixCellValuesStruct *); void xbaeChangeHighlight(XbaeMatrixWidget, int, int, unsigned char); void xbaeDrawCell(XbaeMatrixWidget, int, int); void xbaeDrawColumnLabel(XbaeMatrixWidget mw, int column, Boolean pressed); void xbaeDrawRowLabel(XbaeMatrixWidget mw, int row, Boolean pressed); #ifdef __cplusplus } #endif #endif /* _Xbae_Draw_h */ xbae-4.60.4/include/Xbae/Matrix.h0000644000076400007640000010141510432122320013363 00000000000000/* * Copyright (c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright (c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Matrix.h,v 1.48 2006/05/15 15:57:04 tobiasoed Exp $ */ #ifndef _Xbae_Matrix_h #define _Xbae_Matrix_h /* * Matrix Widget public include file */ #include #include #include #ifdef __cplusplus extern "C" { #endif #if XmVERSION < 2 typedef char *XmStringTag; #define XmUNSPECIFIED_PIXEL ((Pixel) (~0)) #endif /* get version info */ extern const char *XbaeGetVersionTxt(void); extern int XbaeGetVersionNum(void); extern const char *XbaeGetXmVersionTxt(void); extern int XbaeGetXmVersionNum(void); /* Resources: * Name Class RepType Default Value * ---- ----- ------- ------------- * allowColumnResize AllowResize Boolean False * allowRowResize AllowResize Boolean False * altRowCount AltRowCount int 1 * boldLabels BoldLabels Boolean False * buttonLabels ButtonLabels Boolean False * buttonLabelBackground Color Pixel dynamic * calcCursorPosition CalcCursorPosition Boolean False * cellBackgrounds Colors PixelTable NULL * cellHighlightThickness HighlightThickness HorizontalDimension 2 * cellMarginHeight MarginHeight VerticalDimension 5 * cellMarginWidth MarginWidth HorizontalDimension 5 * cells Cells StringTable NULL * cellShadowThickness ShadowThickness Dimension 2 * cellShadowType ShadowType unsigned char SHADOW_OUT * cellShadowTypes CellShadowTypes ShadowTypeTable NULL * cellUserData CellUserData UserDataTable NULL * clipWindow XmCClipWindow Widget NULL (get only) * colors Colors PixelTable NULL * columnAlignments Alignments AlignmentArray dynamic * columnButtonLabels ButtonLabels BooleanArray NULL * columnFontBold ButtonLabels BooleanArray NULL * columnLabelAlignments Alignments AlignmentArray dynamic * columnLabelColor Color Pixel dynamic * columnLabels Labels StringArray NULL * xmColumnLabels XmLabels XmStringTable NULL * columnMaxLengths ColumnMaxLengths MaxLengthArray NULL * columnShadowTypes ShadowTypes ShadowTypeArray NULL * columnUserData UserDatas UserDataArray NULL * columnWidths ColumnWidths WidthArray NULL * columnWidthInPixels ColumnWidthInPixels Boolean False * rowHeightInPixels RowHeightInPixels Boolean True * columns Columns int 0 * defaultActionCallback Callback Callback NULL * doubleClickInterval Interval int dynamic * drawCellCallback Callback Callback NULL * enterCellCallback Callback Callback NULL * evenRowBackground Background Pixel dynamic * fill Fill Boolean False * vertFill Fill Boolean False * horzFill Fill Boolean False * fixedColumns FixedColumns Dimension 0 * fixedRows FixedRows Dimension 0 * fontList FontList FontList fixed * labelFont FontList FontList fixed * gridLineColor Color Pixel dynamic * gridType GridType GridType XmGRID_CELL_LINE * highlightedCells HighlightedCells HighlightTable dynamic * horizonalScrollBar HorizonalScrollBar Widget NULL (get only) * horizontalScrollBarDisplayPolicy * XmCMatrixScrollBarDisplayPolicy * unsigned char AS_NEEDED * labelActivateCallback Callback Callback NULL * leaveCellCallback Callback Callback NULL * leftColumn LeftColumn int 0 * modifyVerifyCallback Callback Callback NULL * multiLineCell MultiLineCell Boolean False * oddRowBackground Background Pixel NULL * processDragCallback Callback Callback NULL * resizeCallback Callback Callback NULL * resizeColumnCallback Callback Callback NULL * resizeRowCallback Callback Callback NULL * reverseSelect reverseSelect Boolean False * rowButtonLabels ButtonLabels BooleanArray NULL * rowHeights RowHeights WidthArray NULL * rowLabelAlignment Alignment Alignment XmALIGNMENT_END * rowLabelColor Color Pixel dynamic * rowLabelWidth RowLabelWidth Short dynamic * rowLabels Labels StringArray NULL * rowShadowTypes ShadowTypes ShadowTypeArray NULL * rowUserData UserDatas UserDataArray NULL * rows Rows int 0 * selectCellCallback Callback Callback NULL * selectedBackground Color Pixel dynamic * selectedCells SelectedCells BooleanTable dynamic * selectedForeground Color Pixel dynamic * selectScrollVisible SelectScrollVisible Boolean True * space Space Dimension 6 * shadowType ShadowType unsigned char SHADOW_IN * textBackground Backgound Pixel dynamic * textField TextField Widget NULL (get only) * textShadowThickness TextShadowThickness Dimension 0 * textTranslations Translations TranslationTable dynamic * topRow TopRow int 0 * trailingFixedColumns TrailingFixedColumns Dimension 0 * trailingFixedRows TrailingFixedRows Dimension 0 * traverseCellCallback Callback Callback NULL * traverseFixedCells TraverseFixedCells Boolean False * underlinedCells UnderlinedCells BooleanTable dynamic * underlinePosition UnderlinePosition Position 1 * underlineWidth UnderlineWidth Dimension 1 * useXbaeInput UseXbaeInput Boolean True * valueChangedCallback Callback Callback NULL * verticalScrollBar VerticalScrollBar Widget NULL (get only) * verticalScrollBarDisplayPolicy * XmCMatrixScrollBarDisplayPolicy * unsigned char AS_NEEDED * visibleColumns VisibleColumns Dimension 0 * visibleRows VisibleRows Dimension 0 * writeCellCallback Callback Callback NULL */ #ifndef XmNallowColumnResize #define XmNallowColumnResize "allowColumnResize" #endif #ifndef XmNallowRowResize #define XmNallowRowResize "allowRowResize" #endif #ifndef XmNaltRowCount #define XmNaltRowCount "altRowCount" #endif #ifndef XmNboldLabels #define XmNboldLabels "boldLabels" #endif #ifndef XmNbuttonLabels #define XmNbuttonLabels "buttonLabels" #endif #ifndef XmNbuttonLabelBackground #define XmNbuttonLabelBackground "buttonLabelBackground" #endif #ifndef XmNcalcCursorPosition #define XmNcalcCursorPosition "calcCursorPosition" #endif #ifndef XmNcellBackgrounds #define XmNcellBackgrounds "cellBackgrounds" #endif #ifndef XmNcellHighlightThickness #define XmNcellHighlightThickness "cellHighlightThickness" #endif #ifndef XmNcellMarginHeight #define XmNcellMarginHeight "cellMarginHeight" #endif #ifndef XmNcellMarginWidth #define XmNcellMarginWidth "cellMarginWidth" #endif #ifndef XmNcellShadowType #define XmNcellShadowType "cellShadowType" #endif #ifndef XmNcellShadowTypes #define XmNcellShadowTypes "cellShadowTypes" #endif #ifndef XmNcellShadowThickness #define XmNcellShadowThickness "cellShadowThickness" #endif #ifndef XmNcellUserData #define XmNcellUserData "cellUserData" #endif #ifndef XmNcellWidgets #define XmNcellWidgets "cellWidgets" #endif #ifndef XmNcells #define XmNcells "cells" #endif #ifndef XmNcolors #define XmNcolors "colors" #endif #ifndef XmNcolumnAlignments #define XmNcolumnAlignments "columnAlignments" #endif #ifndef XmNcolumnButtonLabels #define XmNcolumnButtonLabels "columnButtonLabels" #endif #ifndef XmNcolumnFontBold #define XmNcolumnFontBold "columnFontBold" #endif #ifndef XmNshowColumnArrows #define XmNshowColumnArrows "showColumnArrows" #endif #ifndef XmNcolumnLabelAlignments #define XmNcolumnLabelAlignments "columnLabelAlignments" #endif #ifndef XmNcolumnLabelBackground #define XmNcolumnLabelBackground "columnLabelBackground" #endif #ifndef XmNcolumnLabelColor #define XmNcolumnLabelColor "columnLabelColor" #endif #ifndef XmNcolumnLabels #define XmNcolumnLabels "columnLabels" #endif #ifndef XmNxmColumnLabels #define XmNxmColumnLabels "xmColumnLabels" #endif #ifndef XmNXmColumnLabels /* For backwards compatibility */ #define XmNXmColumnLabels XmNxmColumnLabels #endif #ifndef XmNxmRowLabels #define XmNxmRowLabels "xmRowLabels" #endif #ifndef XmNcolumnMaxLengths #define XmNcolumnMaxLengths "columnMaxLengths" #endif #ifndef XmNcolumnShadowTypes #define XmNcolumnShadowTypes "columnShadowTypes" #endif #ifndef XmNcolumnUserData #define XmNcolumnUserData "columnUserData" #endif #ifndef XmNcolumnWidths #define XmNcolumnWidths "columnWidths" #endif #ifndef XmNcolumnWidthInPixels #define XmNcolumnWidthInPixels "columnWidthInPixels" #endif #ifndef XmNrowHeightInPixels #define XmNrowHeightInPixels "rowHeightInPixels" #endif #ifndef XmNdrawCellCallback #define XmNdrawCellCallback "drawCellCallback" #endif #ifndef XmNenterCellCallback #define XmNenterCellCallback "enterCellCallback" #endif #ifndef XmNevenRowBackground #define XmNevenRowBackground "evenRowBackground" #endif #ifndef XmNfill #define XmNfill "fill" #endif #ifndef XmNvertFill #define XmNvertFill "vertFill" #endif #ifndef XmNhorzFill #define XmNhorzFill "horzFill" #endif #ifndef XmNfixedColumns #define XmNfixedColumns "fixedColumns" #endif #ifndef XmNfixedRows #define XmNfixedRows "fixedRows" #endif #ifndef XmNgridLineColor #define XmNgridLineColor "gridLineColor" #endif #ifndef XmNgridType #define XmNgridType "gridType" #endif #ifndef XmNhighlightedCells #define XmNhighlightedCells "highlightedCells" #endif #ifndef XmNhorizontalScrollBarDisplayPolicy #define XmNhorizontalScrollBarDisplayPolicy "horizontalScrollBarDisplayPolicy" #endif #ifndef XmNlabelActivateCallback #define XmNlabelActivateCallback "labelActivateCallback" #endif #ifndef XmNlabelFont #define XmNlabelFont "labelFont" #endif #ifndef XmNleaveCellCallback #define XmNleaveCellCallback "leaveCellCallback" #endif #ifndef XmNleftColumn #define XmNleftColumn "leftColumn" #endif #ifndef XmNoddRowBackground #define XmNoddRowBackground "oddRowBackground" #endif #ifndef XmNprocessDragCallback #define XmNprocessDragCallback "processDragCallback" #endif #ifndef XmNresizeCallback #define XmNresizeCallback "resizeCallback" #endif #ifndef XmNresizeRowCallback #define XmNresizeRowCallback "resizeRowCallback" #endif #ifndef XmNresizeColumnCallback #define XmNresizeColumnCallback "resizeColumnCallback" #endif #ifndef XmNreverseSelect #define XmNreverseSelect "reverseSelect" #endif #ifndef XmNrowButtonLabels #define XmNrowButtonLabels "rowButtonLabels" #endif #ifndef XmNrowHeights #define XmNrowHeights "rowHeights" #endif #ifndef XmNrowLabelAlignment #define XmNrowLabelAlignment "rowLabelAlignment" #endif #ifndef XmNrowLabelWidth #define XmNrowLabelWidth "rowLabelWidth" #endif #ifndef XmNrowLabelBackground #define XmNrowLabelBackground "rowLabelBackground" #endif #ifndef XmNrowLabelColor #define XmNrowLabelColor "rowLabelColor" #endif #ifndef XmNrowLabels #define XmNrowLabels "rowLabels" #endif #ifndef XmNrowShadowTypes #define XmNrowShadowTypes "rowShadowTypes" #endif #ifndef XmNrowUserData #define XmNrowUserData "rowUserData" #endif #ifndef XmNscrollBackground #define XmNscrollBackground "scrollBackground" #endif #ifndef XmNselectedCells #define XmNselectedCells "selectedCells" #endif #ifndef XmNselectedBackground #define XmNselectedBackground "selectedBackground" #endif #ifndef XmNselectCellCallback #define XmNselectCellCallback "selectCellCallback" #endif #ifndef XmNselectedForeground #define XmNselectedForeground "selectedForeground" #endif #ifndef XmNselectScrollVisible #define XmNselectScrollVisible "selectScrollVisible" #endif #ifndef XmNtextBackground #define XmNtextBackground "textBackground" #endif #ifndef XmNtextBackgroundIsCell #define XmNtextBackgroundIsCell "textBackgroundIsCell" #endif #ifndef XmNtextField #define XmNtextField "textField" #endif #ifndef XmNtopRow #define XmNtopRow "topRow" #endif #ifndef XmNnonFixedDetachedTop #define XmNnonFixedDetachedTop "nonFixedDetachedTop" #endif #ifndef XmNnonFixedDetachedLeft #define XmNnonFixedDetachedLeft "nonFixedDetachedLeft" #endif #ifndef XmNtrailingAttachedBottom #define XmNtrailingAttachedBottom "trailingAttachedBottom" #endif #ifndef XmNtrailingAttachedRight #define XmNtrailingAttachedRight "trailingAttachedRight" #endif #ifndef XmNtrailingFixedColumns #define XmNtrailingFixedColumns "trailingFixedColumns" #endif #ifndef XmNtrailingFixedRows #define XmNtrailingFixedRows "trailingFixedRows" #endif #ifndef XmNleftColumn #define XmNleftColumn "leftColumn" #endif #ifndef XmNtextShadowThickness #define XmNtextShadowThickness "textShadowThickness" #endif #ifndef XmNtraverseCellCallback #define XmNtraverseCellCallback "traverseCellCallback" #endif #ifndef XmNtraverseFixedCells #define XmNtraverseFixedCells "traverseFixedCells" #endif #ifndef XmNunderlinedCells #define XmNunderlinedCells "underlinedCells" #endif #ifndef XmNunderlinePosition #define XmNunderlinePosition "underlinePosition" #endif #ifndef XmNunderlineWidth #define XmNunderlineWidth "underlineWidth" #endif #ifndef XmNvalueChangedCallback #define XmNvalueChangedCallback "valueChangedCallback" #endif #ifndef XmNverticalScrollBarDisplayPolicy #define XmNverticalScrollBarDisplayPolicy "verticalScrollBarDisplayPolicy" #endif #ifndef XmNvisibleColumns #define XmNvisibleColumns "visibleColumns" #endif #ifndef XmNvisibleRows #define XmNvisibleRows "visibleRows" #endif #ifndef XmNwriteCellCallback #define XmNwriteCellCallback "writeCellCallback" #endif #ifndef XmNtrackCellCallback #define XmNtrackCellCallback "trackCellCallback" #endif #ifndef XmCAlignments #define XmCAlignments "Alignments" #endif #ifndef XmCAltRowCount #define XmCAltRowCount "AltRowCount" #endif #ifndef XmCBoldLabels #define XmCBoldLabels "BoldLabels" #endif #ifndef XmCButtonLabels #define XmCButtonLabels "ButtonLabels" #endif #ifndef XmCCalcCursorPosition #define XmCCalcCursorPosition "CalcCursorPosition" #endif #ifndef XmCCells #define XmCCells "Cells" #endif #ifndef XmCCellShadowTypes #define XmCCellShadowTypes "CellShadowTypes" #endif #ifndef XmCCellUserData #define XmCCellUserData "CellUserData" #endif #ifndef XmCCellWidgets #define XmCCellWidgets "CellWidgets" #endif #ifndef XmCColors #define XmCColors "Colors" #endif #ifndef XmCColumnMaxLengths #define XmCColumnMaxLengths "ColumnMaxLengths" #endif #ifndef XmCColumnResize #define XmCColumnResize "ColumnResize" #endif #ifndef XmCAllowResize #define XmCAllowResize "ColumnResize" #endif #ifndef XmCColumnWidths #define XmCColumnWidths "ColumnWidths" #endif #ifndef XmCColumnWidthInPixels #define XmCColumnWidthInPixels "ColumnWidthInPixels" #endif #ifndef XmCRowHeightInPixels #define XmCRowHeightInPixels "RowHeightInPixels" #endif #ifndef XmCFill #define XmCFill "Fill" #endif #ifndef XmCVertFill #define XmCVertFill "VertFill" #endif #ifndef XmCHorzFill #define XmCHorzFill "HorzFill" #endif #ifndef XmCFixedColumns #define XmCFixedColumns "FixedColumns" #endif #ifndef XmCFixedRows #define XmCFixedRows "FixedRows" #endif #ifndef XmCGridType #define XmCGridType "GridType" #endif #ifndef XmCHighlightedCells #define XmCHighlightedCells "HighlightedCells" #endif #ifndef XmCLabels #define XmCLabels "Labels" #endif #ifndef XmCXmLabels #define XmCXmLabels "XmLabels" #endif #ifndef XmCLeftColumn #define XmCLeftColumn "LeftColumn" #endif #ifndef XmCMatrixScrollBarDisplayPolicy #define XmCMatrixScrollBarDisplayPolicy "MatrixScrollBarDisplayPolicy" #endif #ifndef XmCReverseSelect #define XmCReverseSelect "ReverseSelect" #endif #ifndef XmCRowLabelWidth #define XmCRowLabelWidth "RowLabelWidth" #endif #ifndef XmCSelectedCells #define XmCSelectedCells "SelectedCells" #endif #ifndef XmCSelectScrollVisible #define XmCSelectScrollVisible "SelectScrollVisible" #endif #ifndef XmCShadowTypes #define XmCShadowTypes "ShadowTypes" #endif #ifndef XmCTextBackground #define XmCTextBackground "TextBackground" #endif #ifndef XmCTextBackgroundIsCell #define XmCTextBackgroundIsCell "TextBackgroundIsCell" #endif #ifndef XmCTextField #define XmCTextField "TextField" #endif #ifndef XmCTextShadowThickness #define XmCTextShadowThickness "TextShadowThickness" #endif #ifndef XmCTraverseFixedCells #define XmCTraverseFixedCells "TraverseFixedCells" #endif #ifndef XmCTopRow #define XmCTopRow "TopRow" #endif #ifndef XmCNonFixedDetachedTop #define XmCNonFixedDetachedTop "NonFixedDetachedTop" #endif #ifndef XmCNonFixedDetachedLeft #define XmCNonFixedDetachedLeft "NonFixedDetachedLeft" #endif #ifndef XmCTrailingAttachedBottom #define XmCTrailingAttachedBottom "TrailingAttachedBottom" #endif #ifndef XmCTrailingAttachedRight #define XmCTrailingAttachedRight "TrailingAttachedRight" #endif #ifndef XmCTrailingFixedColumns #define XmCTrailingFixedColumns "TrailingFixedColumns" #endif #ifndef XmCTrailingFixedRows #define XmCTrailingFixedRows "TrailingFixedRows" #endif #ifndef XmCUnderlinedCells #define XmCUnderlinedCells "UnderlinedCells" #endif #ifndef XmCUnderlinePosition #define XmCUnderlinePosition "UnderlinePosition" #endif #ifndef XmCUnderlineWidth #define XmCUnderlineWidth "UnderlineWidth" #endif #ifndef XmCUserDatas #define XmCUserDatas "UserDatas" #endif #ifndef XmCVisibleColumns #define XmCVisibleColumns "VisibleColumns" #endif #ifndef XmCVisibleRows #define XmCVisibleRows "VisibleRows" #endif #ifndef XmRStringArray #define XmRStringArray "StringArray" #endif #ifndef XmRBooleanArray #define XmRBooleanArray "BooleanArray" #endif #ifndef XmRAlignmentArray #define XmRAlignmentArray "AlignmentArray" #endif #ifndef XmRBooleanTable #define XmRBooleanTable "BooleanTable" #endif #ifndef XmRCellTable #define XmRCellTable "CellTable" #endif #ifndef XmRWidgetTable #define XmRWidgetTable "WidgetTable" #endif #ifndef XmRGridType #define XmRGridType "GridType" #endif #ifndef XmRHighlightTable #define XmRHighlightTable "HighlightTable" #endif #ifndef XmRMatrixScrollBarDisplayPolicy #define XmRMatrixScrollBarDisplayPolicy "MatrixScrollBarDisplayPolicy" #endif #ifndef XmRMaxLengthArray #define XmRMaxLengthArray "MaxLengthArray" #endif #ifndef XmRPixelTable #define XmRPixelTable "PixelTable" #endif #ifndef XmRShadowTypeTable #define XmRShadowTypeTable "ShadowTypeTable" #endif #ifndef XmRShadowTypeArray #define XmRShadowTypeArray "ShadowTypeArray" #endif #ifndef XmRUserDataTable #define XmRUserDataTable "UserDataTable" #endif #ifndef XmRUserDataArray #define XmRUserDataArray "UserDataArray" #endif #ifndef XmRWidthArray #define XmRWidthArray "WidthArray" #endif #ifndef XmNuseXbaeInput #define XmNuseXbaeInput "useXbaeInput" #endif #ifndef XmCUseXbaeInput #define XmCUseXbaeInput "UseXbaeInput" #endif #ifndef XmNmultiLineCell #define XmNmultiLineCell "multiLineCell" #endif #ifndef XmCMultiLineCell #define XmCMultiLineCell "MultiLineCell" #endif #ifndef XmNwrapType #define XmNwrapType "wrapType" #endif #ifndef XmCWrapType #define XmCWrapType "WrapType" #endif #ifndef XmRWrapType #define XmRWrapType "WrapType" #endif #ifndef XmNdesiredHeight #define XmNdesiredHeight "desiredHeight" #endif #ifndef XmCDesiredHeight #define XmCDesiredHeight "DesiredHeight" #endif #ifndef XmNdesiredWidth #define XmNdesiredWidth "desiredWidth" #endif #ifndef XmCDesiredWidth #define XmCDesiredWidth "DesiredWidth" #endif /* Constraint resources */ #ifndef XmNattachRow #define XmNattachRow "attachRow" #endif #ifndef XmNattachColumn #define XmNattachColumn "attachColumn" #endif #ifndef XbaeIsXbaeMatrix #define XbaeIsXbaeMatrix( w) XtIsSubclass(w, xbaeMatrixWidgetClass) #endif /* XbaeIsXbaeMatrix */ /* Class record constants */ #ifdef WIN32 #define INTERNALREF externalref __declspec(dllimport) #else #define INTERNALREF extern #endif INTERNALREF WidgetClass xbaeMatrixWidgetClass; #undef INTERNALREF typedef struct _XbaeMatrixClassRec *XbaeMatrixWidgetClass; typedef struct _XbaeMatrixRec *XbaeMatrixWidget; /* * External interfaces to class methods */ extern void XbaeMatrixAddColumns(Widget, int, String *, String *, short *, int *, unsigned char *, unsigned char *, Pixel *, int); extern void XbaeMatrixAddRows(Widget, int , String *, String *, Pixel *, int); extern void XbaeMatrixAddVarRows(Widget, int, String *, String *, short *, int *, unsigned char *, unsigned char *, Pixel *, int); extern void XbaeMatrixCancelEdit(Widget, Boolean); extern Boolean XbaeMatrixCommitEdit(Widget, Boolean); extern void XbaeMatrixDeleteColumns(Widget, int, int); extern void XbaeMatrixDeleteRows(Widget, int, int); extern void XbaeMatrixDeselectAll(Widget); extern void XbaeMatrixDeselectCell(Widget, int, int); extern void XbaeMatrixDeselectColumn(Widget, int); extern void XbaeMatrixDeselectRow(Widget, int); extern void XbaeMatrixDeunderlineCell(Widget, int, int); extern void XbaeMatrixDeunderlineColumn(Widget, int); extern void XbaeMatrixDeunderlineRow(Widget, int); extern void XbaeMatrixEditCell(Widget, int, int); extern void XbaeMatrixFirstSelectedCell(Widget, int *, int *); extern int XbaeMatrixFirstSelectedColumn(Widget); extern int XbaeMatrixFirstSelectedRow(Widget); extern String XbaeMatrixGetCell(Widget, int, int); extern Pixel XbaeMatrixGetCellBackground(Widget w, int row, int column); extern Pixel XbaeMatrixGetCellColor(Widget w, int row, int column); extern XtPointer XbaeMatrixGetCellUserData(Widget, int, int); extern Widget XbaeMatrixGetCellWidget(Widget, int, int); extern XtPointer XbaeMatrixGetColumnUserData(Widget, int); extern void XbaeMatrixGetCurrentCell(Widget, int *, int *); extern int XbaeMatrixGetEventRowColumn(Widget, XEvent *, int *, int *); extern Boolean XbaeMatrixEventToXY(Widget, XEvent *, int *, int *); extern Boolean XbaeMatrixRowColToXY(Widget, int, int, int *, int *); extern int XbaeMatrixGetNumSelected(Widget); extern XtPointer XbaeMatrixGetRowUserData(Widget, int); extern Boolean XbaeMatrixIsCellSelected(Widget, int, int); extern Boolean XbaeMatrixIsColumnSelected(Widget, int); extern Boolean XbaeMatrixIsRowSelected(Widget, int); extern void XbaeMatrixRefresh(Widget); extern void XbaeMatrixRefreshCell(Widget, int, int); extern void XbaeMatrixRefreshColumn(Widget, int); extern void XbaeMatrixRefreshRow(Widget, int); extern void XbaeMatrixSelectAll(Widget); extern void XbaeMatrixSelectCell(Widget, int, int); extern void XbaeMatrixSelectColumn(Widget, int); extern void XbaeMatrixSelectRow(Widget, int); extern void XbaeMatrixHighlightCell(Widget, int, int); extern void XbaeMatrixHighlightRow(Widget, int); extern void XbaeMatrixHighlightColumn(Widget, int); extern void XbaeMatrixUnhighlightCell(Widget, int, int); extern void XbaeMatrixUnderlineCell(Widget, int, int); extern void XbaeMatrixUnderlineColumn(Widget, int); extern void XbaeMatrixUnderlineRow(Widget, int); extern void XbaeMatrixUnhighlightRow(Widget, int); extern void XbaeMatrixUnhighlightColumn(Widget, int); extern void XbaeMatrixUnhighlightAll(Widget); extern void XbaeMatrixSetCell(Widget, int, int, const String); extern void XbaeMatrixSetCellBackground(Widget, int, int, Pixel); extern void XbaeMatrixSetCellColor(Widget, int, int, Pixel); extern void XbaeMatrixSetCellUserData(Widget, int, int, XtPointer); extern void XbaeMatrixSetCellWidget(Widget, int, int, Widget); extern void XbaeMatrixSetColumnBackgrounds(Widget, int, Pixel *, int); extern void XbaeMatrixSetColumnColors(Widget, int, Pixel *, int); extern void XbaeMatrixSetColumnUserData(Widget, int, XtPointer); extern void XbaeMatrixSetRowBackgrounds(Widget, int, Pixel *, int); extern void XbaeMatrixSetRowColors(Widget, int , Pixel *, int); extern void XbaeMatrixSetRowUserData(Widget, int, XtPointer); extern int XbaeMatrixVisibleColumns(Widget); extern int XbaeMatrixVisibleRows(Widget); extern int XbaeMatrixNumColumns(Widget); extern int XbaeMatrixNumRows(Widget); extern void XbaeMatrixDisableRedisplay(Widget); extern void XbaeMatrixEnableRedisplay(Widget, Boolean); extern void XbaeMatrixMakeCellVisible(Widget, int, int); extern Boolean XbaeMatrixIsRowVisible(Widget, int); extern Boolean XbaeMatrixIsColumnVisible(Widget, int); extern Boolean XbaeMatrixIsCellVisible(Widget, int, int); extern void XbaeMatrixVisibleCells(Widget, int *, int *, int *, int *); extern String XbaeMatrixGetColumnLabel(Widget, int); extern String XbaeMatrixGetRowLabel(Widget, int); extern void XbaeMatrixSetColumnLabel(Widget, int, String); extern void XbaeMatrixSetRowLabel(Widget, int, String); extern Widget XbaeCreateMatrix(Widget, String, ArgList, Cardinal); extern void XbaeMatrixSetCurrentCellPosition(Widget w, int current_row, int current_column); void XbaeMatrixSetCellShadow(Widget w, int row, int column, unsigned char shadow_type); void XbaeMatrixSetRowShadow(Widget w, int row, unsigned char shadow_type); void XbaeMatrixSetColumnShadow(Widget w, int column, unsigned char shadow_type); extern void XbaeMatrixSetColumnWidth(Widget mw, int column, int width); extern int XbaeMatrixGetColumnWidth(Widget w, int column); extern void XbaeMatrixSetRowHeight(Widget w, int row, int height); extern int XbaeMatrixGetRowHeight(Widget w, int row); extern void XbaeMatrixShowColumnArrows(Widget, int, Boolean); void XbaeMatrixSetCellTag(Widget w, int row, int column, XmStringTag tag); extern void XbaeMatrixSortRows(Widget w, int (*proc)(Widget, int, int, void *), void *user_data); extern void XbaeMatrixSortColumns(Widget w, int (*proc)(Widget, int, int, void *), void *user_data); /* ARCAD SYSTEMHAUS */ extern void XbaeMatrixSetCellPixmap(Widget w, int row, int column, Pixmap pixmap, Pixmap mask); extern int XbaeMatrixGetCellPixmap(Widget w, int row, int column, Pixmap * pixmap, Pixmap * mask); typedef unsigned char Alignment; typedef Alignment * AlignmentArray; typedef String * StringTable; typedef short Width; typedef Width * WidthArray; typedef int MaxLength; typedef MaxLength * MaxLengthArray; /* * cell shadow types */ enum { XmGRID_NONE = 0x00, XmGRID_CELL_LINE = 0x02, XmGRID_CELL_SHADOW = 0x03, XmGRID_ROW_LINE = 0x04, XmGRID_ROW_SHADOW = 0x05, XmGRID_COLUMN_LINE = 0x08, XmGRID_COLUMN_SHADOW = 0x09, /* Deprecated types. Use will cause * a run-time warning to be issued. */ XmGRID_LINE = 0x20, XmGRID_SHADOW_IN = 0x40, XmGRID_SHADOW_OUT = 0x80 }; /* * Enumeration for Matrix ScrollBar Display Policy */ enum { XmDISPLAY_NONE, XmDISPLAY_AS_NEEDED, XmDISPLAY_STATIC }; /* * Enumeration for type of a cell */ typedef enum { FixedCell, NonFixedCell, RowLabelCell, ColumnLabelCell } CellType; /* * Enumeration for highlight reason/location */ enum { HighlightNone = 0x0000, HighlightCell = 0x0001, HighlightRow = 0x0002, HighlightColumn = 0x0004, /* Deprecated */ HighlightOther = 0x0008 }; /* * Callback reasons. Try to stay out of range of the Motif XmCR_* reasons. */ typedef enum _XbaeReasonType { XbaeModifyVerifyReason = 102, XbaeEnterCellReason, XbaeLeaveCellReason, XbaeTraverseCellReason, XbaeSelectCellReason, XbaeDrawCellReason, XbaeWriteCellReason, XbaeResizeReason, XbaeResizeColumnReason, XbaeDefaultActionReason, XbaeProcessDragReason, XbaeLabelActivateReason, XbaeValueChangedReason, XbaeResizeRowReason, XbaeTrackCellReason } XbaeReasonType; /* * DrawCell types. */ typedef enum { XbaeString=1, XbaePixmap=2, XbaeStringFree=5 } XbaeCellType; /* * Wrap types */ enum { XbaeWrapNone, XbaeWrapContinuous, XbaeWrapWord }; /* * The 'Any' struct which can be used in callbacks used with different * Callback structs but only need to access its 4 members */ typedef struct _XbaeMatrixAnyCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; } XbaeMatrixAnyCallbackStruct; /* * Struct passed to modifyVerifyCallback */ typedef struct _XbaeMatrixModifyVerifyCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; XmTextVerifyCallbackStruct *verify; const char *prev_text; } XbaeMatrixModifyVerifyCallbackStruct; /* * Struct passed to modifyVerifyCallback */ typedef struct _XbaeMatrixValueChangedCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; } XbaeMatrixValueChangedCallbackStruct; /* * Struct passed to enterCellCallback */ typedef struct _XbaeMatrixEnterCellCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; int position; String pattern; Boolean auto_fill; Boolean convert_case; Boolean overwrite_mode; Boolean select_text; Boolean map; Cardinal num_params; String *params; Boolean doit; } XbaeMatrixEnterCellCallbackStruct; /* * Struct passed to leaveCellCallback */ typedef struct _XbaeMatrixLeaveCellCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; String value; Boolean doit; } XbaeMatrixLeaveCellCallbackStruct; /* * Struct passed to traverseCellCallback */ typedef struct _XbaeMatrixTraverseCellCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; int next_row; int next_column; int fixed_rows; int fixed_columns; int trailing_fixed_rows; int trailing_fixed_columns; int num_rows; int num_columns; String param; XrmQuark qparam; } XbaeMatrixTraverseCellCallbackStruct; /* * Struct passed to selectCellCallback */ typedef struct _XbaeMatrixSelectCellCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; Boolean **selected_cells; String **cells; Cardinal num_params; String *params; } XbaeMatrixSelectCellCallbackStruct; /* * Struct passed to drawCellCallback */ typedef struct _XbaeMatrixDrawCellCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; int width; int height; XbaeCellType type; String string; Pixmap pixmap; Pixmap mask; Pixel foreground; Pixel background; int depth; } XbaeMatrixDrawCellCallbackStruct; /* * Struct passed to writeCellCallback */ typedef struct _XbaeMatrixWriteCellCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; XbaeCellType type; String string; Pixmap pixmap; Pixmap mask; } XbaeMatrixWriteCellCallbackStruct; /* * Struct passed to resizeCallback */ typedef struct _XbaeMatrixResizeCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; Dimension width; Dimension height; } XbaeMatrixResizeCallbackStruct; /* * Struct passed to resizeColumnCallback * */ typedef struct _XbaeMatrixResizeColumnCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; int which; int columns; short *column_widths; } XbaeMatrixResizeColumnCallbackStruct; typedef struct _XbaeMatrixResizeRowCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; int which; int rows; short *row_heights; } XbaeMatrixResizeRowCallbackStruct; /* * Struct passed to processDragCallback */ typedef struct _XbaeMatrixProcessDragCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; String string; XbaeCellType type; Pixmap pixmap; Pixmap mask; Cardinal num_params; String *params; } XbaeMatrixProcessDragCallbackStruct; /* * Struct passed to defaultActionCallback */ typedef struct _XbaeMatrixDefaultActionCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; } XbaeMatrixDefaultActionCallbackStruct; /* * Struct passed to labelActivateCallback */ typedef struct _XbaeMatrixLabelActivateCallbackStruct { XbaeReasonType reason; XEvent *event; int row; int column; Boolean row_label; String label; } XbaeMatrixLabelActivateCallbackStruct; typedef struct _XbaeMatrixTrackCellCallbackStruct { XbaeReasonType reason; XEvent *event; int row, column; int prev_row, prev_column; Position pointer_x, pointer_y; } XbaeMatrixTrackCellCallbackStruct; #if 0 #define XtMalloc(x) dmalloc_malloc(__FILE__, __LINE__, x, 10, 0, 1) #define XtRealloc(x,y) dmalloc_malloc(__FILE__, __LINE__, x, 12, 0, 1) #endif /* Lesstiff 0.94.0 needs this */ #ifndef _MOTIF_DEFAULT_LOCALE #define _MOTIF_DEFAULT_LOCALE "_MOTIF_DEFAULT_LOCALE" #endif #ifdef __cplusplus } #endif #endif /* _Xbae_Matrix_h */ xbae-4.60.4/include/Xbae/CaptionP.h0000664000076400007640000000512107442161347013656 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * CaptionWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: CaptionP.h,v 1.6 2002/03/08 16:12:23 amai Exp $ */ /* * CaptionP.h - Private definitions for Caption widget */ #ifndef _Xbae_CaptionP_h #define _Xbae_CaptionP_h #include #include #ifdef __cplusplus extern "C" { #endif /* * New fields for the Caption widget class record */ typedef struct { XtPointer extension; } XbaeCaptionClassPart; /* * Full class record declaration */ typedef struct _XbaeCaptionClassRec { CoreClassPart core_class; CompositeClassPart composite_class; ConstraintClassPart constraint_class; XmManagerClassPart manager_class; XbaeCaptionClassPart caption_class; } XbaeCaptionClassRec; extern XbaeCaptionClassRec xbaeCaptionClassRec; /* * New fields for the Caption widget record */ typedef struct { /* resources */ XmFontList font_list; XbaeLabelAlignment label_alignment; int label_offset; Pixmap label_pixmap; XbaeLabelPosition label_position; XmString label_string; unsigned char label_text_alignment; unsigned char label_type; /* private state */ } XbaeCaptionPart; /* * Full instance record declaration */ typedef struct _XbaeCaptionRec { CorePart core; CompositePart composite; ConstraintPart constraint; XmManagerPart manager; XbaeCaptionPart caption; } XbaeCaptionRec; #ifdef __cplusplus } #endif #endif /* _Xbae_CaptionP_h */ xbae-4.60.4/include/Xbae/ScrollMgr.h0000664000076400007640000000366310224016302014034 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright (c) 1999-2002, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: ScrollMgr.h,v 1.16 2005/04/03 16:41:38 tobiasoed Exp $ */ /* * ScrollMgr.h created by Andrew Lister (6 August, 1995) */ #ifndef _Xbae_ScrollMgr_h #define _Xbae_ScrollMgr_h #include #ifdef __cplusplus extern "C" { #endif /* * Scrollbar callbacks */ void xbaeScrollVertCB(Widget, XtPointer, XmScrollBarCallbackStruct *); void xbaeScrollHorizCB(Widget, XtPointer , XmScrollBarCallbackStruct *); void xbaeRedrawRegion(XbaeMatrixWidget mw, XRectangle *expose, XRectangle *region); void xbaeRedrawLabelsAndFixed(XbaeMatrixWidget mw, XRectangle *expose); void xbaeRedrawAll(XbaeMatrixWidget mw, int rs, int cs, int re, int ce); void xbaeRefresh(XbaeMatrixWidget mw, Boolean relayout); #ifdef __cplusplus } #endif #endif /* _Xbae_ScrollMgr_h */ xbae-4.60.4/include/Xbae/Actions.h0000664000076400007640000000477210351623072013543 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999-2002, 2004, 2005 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Actions.h,v 1.12 2005/12/19 21:29:30 tobiasoed Exp $ */ /* * Actions.h created by Andrew Lister (6 August, 1995) */ #ifndef _Xbae_Actions_h #define _Xbae_Actions_h #include /* * Actions */ #ifdef __cplusplus extern "C" { #endif void xbaeDefaultActionACT(Widget, XEvent *, String *, Cardinal *); void xbaeEditCellACT(Widget, XEvent *, String *, Cardinal *); void xbaeCancelEditACT(Widget, XEvent *, String *, Cardinal *); void xbaeCommitEditACT(Widget, XEvent *, String *, Cardinal *); void xbaePageDownACT(Widget, XEvent *, String *, Cardinal *); void xbaePageUpACT(Widget, XEvent *, String *, Cardinal *); void xbaeHandleTrackingACT(Widget, XEvent *, String *, Cardinal *); void xbaeProcessDragACT(Widget, XEvent *, String *, Cardinal *); void xbaeScrollRowsACT(Widget, XEvent *, String *, Cardinal *); void xbaeScrollColumnsACT(Widget, XEvent *, String *, Cardinal *); void xbaeTraverseNextACT(Widget, XEvent *, String *, Cardinal *); void xbaeTraversePrevACT(Widget, XEvent *, String *, Cardinal *); void xbaeResizeColumnsACT(Widget, XEvent *, String *, Cardinal *); void xbaeLabelACT(Widget, XEvent *, String *, Cardinal *); void xbaeSelectCellACT(Widget, XEvent *, String *, Cardinal *); void xbaeHandleMotionACT(Widget, XEvent *, String *, Cardinal *); #ifdef __cplusplus } #endif #endif /* _Xbae_Actions_h */ xbae-4.60.4/include/Xbae/Input.h0000664000076400007640000000464210144636157013246 00000000000000/* * Copyright(c) 1999 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of the author not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of the author. * * THE AUTHOR MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL THE AUTHOR OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * Author: Andrew Lister * * $Id: Input.h,v 1.9 2004/11/11 10:18:23 dannybackx Exp $ */ #ifndef _Xbae_Input_h #define _Xbae_Input_h #include #include #include #ifdef __cplusplus extern "C" { #endif typedef struct _XbaeInputClassRec *XbaeInputWidgetClass; typedef struct _XbaeInputRec *XbaeInputWidget; #ifdef WIN32 #define INTERNALREF externalref __declspec(dllimport) #else #define INTERNALREF extern #endif INTERNALREF WidgetClass xbaeInputWidgetClass; #undef INTERNALREF #ifndef XmNautoFill #define XmNautoFill "autoFill" #endif #ifndef XmNoverwriteMode #define XmNoverwriteMode "overwriteMode" #endif #ifndef XmNpattern #define XmNpattern "pattern" #endif #ifndef XmNvalidateCallback #define XmNvalidateCallback "validateCallback" #endif #ifndef XmNoutputFormat #define XmNoutputFormat "outputFormat" #endif #ifndef XmNconvertCase #define XmNconvertCase "convertCase" #endif extern Widget XbaeCreateInput(Widget, String, ArgList, Cardinal); typedef struct _XbaeInputValidateCallbackStruct { int reason; XEvent *event; String pattern; String value; Boolean doit; } XbaeInputValidateCallbackStruct; #ifndef XbaeIsXbaeInput #define XbaeIsXbaeInput(w) XtIsSubclass(w, xbaeInputWidgetClass) #endif /* XbaeIsXbaeInput */ #ifdef __cplusplus } #endif #endif /* _Xbae_Input_h */ xbae-4.60.4/include/Xbae/Caption.h0000664000076400007640000000705007442161347013541 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1999 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * CaptionWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Caption.h,v 1.6 2002/03/08 16:12:23 amai Exp $ */ #ifndef _Xbae_Caption_h #define _Xbae_Caption_h /* * Caption Widget public include file */ #include #include #include #ifdef __cplusplus extern "C" { #endif /* Resources: * Name Class RepType Default Value * ---- ----- ------- ------------- * fontList FontList FontList dynamic * labelAlignment LabelAlignment LabelAlignment AlignmentCenter * labelOffset LabelOffset int 0 * labelPixmap LabelPixmap PrimForegroundPixmap * XmUNSPECIFIED_PIXMAP * labelPosition LabelPosition LabelPosition PositionLeft * labelString XmString XmString widget name * labelTextAlignment Alignment Alignment XmALIGNMENT_CENTER * labelType LabelType LabelType XmSTRING */ /* * New resource constants */ #ifndef XmNlabelPosition #define XmNlabelPosition "labelPosition" #endif #ifndef XmCLabelPosition #define XmCLabelPosition "LabelPosition" #endif #ifndef XmNlabelAlignment #define XmNlabelAlignment "labelAlignment" #endif #ifndef XmCLabelAlignment #define XmCLabelAlignment "LabelAlignment" #endif #ifndef XmNlabelTextAlignment #define XmNlabelTextAlignment "labelTextAlignment" #endif #ifndef XmNlabelOffset #define XmNlabelOffset "labelOffset" #endif #ifndef XmCLabelOffset #define XmCLabelOffset "LabelOffset" #endif #ifndef XmRLabelPosition #define XmRLabelPosition "LabelPosition" #endif #ifndef XmRLabelAlignment #define XmRLabelAlignment "LabelAlignment" #endif /* Class record constants */ extern WidgetClass xbaeCaptionWidgetClass; typedef struct _XbaeCaptionClassRec *XbaeCaptionWidgetClass; typedef struct _XbaeCaptionRec *XbaeCaptionWidget; /* * External interfaces to class methods */ extern Widget XbaeCreateCaption(Widget, String, ArgList, Cardinal); /* * Type for XmNlabelPosition resource */ typedef enum _XbaeLabelPosition { XbaePositionLeft, XbaePositionRight, XbaePositionTop, XbaePositionBottom } XbaeLabelPosition; /* * Type for XmNlabelAlignment resource */ typedef enum _XbaeLabelAlignment { XbaeAlignmentTopOrLeft, XbaeAlignmentCenter, XbaeAlignmentBottomOrRight } XbaeLabelAlignment; #ifndef XbaeIsXbaeCaption #define XbaeIsXbaeCaption(w) XtIsSubclass(w, xbaeCaptionWidgetClass) #endif /* XbaeIsXbaeInput */ #ifdef __cplusplus } #endif #endif /* _Xbae_Caption_h */ xbae-4.60.4/include/Xbae/InputP.h0000664000076400007640000000431407442161347013363 00000000000000/* * Copyright(c) 1999 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of the author not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of the author. * * THE AUTHOR MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL THE AUTHOR OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * Author: Andrew Lister * * $Id: InputP.h,v 1.8 2002/03/08 16:12:23 amai Exp $ */ #ifndef _Xbae_InputP_h #define _Xbae_InputP_h #include #include #include #ifdef __cplusplus extern "C" { #endif typedef struct _XbaeInputClassPart { void *extension; } XbaeInputClassPart; typedef struct _XbaeInputClassRec { CoreClassPart core_class; XmPrimitiveClassPart primitive_class; XmTextClassPart text_class; XbaeInputClassPart input_class; } XbaeInputClassRec; externalref XbaeInputClassRec xbaeInputClassRec; typedef struct _XbaeInputPart { /* Public resources */ unsigned char alignment; Boolean auto_fill; Boolean overwrite_mode; String pattern; XtCallbackList validate_callback; Boolean convert_case; /* Internal resources */ int pattern_length; XmTextPosition last_insert; char *literal_pending; int literal_count; } XbaeInputPart; typedef struct _XbaeInputRec { CorePart core; XmPrimitivePart primitive; XmTextPart text; XbaeInputPart input; } XbaeInputRec; #ifdef __cplusplus } #endif #endif /* _Xbae_InputP_h */ xbae-4.60.4/include/Xbae/Makefile.in0000664000076400007640000003216210436577344014047 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ # # $Header: /cvsroot/xbae/Xbae/include/Xbae/Makefile.am,v 1.5 2000/06/09 08:07:46 amai Exp $ # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = include/Xbae DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/patchlevel.h.in \ $(xbae_HEADERS) ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = patchlevel.h depcomp = am__depfiles_maybe = SOURCES = DIST_SOURCES = 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 = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(xbaedir)" xbaeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(noinst_HEADERS) $(xbae_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST = Imakefile xbaedir = $(includedir)/Xbae noinst_HEADERS = \ Actions.h Converters.h Create.h Draw.h Macros.h \ Methods.h ScrollMgr.h Shadow.h Utils.h xbae_HEADERS = \ Matrix.h Input.h Caption.h \ MatrixP.h Clip.h ClipP.h CaptionP.h InputP.h patchlevel.h all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps include/Xbae/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps include/Xbae/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh patchlevel.h: $(top_builddir)/config.status $(srcdir)/patchlevel.h.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-xbaeHEADERS: $(xbae_HEADERS) @$(NORMAL_INSTALL) test -z "$(xbaedir)" || $(mkdir_p) "$(DESTDIR)$(xbaedir)" @list='$(xbae_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(xbaeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(xbaedir)/$$f'"; \ $(xbaeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(xbaedir)/$$f"; \ done uninstall-xbaeHEADERS: @$(NORMAL_UNINSTALL) @list='$(xbae_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(xbaedir)/$$f'"; \ rm -f "$(DESTDIR)$(xbaedir)/$$f"; \ done 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(HEADERS) installdirs: for dir in "$(DESTDIR)$(xbaedir)"; 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-xbaeHEADERS install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-xbaeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool ctags distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-strip install-xbaeHEADERS \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-info-am uninstall-xbaeHEADERS # xbae_DATA= Matrix.h Input.h Caption.h patchlevel.h # EXTRA_DIST= Matrix.h.in Input.h.in Caption.h.in # 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: xbae-4.60.4/include/Xbae/patchlevel.h.in0000664000076400007640000000340407442161347014677 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: patchlevel.h.in,v 1.6 2002/03/08 16:12:23 amai Exp $ */ #ifndef _Xbae_patchlevel_h #define _Xbae_patchlevel_h #ifndef XbaeVERSION #define XbaeVERSION @XBAE_MAJOR@ #endif #ifndef XbaeREVISION #define XbaeREVISION @XBAE_MINOR@ #endif #ifndef XbaeUPDATE #define XbaeUPDATE @XBAE_PICO@ #endif #ifndef XbaeVersion #define XbaeVersion (XbaeVERSION * 10000 + XbaeREVISION * 100 + XbaeUPDATE) #endif #ifndef XbaeVersionTxt #define XbaeVersionTxt "@(#) Xbae Widget Set, version @XBAE_MAJOR@.@XBAE_MINOR@.@XBAE_PICO@" #endif #endif xbae-4.60.4/include/Xbae/Converters.h0000664000076400007640000000725110215154124014264 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright (c) 1999-2002 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Converters.h,v 1.11 2005/03/14 00:18:28 tobiasoed Exp $ */ #ifndef _Xbae_Converters_h #define _Xbae_Converters_h #include #include #ifdef __cplusplus extern "C" { #endif /* * Converters.h created by Andrew Lister (6 August, 1995) */ /* * Type converters */ Boolean XbaeCvtStringToStringArray(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); void XbaeStringArrayDestructor(XtAppContext, XrmValuePtr, XtPointer, XrmValuePtr, Cardinal *); Boolean XbaeCvtStringToCellTable(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); void XbaeStringCellDestructor(XtAppContext, XrmValuePtr, XtPointer, XrmValuePtr, Cardinal *); Boolean XbaeCvtStringToWidthArray(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); void XbaeWidthArrayDestructor(XtAppContext, XrmValuePtr, XtPointer, XrmValuePtr, Cardinal *); Boolean XbaeCvtStringToMaxLengthArray(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); void XbaeMaxLengthArrayDestructor(XtAppContext, XrmValuePtr, XtPointer, XrmValuePtr, Cardinal *); Boolean XbaeCvtStringToBooleanArray(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); void XbaeBooleanArrayDestructor(XtAppContext, XrmValuePtr, XtPointer, XrmValuePtr, Cardinal *); Boolean XbaeCvtStringToAlignmentArray(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); void XbaeAlignmentArrayDestructor(XtAppContext, XrmValuePtr, XtPointer, XrmValuePtr, Cardinal *num_args); Boolean XbaeCvtStringToShadowTypeArray(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); void XbaeShadowTypeArrayDestructor(XtAppContext, XrmValuePtr, XtPointer, XrmValuePtr, Cardinal *num_args); Boolean XbaeCvtStringToPixelTable(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); void XbaePixelTableDestructor(XtAppContext, XrmValuePtr, XtPointer, XrmValuePtr, Cardinal *); Boolean XbaeCvtStringToGridType(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); Boolean XbaeCvtStringToWrapType(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); Boolean #ifdef __VMS XbaeCvtStringToMatrixScrollBarD #else XbaeCvtStringToMatrixScrollBarDisplayPolicy #endif (Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); #ifdef __cplusplus } #endif #endif xbae-4.60.4/include/Xbae/Create.h0000664000076400007640000001100310361245050013324 00000000000000/* * Copyright (c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright (c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Create.h,v 1.32 2006/01/11 18:10:48 tobiasoed Exp $ */ /* * Create.h created by Andrew Lister (28 January, 1996) */ #ifndef _Xbae_Create_h #define _Xbae_Create_h #include #ifdef __cplusplus extern "C" { #endif void xbaeCopyMarginSize(Widget widget, int offset, XrmValue *value); void xbaeCopyThickness(Widget widget, int offset, XrmValue *value); void xbaeCopySpace(Widget widget, int offset, XrmValue *value); void xbaeCopyBackground(Widget, int, XrmValue *); void xbaeCopyForeground(Widget, int, XrmValue *); void xbaeCopyDoubleClick(Widget, int, XrmValue *); void xbaeCopyCellShadowTypes(XbaeMatrixWidget); void xbaeCopyRowShadowTypes(XbaeMatrixWidget); void xbaeCopyColumnShadowTypes(XbaeMatrixWidget); void xbaeCopyCellUserData(XbaeMatrixWidget); void xbaeCopyRowUserData(XbaeMatrixWidget); void xbaeCopyColumnUserData(XbaeMatrixWidget); void xbaeCopySelectedCells(XbaeMatrixWidget); void xbaeCopyRowLabels(XbaeMatrixWidget); void xbaeCopyColumnLabels(XbaeMatrixWidget); void xbaeCopyCells(XbaeMatrixWidget); void xbaeCopyCellWidgets(XbaeMatrixWidget); void xbaeCopyColumnWidths(XbaeMatrixWidget); void xbaeCopyRowHeights(XbaeMatrixWidget); void xbaeCopyColumnMaxLengths(XbaeMatrixWidget); void xbaeCopyBackgrounds(XbaeMatrixWidget); void xbaeCopyColumnAlignments(XbaeMatrixWidget); void xbaeCopyColumnLabelAlignments(XbaeMatrixWidget); void xbaeCopyColumnButtonLabels(XbaeMatrixWidget); void xbaeCopyColumnShowArrows(XbaeMatrixWidget); void xbaeCopyColumnFontBold(XbaeMatrixWidget); void xbaeCopyRowButtonLabels(XbaeMatrixWidget); void xbaeCopyColors(XbaeMatrixWidget); void xbaeCopyHighlightedCells(XbaeMatrixWidget); void xbaeCopyUnderlinedCells(XbaeMatrixWidget); void xbaeCreateDrawGC(XbaeMatrixWidget); void xbaeCreatePixmapGC(XbaeMatrixWidget); void xbaeCreateLabelGC(XbaeMatrixWidget); void xbaeCreateLabelClipGC(XbaeMatrixWidget); void xbaeGetGridLineGC(XbaeMatrixWidget); void xbaeGetResizeTopShadowGC(XbaeMatrixWidget); void xbaeGetResizeBottomShadowGC(XbaeMatrixWidget); XmFontListEntry xbaeFontListGetEntry(XbaeMatrixWidget, XmFontList, XmStringTag); void xbaeInitFontFromFontList(XbaeMatrixWidget, XmFontList, XmStringTag, XbaeMatrixFontInfo *); #if XmVERSION >= 2 XmRendition xbaeRenderTableGetRendition(XbaeMatrixWidget, XmRenderTable, XmStringTag); void xbaeInitFontFromRenderTable(XbaeMatrixWidget, XmRenderTable, XmStringTag, XbaeMatrixFontInfo *); #endif void xbaeInitFonts(XbaeMatrixWidget); void xbaeFreeCells(XbaeMatrixWidget); void xbaeFreeCellWidgets(XbaeMatrixWidget); void xbaeFreeRowLabels(XbaeMatrixWidget); void xbaeFreeColumnLabels(XbaeMatrixWidget); void xbaeFreeColors(XbaeMatrixWidget); void xbaeFreeBackgrounds(XbaeMatrixWidget); void xbaeFreeSelectedCells(XbaeMatrixWidget); void xbaeFreeCellUserData(XbaeMatrixWidget); void xbaeFreeCellShadowTypes(XbaeMatrixWidget); void xbaeFreeHighlightedCells(XbaeMatrixWidget); void xbaeFreeUnderlinedCells(XbaeMatrixWidget); void xbaeCreateColors(XbaeMatrixWidget); void xbaeCopyShowColumnArrows(XbaeMatrixWidget mw); void xbaeCreatePerCell(XbaeMatrixWidget); void xbaeRegisterDisplay(Widget w); /* ARCAD SYSTEMHAUS */ void xbaeFill_WithEmptyValues_PerCell(XbaeMatrixWidget mw, XbaeMatrixPerCellRec *p); void xbaeFreePerCellEntity(XbaeMatrixWidget mw, int row, int column); void xbaeFreePerCell(XbaeMatrixWidget mw); #ifdef __cplusplus } #endif #endif /* _Xbae_Create_h */ xbae-4.60.4/include/Xbae/MatrixP.h0000644000076400007640000005104510432427471013525 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: MatrixP.h,v 1.81 2006/05/16 19:59:53 tobiasoed Exp $ */ /* * MatrixP.h - Private definitions for Matrix widget */ #ifndef _Xbae_MatrixP_h #define _Xbae_MatrixP_h #include #include #ifdef __cplusplus extern "C" { #endif /* * New types for the class methods */ typedef void (*XbaeMatrixSetCellProc)(XbaeMatrixWidget, int, int, const String, Boolean); typedef String (*XbaeMatrixGetCellProc)(XbaeMatrixWidget, int, int); typedef void (*XbaeMatrixEditCellProc)(XbaeMatrixWidget, XEvent *, int, int, String *, Cardinal); typedef void (*XbaeMatrixSelectCellProc)(XbaeMatrixWidget, int, int); typedef void (*XbaeMatrixSelectRowProc)(XbaeMatrixWidget, int); typedef void (*XbaeMatrixShowColumnArrowsProc)(XbaeMatrixWidget, int, Boolean); typedef void (*XbaeMatrixSelectColumnProc)(XbaeMatrixWidget, int); typedef void (*XbaeMatrixDeselectAllProc)(XbaeMatrixWidget); typedef void (*XbaeMatrixSelectAllProc)(XbaeMatrixWidget); typedef void (*XbaeMatrixDeselectCellProc)(XbaeMatrixWidget, int, int); typedef void (*XbaeMatrixDeselectRowProc)(XbaeMatrixWidget, int); typedef void (*XbaeMatrixDeselectColumnProc)(XbaeMatrixWidget, int); typedef Boolean (*XbaeMatrixCommitEditProc)(XbaeMatrixWidget, XEvent *, Boolean); typedef void (*XbaeMatrixCancelEditProc)(XbaeMatrixWidget, Boolean); typedef void (*XbaeMatrixAddRowsProc)(XbaeMatrixWidget, int, String *, String *, Pixel *, Pixel *, int); typedef void (*XbaeMatrixAddVarRowsProc)(XbaeMatrixWidget, int, String *, String *, short *, int *, unsigned char*, unsigned char *, Pixel *, Pixel *, int); typedef void (*XbaeMatrixDeleteRowsProc)(XbaeMatrixWidget, int, int); typedef void (*XbaeMatrixAddColumnsProc)(XbaeMatrixWidget, int, String *, String *, short *, int *, unsigned char*, unsigned char *, Pixel *, Pixel *, int); typedef void (*XbaeMatrixDeleteColumnsProc)(XbaeMatrixWidget, int, int); typedef void (*XbaeMatrixSetRowColorsProc)(XbaeMatrixWidget, int, Pixel *, int, Boolean); typedef void (*XbaeMatrixSetColumnColorsProc)(XbaeMatrixWidget, int, Pixel *, int, Boolean); typedef void (*XbaeMatrixSetCellColorProc)(XbaeMatrixWidget, int, int, Pixel, Boolean); /* * New fields for the Matrix widget class record */ typedef struct { XbaeMatrixSetCellProc set_cell; XbaeMatrixGetCellProc get_cell; XbaeMatrixEditCellProc edit_cell; XbaeMatrixSelectCellProc select_cell; XbaeMatrixShowColumnArrowsProc set_show_column_arrows; XbaeMatrixSelectRowProc select_row; XbaeMatrixSelectColumnProc select_column; XbaeMatrixDeselectAllProc deselect_all; XbaeMatrixSelectAllProc select_all; XbaeMatrixDeselectCellProc deselect_cell; XbaeMatrixDeselectRowProc deselect_row; XbaeMatrixDeselectColumnProc deselect_column; XbaeMatrixCommitEditProc commit_edit; XbaeMatrixCancelEditProc cancel_edit; XbaeMatrixAddRowsProc add_rows; XbaeMatrixAddVarRowsProc add_var_rows; XbaeMatrixDeleteRowsProc delete_rows; XbaeMatrixAddColumnsProc add_columns; XbaeMatrixDeleteColumnsProc delete_columns; XbaeMatrixSetRowColorsProc set_row_colors; XbaeMatrixSetColumnColorsProc set_column_colors; XbaeMatrixSetCellColorProc set_cell_color; XtPointer extension; XrmQuark QPointer; XrmQuark QLeft; XrmQuark QRight; XrmQuark QUp; XrmQuark QDown; XrmQuark QPageUp; XrmQuark QPageDown; XrmQuark QFocus; XrmQuark QLoosingFocus; XrmQuark default_qtag; } XbaeMatrixClassPart; /* * Full class record declaration */ typedef struct _XbaeMatrixClassRec { CoreClassPart core_class; CompositeClassPart composite_class; ConstraintClassPart constraint_class; XmManagerClassPart manager_class; XbaeMatrixClassPart matrix_class; } XbaeMatrixClassRec; externalref XbaeMatrixClassRec xbaeMatrixClassRec; /* * Inheritance constants for set/get/edit methods */ #define XbaeInheritGetCell ((XbaeMatrixGetCellProc) _XtInherit) #define XbaeInheritSetCell ((XbaeMatrixSetCellProc) _XtInherit) #define XbaeInheritEditCell ((XbaeMatrixEditCellProc) _XtInherit) #define XbaeInheritSelectCell ((XbaeMatrixSelectCellProc) _XtInherit) #define XbaeInheritShowColumnArrows ((XbaeMatrixShowColumnArrowsProc) _XtInherit) #define XbaeInheritSelectRow ((XbaeMatrixSelectRowProc) _XtInherit) #define XbaeInheritSelectColumn ((XbaeMatrixSelectColumnProc) _XtInherit) #define XbaeInheritHighlightCell ((XbaeMatrixHighlightCellProc) _XtInherit) #define XbaeInheritHighlightRow ((XbaeMatrixHighlightRowProc) _XtInherit) #define XbaeInheritHighlightColumn ((XbaeMatrixHighlightColumnProc) _XtInherit) #define XbaeInheritDeselectAll ((XbaeMatrixDeselectAllProc) _XtInherit) #define XbaeInheritSelectAll ((XbaeMatrixSelectAllProc) _XtInherit) #define XbaeInheritDeselectCell ((XbaeMatrixDeselectCellProc) _XtInherit) #define XbaeInheritDeselectRow ((XbaeMatrixDeselectRowProc) _XtInherit) #define XbaeInheritDeselectColumn ((XbaeMatrixDeselectColumnProc) _XtInherit) #define XbaeInheritCommitEdit ((XbaeMatrixCommitEditProc) _XtInherit) #define XbaeInheritCancelEdit ((XbaeMatrixCancelEditProc) _XtInherit) #define XbaeInheritAddRows ((XbaeMatrixAddRowsProc) _XtInherit) #define XbaeInheritAddVarRows ((XbaeMatrixAddVarRowsProc) _XtInherit) #define XbaeInheritDeleteRows ((XbaeMatrixDeleteRowsProc) _XtInherit) #define XbaeInheritAddColumns ((XbaeMatrixAddColumnsProc) _XtInherit) #define XbaeInheritDeleteColumns ((XbaeMatrixDeleteColumnsProc)_XtInherit) #define XbaeInheritSetRowColors ((XbaeMatrixSetRowColorsProc)_XtInherit) #define XbaeInheritSetColumnColors ((XbaeMatrixSetColumnColorsProc)_XtInherit) #define XbaeInheritSetCellColor ((XbaeMatrixSetCellColorProc)_XtInherit) /* * Bundle per cell attributes into one structure * This bundles all the "2D array"s that were previously in the XbaeMatrixPart. */ typedef struct _XbaeMatrixPerCellRec { unsigned char shadow_type; /* Per cell shadow type */ unsigned char highlighted; /* Is the cell highlighted ? */ Boolean selected; /* Is the cell selected ? */ Boolean underlined; /* Is the cell underlined ? */ XtPointer user_data; /* userdata; cant be edited in xbae */ Pixel background; /* Background pixel per cell */ Pixel color; /* Foreground pixel per cell */ Widget widget; /* So-called cell widgets */ Pixmap pixmap; /* pixmap; cant be edited in xbae */ Pixmap mask; /* clipmask; cant be edited in xbae */ String CellValue; /* String */ XrmQuark qtag; /* The quarkified tag of the font used to draw the CellValue */ } XbaeMatrixPerCellRec; typedef struct { XmFontType type; union { XFontStruct *font_struct; XFontSet font_set; } fontp; short width; short height; short y; Font id; } XbaeMatrixFontInfo; /* * New fields for the Matrix widget record */ typedef struct { /* * resources */ Boolean allow_column_resize; /* Public: can columns dynamically resize? */ Boolean allow_row_resize; /* Public: can rows dynamically resize? */ Boolean fill; /* Public: fill available space? */ Boolean horz_fill; /* Public: when filled, extend the 'last' column to fill available space? */ Boolean vert_fill; /* Public: when filled, extend the 'last' row to fill available space? */ Boolean non_fixed_detached_left; /* Public: when filled, put empty space after fixed columns */ Boolean non_fixed_detached_top; /* Public: when filled, put empty space after fixed rows */ Boolean trailing_attached_right; /* Public: when filled, put trailing columns fixed to right */ Boolean trailing_attached_bottom; /* Public: when filled, put trailing rows fixed to bottom */ Boolean bold_labels; /* Public: draw bold row/column labels? */ Boolean useXbaeInput; /* Public: Whether to use XbaeInput widget */ Boolean reverse_select; /* Public: reverse colours - selected cells? */ Boolean scroll_select; /* Public: flag to scroll a selected cell */ Boolean traverse_fixed; /* Public: allow traversal to fixed cells? */ Boolean calc_cursor_position; /* Public: calculate insert pos from click */ Boolean text_field_is_mapped; /* Private: Is the text field on top of a cell? */ unsigned int disable_redisplay; /* Private: disable redisplay counter */ Boolean show_arrows; /* Public: sow arrows when text obscured? */ Boolean *show_column_arrows; /* Public: which columns will show arrows */ Boolean *column_font_bold; /* Public: which columns have bold fonts */ Boolean button_labels; /* Public: draw labels as buttons? */ Boolean *column_button_labels; /* Public: which column labels are buttons */ Boolean *row_button_labels; /* Public: which row labels are buttons */ Boolean column_width_in_pixels; /* Public: column width mesured in pixels? */ Boolean row_height_in_pixels; /* Public: row height mesured in pixels? */ short row_label_width; /* Public: max width of row labels in chars */ short *column_widths; /* Public: width of each column in chars or pixels */ short *row_heights; /* Public: height of each row in chars or pixels */ int *column_positions; /* Private: pixel position of each column */ int *row_positions; /* Private: pixel position of each row */ int visible_fixed_column_width; int visible_fixed_row_height; int visible_trailing_fixed_column_width; int visible_trailing_fixed_row_height; int visible_non_fixed_height; int visible_non_fixed_width; int *column_max_lengths; /* Public: max length of each col in chars */ Boolean multi_line_cell; /* Public: Whether to draw more than one line in a cell */ unsigned char wrap_type; /* Public: How to wrap the lines in multi_line_cell mode */ unsigned char scrollbar_placement; /* Public: placement of the scrollbars */ unsigned char selection_policy; /* Public: as for XmList */ unsigned char grid_type; /* Public: shadowed in/shadowed out/plain */ unsigned char shadow_type; /* Public: matrix window shadow type */ unsigned char cell_shadow_type; /* Public: cell shadow type */ unsigned char hsb_display_policy; /* Public: horiz scroll bar display policy */ unsigned char vsb_display_policy; /* Public: vert scroll bar display policy */ unsigned char row_label_alignment; /* Public: alignment of row labels */ unsigned char *column_label_alignments;/* Public: alignment of each column label */ unsigned char *column_alignments; /* Public: alignment of each column */ unsigned char *column_shadow_types; /* Public: 1D array of per col shadow types */ unsigned char *row_shadow_types; /* Public: 1D array of per row shadow types */ XmString *xmcolumn_labels; /* Public: array of xmlabels above each column */ XmString *xmrow_labels; /* Public: array of xmlabels next to each row */ String *column_labels; /* Public: array of labels above each column */ String *row_labels; /* Public: array of labels next to each row */ int column_label_maxlines; /* Private: max number of lines in column labels */ int row_label_maxlength; /* Private: max line length of row labels */ XtPointer *column_user_data; /* Public: 1D array of per column user data */ XtPointer *row_user_data; /* Public: 1D array of per row user data */ int columns; /* Public: number of cells per row */ int rows; /* Public: number of rows per column */ Dimension fixed_columns; /* Public: number of leading fixed columns */ Dimension fixed_rows; /* Public: number of leading fixed rows */ Dimension trailing_fixed_columns; /* Public: number of trailing fixed columns */ Dimension trailing_fixed_rows; /* Public: number of trailing fixed rows */ Dimension visible_columns; /* Public: number of columns to make visible */ Dimension visible_rows; /* Public: number of rows to make visible */ Dimension cell_margin_height; /* Public: margin height for textField */ Dimension cell_margin_width; /* Public: margin width for textField */ Dimension cell_highlight_thickness; /* Public: highlight thickness for textField */ Dimension cell_shadow_thickness; /* Public: shadow thickness for each cell */ Dimension text_shadow_thickness; /* Public: shadow thickness for text field */ Dimension space; /* Public: spacing for scrollbars */ Dimension underline_width; /* Public: number of pixels thick the underline is */ int alt_row_count; /* Public: # of rows for e/o background */ Pixel even_row_background; /* Public: even row background color */ Pixel odd_row_background; /* Public: odd row background color */ Pixel column_label_color; /* Public: color of column label */ Pixel row_label_color; /* Public: color of row label */ Pixel button_label_background; /* Public: color of button label background */ Pixel grid_line_color; /* Public: color of grid, for XmGrid_LINE */ Pixel selected_background; /* Public: background for selected cells */ Pixel selected_foreground; /* Public: foreground for selected cells */ Pixel scroll_background; /* Public: bacground for scrollbar */ Pixel text_background; /* Public: background for the text field */ Boolean text_background_is_cell; /* Public: background for the text field when text_background is undefined */ Position underline_position; /* Public: number of pixels below the text baseline */ XtTranslations text_translations; /* Public: translations for textField widget */ XtCallbackList default_action_callback; /* Public: called for a double click */ XtCallbackList draw_cell_callback; /* Public: called when a cell is drawn */ XtCallbackList enter_cell_callback; /* Public: called when a cell is entered */ XtCallbackList track_cell_callback; /* Public: called when a cell is crossed */ XtCallbackList label_activate_callback; /* Public: called when label pressed */ XtCallbackList leave_cell_callback; /* Public: called when a cell is left */ XtCallbackList modify_verify_callback; /* Public: verify change to textField */ /* Public: and a draw_cell_callback is set */ XtCallbackList process_drag_callback; /* Public: called when a drag is initiated */ XtCallbackList resize_callback; /* Public: called when Matrix is resized */ XtCallbackList resize_row_callback; /* Public: called when row is resized */ XtCallbackList resize_column_callback; /* Public: called when column is resized */ XtCallbackList select_cell_callback; /* Public: called when cells are selected */ XtCallbackList traverse_cell_callback; /* Public: next cell to traverse to */ XtCallbackList value_changed_callback; /* Public: same as XmText(3) */ XtCallbackList write_cell_callback; /* Public: called when a cell needs to be set */ #if XmVERSION >= 2 XmRenderTable render_table; /* Public: renderTable from which we get the fonts used to draw cells/labels */ #endif XmFontList font_list; /* Public: fontList of widget and textField */ XmFontList label_font_list; /* Public: fontList of labels */ XbaeMatrixFontInfo cell_font; /* Private: Cashed info on the font used to draw cells with no tags */ XbaeMatrixFontInfo label_font; /* Private: Cashed info on the font used to draw labels */ XbaeMatrixFontInfo current_draw_font; /* Private: Cashed info on the font currently in draw_gc */ XrmQuark current_draw_qtag; /* Private: The quarkified tag of the font in the draw_gc */ XrmQuark current_text_qtag; /* Private: The quarkified tag of the rendition installed on the text field */ /* * private state */ Dimension desired_height; /* Private: height widget wants to be */ Dimension desired_width; /* Private: width widget wants to be */ int num_selected_cells; /* Private: The number selected cells */ int horiz_origin; /* Private: horiz origin (in pixel space) */ int vert_origin; /* Private: vert origin (in pixel space) */ int row_label_baseline; /* Private: baseline of row labels */ int cell_baseline; /* Private: baseline of text in each cell */ Time last_click_time; /* Private: Used to detect double clicks */ int double_click_interval; /* Public: interval between clicks */ int last_column; /* Private: Used to detect double clicks */ int last_row; /* Private: Used to detect double clicks */ int prev_column; /* Private: Used to compare tracking callback */ int prev_row; /* Private: Used to compare tracking callback */ Widget text_field; /* Private: the text field */ Widget horizontal_sb; /* Private: the horizontal scrollbar */ Widget vertical_sb; /* Private: the vertical scrollbar */ Widget center_clip; /* Private: the clips */ Widget left_clip; Widget right_clip; Widget top_clip; Widget bottom_clip; Widget row_label_clip; Widget column_label_clip; GC grid_line_gc; /* Private: GC for grid line */ GC draw_gc; /* Private: GC for drawing cells */ GC label_gc; /* Private: GC for drawing labels */ GC pixmap_gc; /* Private: GC for drawing pixmap cells */ GC resize_bottom_shadow_gc; GC resize_top_shadow_gc; Cursor cursor; /* Used to be global static */ XbaeMatrixPerCellRec **per_cell; /* Private: 2D array */ /* Unused: */ Pixmap *row_pixmaps; /* Private: array of pixmaps next to each row */ Pixmap *column_pixmaps; /* Private: array of pixmaps next to each column */ } XbaeMatrixPart; /* * Full instance record declaration */ typedef struct _XbaeMatrixRec { CorePart core; CompositePart composite; ConstraintPart constraint; XmManagerPart manager; XbaeMatrixPart matrix; } XbaeMatrixRec; /* * Constraint resources */ typedef struct { int row; int column; } XbaeMatrixConstraintsRec; /* * End of array indicator for converters of strings */ extern char xbaeBadString; /* * Macro replacements */ Widget _XbaeGetShellAncestor(Widget w); #ifdef __cplusplus } #endif #endif /* _Xbae_MatrixP_h */ xbae-4.60.4/include/Xbae/Macros.h0000644000076400007640000003546210432427471013372 00000000000000/* * Copyright (c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright (c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Macros.h,v 1.74 2006/05/16 19:59:53 tobiasoed Exp $ */ /* * Macros.h created by Andrew Lister (6 August, 1995) */ #ifndef _Xbae_Macros_h #define _Xbae_Macros_h #include #include #include #ifdef __cplusplus extern "C" { #endif /* * The third parameter is a string added for debugging purposes. */ #if (XmVersion >= 2000) #define DRAW_SHADOW(dpy, draw, dbg, tgc, bgc, sz, x, y, w, h, type) \ do { \ DEBUGOUT(_XbaeDebug(__FILE__, NULL, \ "XmeDrawShadows(%s) [%d,%d,%d,%d - %d %s]\n", \ dbg, x, y, w, h, sz, _XbaeDebugShadowTypeToString(type))); \ XmeDrawShadows(dpy, draw, tgc, bgc, x, y, w, h, sz, type); \ } while(0) #else #define DRAW_SHADOW(dpy, draw, dbg, tgc, bgc, sz, x, y, w, h, type) \ do { \ DEBUGOUT(_XbaeDebug(__FILE__, NULL, \ "_XmDrawShadows(%s) [%d,%d,%d,%d - %d %s]\n", \ dbg, x, y, w, h, sz, _XbaeDebugShadowTypeToString(type))); \ _XmDrawShadows(dpy, draw, tgc, bgc, x, y, w, h, sz, type); \ } while(0) #endif #if XmVersion >= 2000 #define DRAW_HIGHLIGHT(dpy, draw, gc, x, y, w, h, sz, type) \ XmeDrawHighlight(dpy, draw, gc, x, y, w, h, sz) #else #define DRAW_HIGHLIGHT(dpy, draw, gc, x, y, w, h, sz, type) \ _XmDrawHighlight(dpy, draw, gc, x, y, w, h, sz, type) #endif /* * Macros to retrieve our children. */ #define HorizScrollChild(mw) ((mw)->matrix.horizontal_sb) #define VertScrollChild(mw) ((mw)->matrix.vertical_sb) #define TextField(mw) ((mw)->matrix.text_field) #define CenterClip(mw) ((mw)->matrix.center_clip) #define LeftClip(mw) ((mw)->matrix.left_clip) #define RightClip(mw) ((mw)->matrix.right_clip) #define TopClip(mw) ((mw)->matrix.top_clip) #define BottomClip(mw) ((mw)->matrix.bottom_clip) #define RowLabelClip(mw) ((mw)->matrix.row_label_clip) #define ColumnLabelClip(mw) ((mw)->matrix.column_label_clip) #define VISIBLE_NON_FIXED_WIDTH(mw) ((mw)->matrix.visible_non_fixed_width) #define VISIBLE_NON_FIXED_HEIGHT(mw) ((mw)->matrix.visible_non_fixed_height) #define VISIBLE_FIXED_COLUMN_WIDTH(mw) ((mw)->matrix.visible_fixed_column_width) #define VISIBLE_FIXED_ROW_HEIGHT(mw) ((mw)->matrix.visible_fixed_row_height) #define VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw) ((mw)->matrix.visible_trailing_fixed_column_width) #define VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw) ((mw)->matrix.visible_trailing_fixed_row_height) /* * SGO: changed the meaning of VERT_ORIGIN: * now it contains the pixel position of the first row, same as * HORIZ_ORIGIN, the top_row should now be accessed by TOP_ROW * Tobias: I killed the top_row/left_column resource use * xbaeTopRow/xbaeLeftColumn instaead */ #define VERT_ORIGIN(mw) ((mw)->matrix.vert_origin) #define HORIZ_ORIGIN(mw) ((mw)->matrix.horiz_origin) #define TRAILING_ROW_ORIGIN(mw) ((mw)->matrix.rows - (mw)->matrix.trailing_fixed_rows) #define TRAILING_COLUMN_ORIGIN(mw) ((mw)->matrix.columns - (mw)->matrix.trailing_fixed_columns) /* * Macros */ #ifndef Max #define Max(x, y) (((x) > (y)) ? (x) : (y)) #endif #ifndef Min #define Min(x, y) (((x) < (y)) ? (x) : (y)) #endif #define CELL_BORDER_WIDTH(mw) ( \ (mw)->matrix.cell_shadow_thickness + \ (mw)->matrix.cell_highlight_thickness + \ (mw)->matrix.text_shadow_thickness + \ (mw)->matrix.cell_margin_width) #define CELL_BORDER_HEIGHT(mw) ( \ (mw)->matrix.cell_shadow_thickness + \ (mw)->matrix.cell_highlight_thickness + \ (mw)->matrix.text_shadow_thickness + \ (mw)->matrix.cell_margin_height) #define CELL_FONT_WIDTH(mw) ((mw)->matrix.cell_font.width) #define CELL_FONT_HEIGHT(mw) ((mw)->matrix.cell_font.height) #define CELL_BASELINE(mw) ((mw)->matrix.cell_baseline) #define LABEL_FONT_WIDTH(mw) ((mw)->matrix.label_font.width) #define LABEL_FONT_HEIGHT(mw) ((mw)->matrix.label_font.height) #define ROW_LABEL_BASELINE(mw) ((mw)->matrix.row_label_baseline) #define COLUMN_LABEL_BASELINE(mw) (- (mw)->matrix.label_font.y) /* * The text height defines the row height. It needs to be the biggest * we can expect from both font and label font */ #define TEXT_HEIGHT(mw) (Max(CELL_FONT_HEIGHT(mw), LABEL_FONT_HEIGHT(mw))) #define ROW_LABEL_WIDTH(mw) ( \ ((mw)->matrix.row_labels || (mw)->matrix.xmrow_labels) \ ? ((mw)->matrix.row_label_width) \ ? 2 * CELL_BORDER_WIDTH(mw) + (mw)->matrix.row_label_width * LABEL_FONT_WIDTH(mw) \ : 2 * CELL_BORDER_WIDTH(mw) + (mw)->matrix.row_label_maxlength * LABEL_FONT_WIDTH(mw) \ : 0) #define COLUMN_LABEL_HEIGHT(mw) ( \ ((mw)->matrix.column_labels || (mw)->matrix.xmcolumn_labels) \ ? 2 * CELL_BORDER_HEIGHT(mw) + (mw)->matrix.column_label_maxlines * LABEL_FONT_HEIGHT(mw) \ : 0) #define DEFAULT_ROW_HEIGHT(mw) ( \ ((mw)->matrix.row_height_in_pixels) \ ? (1 * TEXT_HEIGHT(mw) + 2 * CELL_BORDER_HEIGHT(mw)) \ : 1) #define DEFAULT_COLUMN_WIDTH(mw) ( \ ((mw)->matrix.column_width_in_pixels) \ ? (5 * CELL_FONT_WIDTH(mw) + 2 * CELL_BORDER_WIDTH(mw)) \ : 5) #define SCROLLBAR_TOP(mw) ( \ (mw)->matrix.scrollbar_placement == XmTOP_LEFT || \ (mw)->matrix.scrollbar_placement == XmTOP_RIGHT \ ) #define HORIZ_SB_WIDTH(mw) (HorizScrollChild(mw)->core.width + \ 2 * HorizScrollChild(mw)->core.border_width) #define HORIZ_SB_HEIGHT(mw) (HorizScrollChild(mw)->core.height + \ 2 * HorizScrollChild(mw)->core.border_width +\ (mw)->matrix.space) #define HORIZ_SB_SPACE(mw) (! HorizScrollChild(mw)->core.managed ? 0 : HORIZ_SB_HEIGHT(mw)) #define HORIZ_SB_OFFSET(mw) ((SCROLLBAR_TOP(mw)) ? HORIZ_SB_SPACE(mw) : 0) #define SCROLLBAR_LEFT(mw) ( \ (mw)->matrix.scrollbar_placement == XmTOP_LEFT || \ (mw)->matrix.scrollbar_placement == XmBOTTOM_LEFT \ ) #define VERT_SB_WIDTH(mw) (VertScrollChild(mw)->core.width + \ 2 * VertScrollChild(mw)->core.border_width + \ (mw)->matrix.space) #define VERT_SB_HEIGHT(mw) (VertScrollChild(mw)->core.height + \ 2 * VertScrollChild(mw)->core.border_width) #define VERT_SB_SPACE(mw) (! VertScrollChild(mw)->core.managed ? 0 : VERT_SB_WIDTH(mw)) #define VERT_SB_OFFSET(mw) ((SCROLLBAR_LEFT(mw)) ? VERT_SB_SPACE(mw) : 0) #if 1 /* Whether or not to check each column_position access for debugging */ #define COLUMN_POSITION(mw, column) (mw)->matrix.column_positions[column] #define ROW_POSITION(mw, row) (mw)->matrix.row_positions[row] #else #define COLUMN_POSITION(mw, column) xbaeCheckColumnPosition(mw, column) #define ROW_POSITION(mw, row) xbaeCheckRowPosition(mw, row) #endif #define TOTAL_HEIGHT(mw) ROW_POSITION(mw, (mw)->matrix.rows) #define TOTAL_WIDTH(mw) COLUMN_POSITION(mw, (mw)->matrix.columns) #define FIXED_COLUMN_WIDTH(mw) COLUMN_POSITION(mw, (mw)->matrix.fixed_columns) #define FIXED_ROW_HEIGHT(mw) ROW_POSITION(mw, (mw)->matrix.fixed_rows) #define ROW_HEIGHT(mw, row) \ (ROW_POSITION(mw, row + 1) - ROW_POSITION(mw, row)) #define COLUMN_WIDTH(mw, column) \ (COLUMN_POSITION(mw, column + 1) - COLUMN_POSITION(mw, column)) #define TRAILING_FIXED_ROW_HEIGHT(mw) \ (ROW_POSITION(mw, (mw)->matrix.rows) - ROW_POSITION(mw, TRAILING_ROW_ORIGIN(mw))) #define TRAILING_FIXED_COLUMN_WIDTH(mw) \ (COLUMN_POSITION(mw, (mw)->matrix.columns) - COLUMN_POSITION(mw, TRAILING_COLUMN_ORIGIN(mw))) #define NON_FIXED_HEIGHT(mw) \ (ROW_POSITION(mw, TRAILING_ROW_ORIGIN(mw)) - ROW_POSITION(mw, (mw)->matrix.fixed_rows)) #define NON_FIXED_WIDTH(mw) \ (COLUMN_POSITION(mw, TRAILING_COLUMN_ORIGIN(mw)) - COLUMN_POSITION(mw, (mw)->matrix.fixed_columns)) #define FIXED_COLUMN_POSITION(mw) (ROW_LABEL_WIDTH(mw) + \ VERT_SB_OFFSET(mw) + (mw)->manager.shadow_thickness) #define FIXED_ROW_POSITION(mw) (COLUMN_LABEL_HEIGHT(mw) + \ HORIZ_SB_OFFSET(mw) + (mw)->manager.shadow_thickness) #define NON_FIXED_COLUMN_POSITION(mw) \ (FIXED_COLUMN_POSITION(mw) + VISIBLE_FIXED_COLUMN_WIDTH(mw)) #define NON_FIXED_ROW_POSITION(mw) \ (FIXED_ROW_POSITION(mw) + VISIBLE_FIXED_ROW_HEIGHT(mw)) #define TRAILING_FIXED_COLUMN_POSITION(mw) \ (NON_FIXED_COLUMN_POSITION(mw) + VISIBLE_NON_FIXED_WIDTH(mw)) #define TRAILING_FIXED_ROW_POSITION(mw) \ (NON_FIXED_ROW_POSITION(mw) + VISIBLE_NON_FIXED_HEIGHT(mw)) #define MATRIX_VISIBLE_WIDTH(mw) ((int)((mw)->core.width - \ 2 * (mw)->manager.shadow_thickness - \ ROW_LABEL_WIDTH(mw) - \ VERT_SB_SPACE(mw))) #define MATRIX_VISIBLE_HEIGHT(mw) ((int)((mw)->core.height -\ 2 * (mw)->manager.shadow_thickness - \ COLUMN_LABEL_HEIGHT(mw) -\ HORIZ_SB_SPACE(mw))) #define EMPTY_HEIGHT(mw) ( \ MATRIX_VISIBLE_HEIGHT(mw) > TOTAL_HEIGHT(mw) \ ? MATRIX_VISIBLE_HEIGHT(mw) - TOTAL_HEIGHT(mw) \ : 0) #define EMPTY_WIDTH(mw) ( \ MATRIX_VISIBLE_WIDTH(mw) > TOTAL_WIDTH(mw) \ ? MATRIX_VISIBLE_WIDTH(mw) - TOTAL_WIDTH(mw) \ : 0) #define FILL_ROW(mw) ( \ ((mw)->matrix.non_fixed_detached_top && (mw)->matrix.fixed_rows) \ ? ((mw)->matrix.fixed_rows - 1) \ : ((mw)->matrix.trailing_attached_bottom && (mw)->matrix.trailing_fixed_rows) \ ? (TRAILING_ROW_ORIGIN(mw) - 1) \ : ((mw)->matrix.rows - 1)) #define FILL_COLUMN(mw) ( \ ((mw)->matrix.non_fixed_detached_left && (mw)->matrix.fixed_columns) \ ? ((mw)->matrix.fixed_columns - 1) \ : ((mw)->matrix.trailing_attached_right && (mw)->matrix.trailing_fixed_columns) \ ? (TRAILING_COLUMN_ORIGIN(mw) - 1) \ : ((mw)->matrix.columns - 1)) #define IS_FILL_ROW(mw, row) ((mw)->matrix.fill && row == FILL_ROW(mw)) #define IS_FILL_COLUMN(mw, column) ((mw)->matrix.fill && column == FILL_COLUMN(mw)) #define IS_LEADING_FIXED_COLUMN(mw, column) (column < (mw)->matrix.fixed_columns) #define IS_TRAILING_FIXED_COLUMN(mw, column) (column >= TRAILING_COLUMN_ORIGIN(mw)) #define IS_FIXED_COLUMN(mw, column) (IS_LEADING_FIXED_COLUMN(mw, column) || \ IS_TRAILING_FIXED_COLUMN(mw, column)) #define IS_NON_FIXED_COLUMN(mw, column) (column >= (mw)->matrix.fixed_columns && \ column < TRAILING_COLUMN_ORIGIN(mw)) #define IS_LEADING_FIXED_ROW(mw, row) (row < (mw)->matrix.fixed_rows) #define IS_TRAILING_FIXED_ROW(mw, row) (row >= TRAILING_ROW_ORIGIN(mw)) #define IS_FIXED_ROW(mw, row) (IS_LEADING_FIXED_ROW(mw, row) || \ IS_TRAILING_FIXED_ROW(mw, row)) #define IS_NON_FIXED_ROW(mw, row) (row >= (mw)->matrix.fixed_rows && \ row < TRAILING_ROW_ORIGIN(mw)) #define IS_FIXED(mw, row, column) (IS_FIXED_ROW(mw, row) || \ IS_FIXED_COLUMN(mw, column)) /* Inline functions */ #define xbaeFreeArray(array) \ do{ \ if(array) { \ XtFree((XtPointer) array); \ array = NULL; \ } \ } while(0) #define xbaeFreeColumnWidths(mw) \ xbaeFreeArray((mw)->matrix.column_widths) #define xbaeFreeRowHeights(mw) \ xbaeFreeArray((mw)->matrix.row_heights) #define xbaeFreeColumnMaxLengths(mw) \ xbaeFreeArray((mw)->matrix.column_max_lengths) #define xbaeFreeColumnPositions(mw) \ xbaeFreeArray((mw)->matrix.column_positions) #define xbaeFreeRowPositions(mw) \ xbaeFreeArray((mw)->matrix.row_positions) #define xbaeFreeColumnAlignments(mw) \ xbaeFreeArray((mw)->matrix.column_alignments) #define xbaeFreeColumnButtonLabels(mw) \ xbaeFreeArray((mw)->matrix.column_button_labels) #define xbaeFreeShowColumnArrows(mw) \ xbaeFreeArray((mw)->matrix.show_column_arrows) #define xbaeFreeColumnFontBold(mw) \ xbaeFreeArray((mw)->matrix.column_font_bold) #define xbaeFreeRowButtonLabels(mw) \ xbaeFreeArray((mw)->matrix.row_button_labels) #define xbaeFreeColumnLabelAlignments(mw) \ xbaeFreeArray((mw)->matrix.column_label_alignments) #define xbaeFreeRowUserData(mw) \ xbaeFreeArray((mw)->matrix.row_user_data) #define xbaeFreeColumnUserData(mw) \ xbaeFreeArray((mw)->matrix.column_user_data) #define xbaeFreeRowShadowTypes(mw) \ xbaeFreeArray((mw)->matrix.row_shadow_types) #define xbaeFreeColumnShadowTypes(mw) \ xbaeFreeArray((mw)->matrix.column_shadow_types) #define CreateRowPositions(mw) \ (int *)XtMalloc(((mw)->matrix.rows+1) * sizeof(int)) #define CreateColumnPositions(mw) \ (int *)XtMalloc(((mw)->matrix.columns+1) * sizeof(int)) #ifdef NEED_WCHAR #define TWO_BYTE_FONT(mw) ((mw)->matrix.font->max_byte1 != 0) #endif #define GC_PARENT_WINDOW(w) XtWindow(_XbaeGetShellAncestor((Widget)w)) /* * End of array flags for the array type converters */ #define BAD_SIZE -1 #define BAD_MAXLENGTH -1 #define BAD_SHADOW ((unsigned char) -1U) /* see Xm.h */ #define BAD_ALIGNMENT 3 /* see Xm.h */ #define BAD_PIXEL 0x10000000 /* normally 256 indices */ /* * SetClipMask flags for indicating clip areas */ #define CLIP_FIXED_COLUMNS 0x0001 #define CLIP_FIXED_ROWS 0x0002 #define CLIP_TRAILING_FIXED_COLUMNS 0x0004 #define CLIP_TRAILING_FIXED_ROWS 0x0008 #define CLIP_VISIBLE_WIDTH 0x0010 #define CLIP_VISIBLE_HEIGHT 0x0020 #define CLIP_TRAILING_HORIZ_FILL 0x0040 #define CLIP_TRAILING_VERT_FILL 0x0080 #define CLIP_COLUMN_LABELS 0x0100 #define CLIP_ROW_LABELS 0x0200 /* * Grid shadow/line detectors */ #define GRID_MODE_ROW (XmGRID_ROW_LINE & XmGRID_ROW_SHADOW) #define GRID_MODE_COLUMN (XmGRID_COLUMN_LINE & XmGRID_COLUMN_SHADOW) #define GRID_MODE_SHADOW (XmGRID_CELL_SHADOW & XmGRID_ROW_SHADOW & XmGRID_COLUMN_SHADOW) #define IN_GRID_ROW_MODE(mw) ((mw)->matrix.grid_type & GRID_MODE_ROW) #define IN_GRID_COLUMN_MODE(mw) ((mw)->matrix.grid_type & GRID_MODE_COLUMN) #define IN_GRID_SHADOW_MODE(mw) ((mw)->matrix.grid_type & GRID_MODE_SHADOW) #define IN_GRID_LINE_MODE(mw) ((mw)->matrix.grid_type && !IN_GRID_SHADOW_MODE(mw)) #ifdef __cplusplus } #endif #endif /* _Xbae_Macros_h */ xbae-4.60.4/include/Xbae/Utils.h0000644000076400007640000000756610432427471013252 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright (c) 1999-2002, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Utils.h,v 1.45 2006/05/16 19:59:53 tobiasoed Exp $ */ /* * Utils.h created by Andrew Lister (6 August, 1995) */ #ifndef _Xbae_Utils_h #define _Xbae_Utils_h #include #include #include #ifdef __cplusplus extern "C" { #endif void xbaeGetColumnPositions(XbaeMatrixWidget); void xbaeGetRowPositions(XbaeMatrixWidget); int xbaeCheckRowPosition(XbaeMatrixWidget mw, int row); int xbaeCheckColumnPosition(XbaeMatrixWidget mw, int column); int xbaeTopRow(XbaeMatrixWidget mw); int xbaeBottomRow(XbaeMatrixWidget mw); int xbaeLeftColumn(XbaeMatrixWidget mw); int xbaeRightColumn(XbaeMatrixWidget mw); void xbaeGetVisibleRows(XbaeMatrixWidget, int *, int *); void xbaeGetVisibleColumns(XbaeMatrixWidget, int *, int *); void xbaeGetVisibleCells(XbaeMatrixWidget mw, int *, int *, int *, int *); int xbaeCalculateHorizOrigin(XbaeMatrixWidget mw, int left_column); int xbaeCalculateVertOrigin(XbaeMatrixWidget mw, int top_row); Boolean xbaeIsRowVisible(XbaeMatrixWidget, int); Boolean xbaeIsColumnVisible(XbaeMatrixWidget, int); Boolean xbaeIsCellVisible(XbaeMatrixWidget, int, int); void xbaeMakeRowVisible(XbaeMatrixWidget, int); void xbaeMakeColumnVisible(XbaeMatrixWidget, int); void xbaeMakeCellVisible(XbaeMatrixWidget, int, int); void xbaeComputeSize(XbaeMatrixWidget, Boolean, Boolean); int xbaeCalculateLabelMaxLength(XbaeMatrixWidget mw, String *labels, XmString *xmlabels, int n_labels); int xbaeCalculateLabelMaxLines(String *labels, XmString *xmlabels, int n_labels); XbaeMatrixWidget xbaeEventToMatrixWidget(Widget w, XEvent *event); XbaeMatrixWidget xbaeEventToMatrixXY(Widget w, XEvent *event, int *x, int *y); int xbaeEventToRowColumn(Widget w, XEvent * event, int *row, int *column, int *x, int *y); int xbaeMatrixXtoColumn(XbaeMatrixWidget mw,int *x, int *column); int xbaeMatrixYtoRow(XbaeMatrixWidget mw,int *y, int *row); int xbaeMatrixXYToRowCol(XbaeMatrixWidget mw, int *x, int *y, int *row,int *column); int xbaeColumnToMatrixX(XbaeMatrixWidget mw, int column); int xbaeRowToMatrixY(XbaeMatrixWidget mw, int row); Widget xbaeRowColToClipXY(XbaeMatrixWidget, int, int, int *, int *); void xbaeHideCellWidget(XbaeMatrixWidget mw, Widget cw); void xbaePositionCellWidget(XbaeMatrixWidget mw, int row, int column); void xbaeHideTextField(XbaeMatrixWidget mw); void xbaePositionTextField(XbaeMatrixWidget mw); void xbaeSetInitialFocus(XbaeMatrixWidget mw); void xbaeSaneRectangle(XbaeMatrixWidget mw, XRectangle *rect_p,int rs, int cs, int re, int ce); void xbaeObjectLock(Widget); void xbaeObjectUnlock(Widget); void xbaeScrollRows(XbaeMatrixWidget, int step); void xbaeScrollColumns(XbaeMatrixWidget, int step); #ifdef __cplusplus } #endif #endif /* _Xbae_Utils_h */ xbae-4.60.4/include/Xbae/Makefile.am0000664000076400007640000000077007120122722014014 00000000000000# # $Header: /cvsroot/xbae/Xbae/include/Xbae/Makefile.am,v 1.5 2000/06/09 08:07:46 amai Exp $ # MAINTAINERCLEANFILES=Makefile.in EXTRA_DIST= Imakefile xbaedir = $(includedir)/Xbae noinst_HEADERS = \ Actions.h Converters.h Create.h Draw.h Macros.h \ Methods.h ScrollMgr.h Shadow.h Utils.h xbae_HEADERS = \ Matrix.h Input.h Caption.h \ MatrixP.h Clip.h ClipP.h CaptionP.h InputP.h patchlevel.h # xbae_DATA= Matrix.h Input.h Caption.h patchlevel.h # EXTRA_DIST= Matrix.h.in Input.h.in Caption.h.in xbae-4.60.4/include/Makefile.in0000664000076400007640000003760110436577343013172 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ # # $Header: /cvsroot/xbae/Xbae/include/Makefile.am,v 1.4 2002/02/12 12:17:01 amai Exp $ # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = include DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/XbaeConfig.h.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = XbaeConfig.h CONFIG_CLEAN_FILES = depcomp = am__depfiles_maybe = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive HEADERS = $(noinst_HEADERS) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ MAINTAINERCLEANFILES = Makefile.in XbaeConfig.h.in stamp-h.in XbaeConfig.h stamp-h EXTRA_DIST = Imakefile SUBDIRS = Xbae noinst_HEADERS = XbaeDebug.h all: XbaeConfig.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps include/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps include/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh XbaeConfig.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/XbaeConfig.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status include/XbaeConfig.h $(srcdir)/XbaeConfig.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f XbaeConfig.h stamp-h1 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) XbaeConfig.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) XbaeConfig.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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) XbaeConfig.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) XbaeConfig.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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(HEADERS) XbaeConfig.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-hdr \ distclean-libtool distclean-recursive distclean-tags distdir \ dvi dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am # 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: xbae-4.60.4/include/XbaeConfig.h.in0000664000076400007640000000575010432117254013673 00000000000000/* include/XbaeConfig.h.in. Generated from configure.in by autoheader. */ /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `Xpm' library (-lXpm). */ #undef HAVE_LIBXPM /* Whether libXp is available */ #undef HAVE_LIB_XP /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Whether Motif is available */ #undef HAVE_MOTIF /* 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 `stricmp' function. */ #undef HAVE_STRICMP /* 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 `strncasecmp' function. */ #undef HAVE_STRNCASECMP /* Define to 1 if you have the `strnicmp' function. */ #undef HAVE_STRNICMP /* 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 /* Define to 1 if you have the header file. */ #undef HAVE_X11_XPM_H /* Define to 1 if you have the header file. */ #undef HAVE_XPM_H /* The major version number of this release */ #undef MAJOR_VERSION /* The minor version number of this release */ #undef MINOR_VERSION /* 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 version of this package. */ #undef PACKAGE_VERSION /* The pico version number of this release */ #undef PICO_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Enable support for EditRes */ #undef USE_EDITRES /* Build for Exceed */ #undef USING_EXCEED /* Version number of package */ #undef VERSION /* Define if using the dmalloc debugging malloc package */ #undef WITH_DMALLOC /* The libtool pico version number of this release */ #undef XBAE_AGE /* The libtool major version number of this release */ #undef XBAE_CURRENT /* Create a production build */ #undef XBAE_PRODUCTION /* The libtool minor version number of this release */ #undef XBAE_REVISION /* Define to 1 if the X Window System is missing or not being used. */ #undef X_DISPLAY_MISSING /* Define to 1 if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif xbae-4.60.4/include/Makefile.am0000664000076400007640000000035707432203675013153 00000000000000# # $Header: /cvsroot/xbae/Xbae/include/Makefile.am,v 1.4 2002/02/12 12:17:01 amai Exp $ # MAINTAINERCLEANFILES=Makefile.in XbaeConfig.h.in stamp-h.in XbaeConfig.h stamp-h EXTRA_DIST= Imakefile SUBDIRS= Xbae noinst_HEADERS = XbaeDebug.h xbae-4.60.4/Imakefile0000664000076400007640000000153107442761026011300 00000000000000# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # Copyright 1999, 2000, 2001, 2002 by the LessTif Developers # # $Id: Imakefile,v 1.5 2002/03/10 22:45:42 amai Exp $ #include "Xbae.tmpl" #define IHaveSubdirs #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' SUBDIRS = src include examples DSUBDIRS = src examples MakeSubdirs($(SUBDIRS)) DependSubdirs($(DSUBDIRS)) World:: $(MAKE) $(MFLAGS) Makefiles $(MAKE) $(MFLAGS) clean $(MAKE) $(MFLAGS) includes $(MAKE) $(MFLAGS) depend $(MAKE) $(MFLAGS) XCOMM clean out link tree (for distribution) distclean:: $(MAKE) -k clean find . \( -type l -or -name .depend -or -name Makefile -or \ @@\ -name Makefile.in \) -exec rm {} \; XCOMM list all files (good to generate tar listings for cpio) listfiles:: find . -type f -print xbae-4.60.4/config.sub0000755000076400007640000007305510435532340011451 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-06-18' # 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., 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. # Please send patches to . Submit a context # diff and a properly formatted 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. # 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 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 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # 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 0;; * ) 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* | freebsd*-gnu* | netbsd*-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) os= basic_machine=$1 ;; -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 ;; -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/'` ;; -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] \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k \ | m32r | m68000 | m68k | m88k | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | msp430 \ | ns16k | ns32k \ | openrisc | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | s390 | s390x \ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xscale | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; # 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-* \ | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* \ | m32r-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | msp430-* \ | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | s390-* | s390x-* \ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ | xtensa-* \ | ymp-* \ | z8k-*) ;; # 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 ;; 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 ;; 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 ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; 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 ;; crds | unos) basic_machine=m68k-crds ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; 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 ;; 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 ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; 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 ;; mmix*) basic_machine=mmix-knuth os=-mmixware ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; 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 ;; nv1) basic_machine=nv1-cray os=-unicosmp ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; or32 | or32-*) basic_machine=or32-unknown os=-coff ;; 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 ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; 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) basic_machine=powerpc-unknown ;; ppc-*) 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 ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; 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 ;; 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 ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; 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 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-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 ;; 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 ;; sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sh64) basic_machine=sh64-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b) 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. -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* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -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*) # 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* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -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 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -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 ;; -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 ;; -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 *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) 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 ;; 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 ;; *-ibm) os=-aix ;; *-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 ;; -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 ;; -ptx*) vendor=sequent ;; -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 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xbae-4.60.4/acinclude.m40000664000076400007640000002272410007530363011654 00000000000000dnl dnl $Id: acinclude.m4,v 1.15 2004/02/02 20:20:03 dannybackx Exp $ dnl dnl Add macros dnl AC_PATH_MOTIF_DIRECT dnl AC_PATH_MOTIF dnl LT_WITH_DMALLOC dnl AC_HAVE_EXCTAGS dnl LT_HAVE_MAN2HTML dnl LT_HAVE_LIBXP dnl dnl dnl Search for Motif by using explicit paths dnl AC_DEFUN([AC_PATH_MOTIF_DIRECT], [test -z "$motif_direct_test_library" && motif_direct_test_library=Xm test -z "$motif_direct_test_function" && motif_direct_test_function=XmCreatePushButton test -z "$motif_direct_test_include" && motif_direct_test_include=Xm/Xm.h for ac_dir in \ /usr/include/Motif1.2 \ /usr/Motif1.2/include \ \ /usr/motif/include \ /usr/lesstif/include \ \ /usr/X11R6/include \ /usr/X11R5/include \ \ /usr/include/X11R6 \ /usr/include/X11R5 \ \ /usr/local/X11R6/include \ /usr/local/X11R5/include \ \ /usr/local/include/X11R6 \ /usr/local/include/X11R5 \ \ /usr/X11/include \ /usr/include/X11 \ /usr/local/X11/include \ /usr/local/include/X11 \ \ /usr/X386/include \ /usr/x386/include \ /usr/XFree86/include/X11 \ \ /usr/dt/include \ /usr/openwin/include \ /opt/openwin/include \ \ /usr/include \ /usr/local/include \ /usr/unsupported/include \ /usr/athena/include \ /usr/local/x11r5/include \ /usr/lpp/Xamples/include \ ; \ do if test -r "$ac_dir/$motif_direct_test_include"; then no_motif= ac_motif_includes=$ac_dir break fi done # Check for the libraries. # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS="$LIBS" LIBS="-l$motif_direct_test_library $LIBS" # First see if replacing the include by lib works. for ac_dir in `echo "$ac_motif_includes" | sed s/include/lib/` \ /usr/lib/Motif1.2 \ /usr/Motif1.2/lib \ \ /usr/motif/lib \ /usr/lesstif/lib \ \ /usr/X11R6/lib \ /usr/X11R5/lib \ \ /usr/lib/X11R6 \ /usr/lib/X11R5 \ \ /usr/local/X11R6/lib \ /usr/local/X11R5/lib \ \ /usr/local/lib/X11R6 \ /usr/local/lib/X11R5 \ \ /usr/X11/lib \ /usr/lib/X11 \ /usr/local/X11/lib \ \ /usr/X386/lib \ /usr/x386/lib \ /usr/XFree86/lib/X11 \ \ /usr/dt/lib \ /usr/openwin/lib \ /opt/openwin/lib \ \ /usr/lib \ /usr/local/lib \ /usr/unsupported/lib \ /usr/athena/lib \ /usr/local/x11r5/lib \ /usr/lpp/Xamples/lib \ ; \ do for ac_extension in a so sl; do if test -r $ac_dir/lib${motif_direct_test_library}.$ac_extension; then no_motif= ac_motif_libraries=$ac_dir break 2 fi done done LIBS=$ac_save_LIBS]) dnl dnl Search for Motif dnl AC_DEFUN([AC_PATH_MOTIF], [AC_REQUIRE_CPP()dnl AC_ARG_WITH(motif-includes, [ --with-motif-includes=DIR Motif include files are in DIR]) if test -z "$with_motif_includes"; then motif_includes=NONE else motif_includes=$with_motif_includes fi AC_ARG_WITH(motif-libraries, [ --with-motif-libraries=DIR Motif library files are in DIR]) if test -z "$with_motif_libraries"; then motif_libraries=NONE else motif_libraries=$with_motif_libraries fi AC_MSG_CHECKING(for Motif) AC_ARG_WITH(motif, [ --with-motif enable Motif tests]) if test "x$with_motif" = xno; then no_motif=yes else if test "x$motif_includes" != xNONE && test "x$motif_libraries" != xNONE; then no_motif= else AC_CACHE_VAL(ac_cv_path_motif, [# One or both of these vars are not set, and there is no cached value. no_motif=yes # # Let's try a test link. If it works this will avoid putting the # default paths onto the compile and link lines. # ac_save_libs="$LIBS" ac_save_cflags="$CFLAGS" ac_save_cppflags="$CPPFLAGS" LIBS="-lXm $X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" CFLAGS="$X_CFLAGS $CFLAGS" CPPFLAGS="$X_CFLAGS $CPPFLAGS" AC_TRY_LINK([#include ],[Widget w; XmCreateLabel(w, "", NULL, 0);], [ # # link passed, do nothing # no_motif="no" motif_includes="" motif_libraries="" ], # # link failed, go search for it # AC_PATH_MOTIF_DIRECT ) dnl AC_TRY_LINK LIBS="$ac_save_libs" CFLAGS="$ac_save_cflags" CPPFLAGS="$ac_save_cppflags" if test "$no_motif" = yes; then ac_cv_path_motif="no_motif=yes" else ac_cv_path_motif="no_motif= ac_motif_includes=$ac_motif_includes ac_motif_libraries=$ac_motif_libraries" fi])dnl fi eval "$ac_cv_path_motif" fi # with_motif != no if test "$no_motif" = yes; then AC_MSG_RESULT(no) else test "x$motif_includes" = xNONE && motif_includes=$ac_motif_includes test "x$motif_libraries" = xNONE && motif_libraries=$ac_motif_libraries ac_cv_path_motif="no_motif= ac_motif_includes=$motif_includes ac_motif_libraries=$motif_libraries" AC_MSG_RESULT([libraries $motif_libraries, headers $motif_includes]) fi test "x$motif_libraries" != "xNONE" && test "x$motif_libraries" != "x" && MOTIF_LIBS=-L$motif_libraries test "x$motif_includes" != "xNONE" && test "x$motif_includes" != "x" && MOTIF_CFLAGS=-I$motif_includes AC_SUBST(MOTIF_LIBS) AC_SUBST(MOTIF_CFLAGS) ]) dnl dnl Enable malloc checker for debugging purposes dnl See http://dmalloc.com, INSTALL(.html) for references to this. dnl Source code which depends on this is mostly in dnl DebugUtil.c/.h dnl AC_DEFUN([LT_WITH_DMALLOC], [AC_MSG_CHECKING(if malloc debugging is wanted) AC_ARG_WITH(dmalloc, [ --with-dmalloc[=path] use dmalloc, see INSTALL(.html) for reference], [if test "$withval" = no; then AC_MSG_RESULT(no) else if test "$withval" != yes; then dnl a path was given CFLAGS="$CFLAGS -I$withval/include -DDMALLOC_FUNC_CHECK" dnl link libs (LDFLAGS) and programs (LIBS) with it!? LDFLAGS="$LDFLAGS -L$withval/lib -ldmalloc" LIBS="$LIBS -L$withval/lib -ldmalloc" else CFLAGS="$CFLAGS -DDMALLOC_FUNC_CHECK" LDFLAGS="$LDFLAGS -ldmalloc" LIBS="$LIBS -ldmalloc" fi AC_TRY_LINK( [#include ], [char *ptr; ptr=malloc(1); dmalloc_shutdown();] , [AC_DEFINE(WITH_DMALLOC,1, [Define if using the dmalloc debugging malloc package]) AC_MSG_RESULT(Using dmalloc)], AC_MSG_ERROR(dmalloc not found) ) fi], [AC_MSG_RESULT(no)]) ]) dnl dnl Checks whether Exuberant ctags is present dnl (see http://darren.hiebert.com/ctags/index.html) dnl AC_DEFUN([AC_HAVE_EXCTAGS], [ ac_have_exctags=no AC_CHECK_PROG(ac_have_ctags, ctags, yes, no) if test "$ac_have_ctags" = "yes"; then AC_MSG_CHECKING(if ctags is actually Exuberant ctags) if test -z "`ctags --version 2>/dev/null | grep Exuberant`" ; then ac_have_exctags=no else ac_have_exctags=yes fi AC_MSG_RESULT($ac_have_exctags) fi AM_CONDITIONAL(Have_Exctags, test "$ac_have_exctags" = "yes") ]) dnl dnl Checks whether man2html is present dnl dnl We've taken a quick look at the world and have found that man pages dnl in traditional man page source are a good source. This source format dnl can be translated into e.g. HTML easily. dnl We use our own version of Debian's man2html. dnl AC_DEFUN([LT_HAVE_MAN2HTML], [ AC_MSG_CHECKING(for suitable man2html) AC_PATH_PROG(man2html_cmd, man2html) if test -x "$man2html_cmd" then if test -z "`$man2html_cmd &1 | grep \"LessTif's man2html\"`" then dnl found wrong one MAN2HTML="\$(top_builddir)/scripts/man2html" AC_MSG_RESULT(Use LessTif one) else dnl found right one MAN2HTML="$man2html_cmd" AC_MSG_RESULT($MAN2HTML) fi else dnl found none MAN2HTML="\$(top_builddir)/scripts/man2html" dnl AC_MSG_RESULT($MAN2HTML) fi AC_SUBST(MAN2HTML) AM_CONDITIONAL(LT_BUILD_MAN2HTML, test "$MAN2HTML" = "\$(top_builddir)/scripts/man2html") ]) dnl dnl Check for libXp dnl In fact this check ensures that dnl - and dnl - both libXp libXext dnl are in place dnl Note that a simpler check only for the libraries would not dnl be sufficient perhaps. dnl If the test succeeds it defines Have_Libxp within our dnl Makefiles. Perhaps one should immediately add those libs dnl to link commands which include libXm version2.1?! dnl AC_DEFUN([LT_HAVE_LIBXP], [AC_REQUIRE([AC_PATH_X]) AC_CACHE_CHECK(whether libXp is available, lt_cv_libxp, [lt_save_CFLAGS="$CFLAGS" lt_save_CPPFLAGS="$CPPFLAGS" lt_save_LIBS="$LIBS" LIBS="$X_LIBS -lXp -lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" CFLAGS="$X_CFLAGS $CFLAGS" CPPFLAGS="$X_CFLAGS $CPPFLAGS" AC_TRY_LINK([ #include #include ],[ int main() { Display *display=NULL; short major_version, minor_version; Status rc; rc=XpQueryVersion(display, &major_version, &minor_version); exit(0); } ], lt_cv_libxp=yes, lt_cv_libxp=no) ]) if test "$lt_cv_libxp" = "yes"; then AC_DEFINE(HAVE_LIB_XP) LT_HAVELIBXP=1 else LT_HAVELIBXP=0 fi AM_CONDITIONAL(Have_Libxp, test "$lt_cv_libxp" = "yes") AC_SUBST(LT_HAVELIBXP) CFLAGS="$lt_save_CFLAGS" CPPFLAGS="$lt_save_CPPFLAGS" LIBS="$lt_save_LIBS" ]) xbae-4.60.4/install-sh0000755000076400007640000002202110432117257011460 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. 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}" chmodcmd="$chmodprog 0755" 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 -n "$1"; 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) chmodcmd="$chmodprog $2" shift shift 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 $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # 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 break;; esac done if test -z "$1"; 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 for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi 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 dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # 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 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $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 "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 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 "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); 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: xbae-4.60.4/COPYING0000664000076400007640000000251310133272267010516 00000000000000# # $Date: 2004/10/13 18:32:23 $ # $Id: COPYING,v 1.3 2004/10/13 18:32:23 dannybackx Exp $ # Copyright (c) 1991, 1992 Bell Communications Research, Inc. (Bellcore) Copyright (c) 1995-99 Andrew Lister Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif/Xbae maintenance team. All Rights Reserved. Permission to use, copy, modify and distribute this material for any purpose and without fee is hereby granted, provided that the above copyright notices and this permission notice appear in all copies, and that the name of any author not be used in advertising or publicity pertaining to this material without the specific, prior written permission of an authorized representative of Bellcore and current maintainer. BELLCORE AND OTHER CONTRIBUTORS MAKE NO REPRESENTATIONS AND EXTEND NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL ANY AUTHOR OR ANY OF THEIR AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION. xbae-4.60.4/configure.in0000644000076400007640000001650210436576406012005 00000000000000dnl dnl $Header: /cvsroot/xbae/Xbae/configure.in,v 1.88 2006/05/29 13:54:14 tobiasoed Exp $ dnl dnl dnl EDIT THESE FOR A NEW RELEASE dnl define([XBAE_MAJOR_VERSION], [4]) define([XBAE_MINOR_VERSION], [60]) define([XBAE_PICO_VERSION], [4]) define([XBAE_LT_CURRENT], [5]) define([XBAE_LT_REVISION], [0]) define([XBAE_LT_AGE], [0]) AC_INIT(Xbae, XBAE_MAJOR_VERSION.XBAE_MINOR_VERSION.XBAE_PICO_VERSION) AC_CONFIG_SRCDIR(src/Matrix.c) AC_CONFIG_AUX_DIR(.) AM_INIT_AUTOMAKE AC_PREREQ(2.50) dnl dnl 1. Start with version information of `0:0:0' for each libtool library. dnl dnl 2. Update the version information only immediately before a public dnl release of your software. More frequent updates are unnecessary, dnl and only guarantee that the current interface number gets larger dnl faster. dnl dnl 3. If the library source code has changed at all since the last dnl update, then increment REVISION (`C:R:A' becomes `C:R+1:A'). dnl dnl 4. If any interfaces have been added, removed, or changed since the dnl last update, increment CURRENT, and set REVISION to 0. dnl dnl 5. If any interfaces have been added since the last public release, dnl then increment AGE. dnl dnl 6. If any interfaces have been removed since the last public release, dnl then set AGE to 0. dnl dnl **Never** try to set the interface numbers so that they correspond dnl to the release number of your package. This is an abuse that only dnl fosters misunderstanding of the purpose of library versions. dnl dnl Get the version variables defined for configuration file purposes. dnl AH_TEMPLATE([MAJOR_VERSION], [The major version number of this release]) AH_TEMPLATE([MINOR_VERSION], [The minor version number of this release]) AH_TEMPLATE([PICO_VERSION], [The pico version number of this release]) AC_DEFINE([MAJOR_VERSION], XBAE_MAJOR_VERSION, [The major version number of this release]) AC_DEFINE([MINOR_VERSION], XBAE_MINOR_VERSION, [The minor version number of this release]) AC_DEFINE([PICO_VERSION], XBAE_PICO_VERSION, [The pico version number of this release]) AH_TEMPLATE([XBAE_CURRENT], [The libtool major version number of this release]) AH_TEMPLATE([XBAE_REVISION], [The libtool minor version number of this release]) AH_TEMPLATE([XBAE_AGE], [The libtool pico version number of this release]) AC_DEFINE([XBAE_CURRENT], XBAE_LT_CURRENT, [The libtool major version number of this release]) AC_DEFINE([XBAE_REVISION], XBAE_LT_REVISION, [The libtool minor version number of this release]) AC_DEFINE([XBAE_AGE], XBAE_LT_AGE, [The libtool pico version number of this release]) dnl dnl Get the variables substituted by "configure" in all the files in AC_OUTPUT. dnl AC_SUBST(XBAE_CURRENT, XBAE_LT_CURRENT) AC_SUBST(XBAE_REVISION, XBAE_LT_REVISION) AC_SUBST(XBAE_AGE, XBAE_LT_AGE) AC_SUBST(XBAE_MAJOR, XBAE_MAJOR_VERSION) AC_SUBST(XBAE_MINOR, XBAE_MINOR_VERSION) AC_SUBST(XBAE_PICO, XBAE_PICO_VERSION) LT_HAVE_MAN2HTML AM_CONFIG_HEADER(include/XbaeConfig.h) if test x$USER = xrwscott then if test "$prefix" = "NONE" then prefix=/opt/lesstif fi fi dnl dnl Override a default in libtool. dnl AC_DISABLE_STATIC AC_PROG_CC AC_AIX AM_PROG_CC_STDC AC_HEADER_STDC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S AM_PROG_LIBTOOL AM_MAINTAINER_MODE AC_PROG_MAKE_SET AC_PATH_XTRA AH_TEMPLATE([USE_EDITRES], [Enable support for EditRes]) AH_TEMPLATE([HAVE_LIB_XP], [Whether libXp is available]) AH_TEMPLATE([HAVE_MOTIF], [Whether Motif is available]) AH_TEMPLATE([XBAE_PRODUCTION], [Create a production build]) AH_TEMPLATE([USING_EXCEED], [Build for Exceed]) dnl dnl Check for printing support dnl LT_HAVE_LIBXP AC_MSG_CHECKING(whether to link -lXp) if test "$lt_cv_libxp" = "yes"; then XPLIB="-lXp -lXext" else XPLIB="" fi AC_SUBST(XPLIB) AC_MSG_RESULT($XPLIB) dnl dnl Check for Motif dnl Use the macro that LessTif supplies for this for use in other applications. dnl AC_FIND_MOTIF dnl dnl Build a production version of the library dnl This will compile out XdbDebug statements dnl (the libraries itself remain binary compatible, you can dnl link against a debug version, run with a production version dnl and vice versa!) dnl AC_ARG_ENABLE(production, [ --enable-production build a production version]) if test "x$enable_production" = "xyes" ; then AC_DEFINE(XBAE_PRODUCTION) fi dnl Run test in a subshell; some versions of sh will print an error if dnl an executable is not found, even if stderr is redirected. dnl Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal --print-ac-dir) /dev/null 2>&1 && test -w `aclocal --print-ac-dir`; then ACLOCALDIR=`aclocal --print-ac-dir` AC_SUBST(ACLOCALDIR) fi AM_CONDITIONAL(Aclocal, test x$ACLOCALDIR != x ) dnl dnl Conditionally compile a couple of Xbae features dnl AC_MSG_CHECKING(whether to support EditRes) AC_ARG_WITH(editres, [ --with-editres, enable support for EditRes]) if test -z "$with_editres"; then use_editres=yes else use_editres=$with_editres fi AC_MSG_RESULT($use_editres) if test x$use_editres = xyes then AC_DEFINE(USE_EDITRES) elif test x$use_editres = xset then AC_DEFINE(USE_EDITRES) fi AM_CONDITIONAL(UseEditres, test x$use_editres = xyes) dnl dnl End of conditionally compiled Xbae features dnl dnl dnl Until we know how to auto-detect HCL's Exceed, configure this manually. dnl AC_ARG_ENABLE(exceed, [ --enable-exceed build a DLL for Exceed]) if test "x$enable_exceed" = "xyes" ; then AC_DEFINE(USING_EXCEED) fi dnl dnl End Exceed stuff dnl dnl Some checks about available headers/libraries ac_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $X_CFLAGS" AC_CHECK_HEADERS(xpm.h X11/xpm.h) CPPFLAGS="$ac_save_CPPFLAGS" dnl whether to use debugging malloc library LT_WITH_DMALLOC dnl Checks for library functions AC_CHECK_FUNCS(strcasecmp stricmp strncasecmp strnicmp) dnl dnl Xpm Library and Headers dnl if test "x$ac_cv_header_X11_xpm_h" = "xyes" -o "x$ac_cv_header_xpm_h" = "xyes" then AC_CHECK_LIB(Xpm, XpmLibraryVersion, , , $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS) AM_CONDITIONAL(HaveXpm, test x$ac_cv_lib_Xpm_XpmLibraryVersion = xyes) else AM_CONDITIONAL(HaveXpm, false) fi dnl for a single example only ... AC_CHECK_HEADER(Wcl/WcCreate.h, VarHaveWcl=yes, VarHaveWcl=no) AM_CONDITIONAL(HaveWcl, test x$VarHaveWcl = xyes) if test x$GCC = xyes then CFLAGS="$CFLAGS -Wall" fi dnl Check for exuberant ctags AC_HAVE_EXCTAGS dnl dnl Make sure these are substituted dnl AC_SUBST(CFLAGS) AC_SUBST(x_includes) AC_SUBST(x_libraries) dnl for libtool AC_SUBST(AS) AC_SUBST(DLLTOOL) AC_SUBST(OBJDUMP) dnl dnl Date dnl THE_DATE=`date +%F` AC_SUBST(THE_DATE) AC_OUTPUT(Makefile \ include/Makefile \ include/Xbae/Makefile \ include/Xbae/patchlevel.h \ src/Makefile \ src/XbaeCaption.3 \ src/XbaeInput.3 \ src/XbaeMatrix.3 \ examples/Makefile \ examples/add/Makefile \ examples/caption/Makefile \ examples/choice/Makefile \ examples/colors/Makefile \ examples/draw/Makefile \ examples/dynamic/Makefile \ examples/fifteen/Makefile \ examples/input/Makefile \ examples/list/Makefile \ examples/matrix/Makefile \ examples/multibyte/Makefile \ examples/multifixed/Makefile \ examples/select-drag/Makefile \ examples/select-push/Makefile \ examples/tests/Makefile \ examples/traversal/Makefile \ examples/Mri/Makefile \ examples/builderXcessory/Makefile \ examples/builderXcessory/xbae.wml \ doc/Makefile \ doc/images/Makefile \ scripts/Makefile \ scripts/Xbae.spec ) xbae-4.60.4/config.guess0000755000076400007640000012206510435532340012002 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-06-17' # 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., 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. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted 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. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. 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 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 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # 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 -q "$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 ;' # 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 ## for Red Hat Linux if test -f /etc/redhat-release ; then VENDOR=redhat ; else VENDOR= ; fi # 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 ;; *) 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 __ELF__ >/dev/null 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 0 ;; amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; arc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mac68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; macppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme88k:OpenBSD:*:*) echo m88k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvmeppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; pmax:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sgi:OpenBSD:*:*) echo mipseb-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sun3:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; wgrisc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} exit 0 ;; alpha:OSF1:*:*) if test $UNAME_RELEASE = "V4.0"; then UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` fi # 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 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/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; Alpha*:OpenVMS:*:*) echo alpha-hp-vms exit 0 ;; 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 0 ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit 0 ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit 0;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit 0;; 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 0 ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit 0 ;; DRS?6000:UNIX_SV:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7 && exit 0 ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; 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 0 ;; 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 0 ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; 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 0 ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; # 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 0 ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit 0 ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit 0 ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit 0 ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit 0 ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit 0 ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit 0 ;; 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 \ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit 0 ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit 0 ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit 0 ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit 0 ;; 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 0 ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit 0 ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit 0 ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit 0 ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit 0 ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit 0 ;; ????????: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 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit 0 ;; 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 0 ;; *: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 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 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 0 ;; *:AIX:*:[45]) 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 0 ;; *:AIX:*:*) echo rs6000-ibm-aix exit 0 ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit 0 ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit 0 ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit 0 ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit 0 ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit 0 ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit 0 ;; 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 # avoid double evaluation of $set_cc_for_build test -n "$CC_FOR_BUILD" || eval $set_cc_for_build if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit 0 ;; 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 && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit 0 ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit 0 ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit 0 ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit 0 ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit 0 ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit 0 ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit 0 ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit 0 ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit 0 ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; 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 0 ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; *:UNICOS/mp:*:*) echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; 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 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) # Determine whether the default compiler uses glibc. eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #if __GLIBC__ >= 2 LIBC=gnu #else LIBC= #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit 0 ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit 0 ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; x86:Interix*:[34]*) echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit 0 ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit 0 ;; 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 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit 0 ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit 0 ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #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 0 ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #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 0 ;; ppc:Linux:*:*) echo powerpc-${VENDOR:-unknown}-linux-gnu exit 0 ;; ppc64:Linux:*:*) echo powerpc64-${VENDOR:-unknown}-linux-gnu exit 0 ;; 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 ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit 0 ;; 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 0 ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit 0 ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu exit 0 ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; x86_64:Linux:*:*) echo x86_64-${VENDOR:-unknown}-linux-gnu exit 0 ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit 0 ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit 0 ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit 0 ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; 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 0 ;; 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 0 ;; 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 0 ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit 0 ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit 0 ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit 0 ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit 0 ;; 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 0 ;; i*86:*:5:[78]*) 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 0 ;; 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 0 ;; 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 i386. echo i386-pc-msdosdjgpp exit 0 ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit 0 ;; paragon:*:*:*) echo i860-intel-osf1 exit 0 ;; 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 0 ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit 0 ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit 0 ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 3[34]??:*: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) 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 0 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4 && exit 0 ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit 0 ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit 0 ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit 0 ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; *: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 0 ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit 0 ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit 0 ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit 0 ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit 0 ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit 0 ;; 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 0 ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit 0 ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit 0 ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit 0 ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit 0 ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) case `uname -p` in *86) UNAME_PROCESSOR=i686 ;; powerpc) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *: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 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit 0 ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit 0 ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit 0 ;; *: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 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit 0 ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit 0 ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit 0 ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit 0 ;; *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit 0 ;; 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"); 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 && $dummy && exit 0 # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } # 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 0 ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; c34*) echo c34-convex-bsd exit 0 ;; c38*) echo c38-convex-bsd exit 0 ;; c4*) echo c4-convex-bsd exit 0 ;; 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: xbae-4.60.4/Xbae.tmpl0000664000076400007640000001312107442761026011242 00000000000000#include "Xbae.rules" XCOMM Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) XCOMM Copyright(c) 1995-99 Andrew Lister XCOMM Copyright 1999, 2000, 2001, 2002 by the LessTif Developers XCOMM XCOMM $Id: Xbae.tmpl,v 1.9 2002/03/10 22:45:42 amai Exp $ XCOMM Specify which libraries need to be built. NOTE: If you want to try out XCOMM demo programs, it is recommended that you only mark DoNormalLib as XCOMM yes as the demos may have trouble finding the shared library. #define DoNormalLib YES #define DoSharedLib YES #define DoDebugLib YES #include XCOMM If your Motif installation needs a hand, enter the paths here XCOMM The ones provided could be used for Solaris with CDE. XCOMM It wont hurt to leave these defined anyway... /* EXTRA_INCLUDES=-I/usr/dt/include /**/ /* EXTRA_LDOPTIONS=-L/usr/dt/lib /**/ /* EXTRA_INCLUDES=-I/apps/motif/include -I/usr/lesstif/include */ /* EXTRA_LDOPTIONS=-L/apps/motif/lib -L/usr/lesstif/lib */ XCOMM If the Motif project root is not the same of X11, we need these two #ifdef MotifProjectRoot EXTRA_INCLUDES = -I$(MPROJECTROOT)/include EXTRA_LDOPTIONS = -L$(MPROJECTROOT)/lib #endif XCOMM Some of the examples use Wcl. If you haven't got Wcl, it doesn't XCOMM change the functionality of the matrix or caption widget. Just XCOMM some of the examples won't run. This functionality may be XCOMM deprecated in the very near future. Does anyone use Wcl anymore??? #define HaveWcl NO XCOMM If Xpm is installed, set to this to yes for colour pixmaps in the XCOMM draw example. It does not affect the widget compilation but without XCOMM it, apps will only be able to display two colour (Black & White) XCOMM bitmaps XCOMM If you don't have the Xpm library, you *should* get it XCOMM NOTE: The example program expects the include file to be in XCOMM ..../X11/xpm.h and the library in the default library location. #define HaveXpm YES XCOMM Resizing of columns... XCOMM Two choices here: XCOMM 1) Draw the resize column line as a simple line XCOMM #define DRAW_RESIZE_LINE XCOMM or XCOMM 2) Draw the resize column as a shadowed line. XCOMM #define DRAW_RESIZE_SHADOW XCOMM #2 looks much cooler but is less efficient, just because XCOMM it takes more to draw. But it looks much much better. XCOMM If the overhead of drawing a column, is a bit much for your X server, XCOMM try defining DRAW_RESIZE_LINE otherwise (as it "looks much cooler", use XCOMM DRAW_RESIZE_SHADOW. Of course, if you prefer the look of a single line XCOMM define it here too. XCOMM I would imagine that drawing a shadow would be capable in most servers. COLUMN_RESIZE = DRAW_RESIZE_SHADOW XCOMM If you have editres, the demos can be compiled to allow use of it XCOMM If you don't set it to NO #define USE_EDITRES YES XCOMM Set the slowest scrolling speed for when the pointer is moved out of XCOMM clip widget. Default is 500 milliseconds (+ computation time). This XCOMM value is halved each time the pointer moves half a row from the clip /* #define DEFAULT_SCROLL_SPEED 500 /**/ XCOMM If you want to use two byte characters - eg Kanji you can try defining XCOMM NEED_WCHAR. The functionality of two byte fonts is still under XCOMM development and probably doesn't work :( /* #define NEED_WCHAR /**/ #ifdef SVR4 /* You may or may not need these */ SVR4_LIBS=-lgen #endif XCOMM Everything under here should be fine. IE. Don't mess with it unless XCOMM you know what you are doing XCOMM A fix from Brian McAllister! #ifdef AlphaArchitecture #ifdef __osf__ CCOPTIONS=-std #endif #endif XCOMM Define your favourite compiler and compiler options. Or, do XCOMM it the easy way and let xmkmf do it for you. XCOMM CC=gcc XCOMM CDEBUGFLAGS=-g -Wall -pedantic /* My compiler options */ XCOMM Define your sed program. I imagine even perl would work. Used to XCOMM generate the real .h files from the .in files used for configure. Sigh. SED=sed XCOMM Version to make the shared library. Only used if DoSharedLib is set to XCOMM YES. Again, don't change this, unless you know what you are doing. XbaeVERSION=4 XbaeREVISION=8 XbaeUPDATE=4 XBAEVERSION=$(XbaeVERSION).$(XbaeREVISION) XbaeSharedLibraryRevision=$(XbaeREVISION).$(XbaeUPDATE) XCOMM You can prevent the header files from being installed by saying XCOMM so here. #define INSTALL_HEADERS YES LOCAL_LDFLAGS = -L../../src $(EXTRA_LDOPTIONS) DEPLIBS = INCLUDES = -I../../include #if ProjectX > 5 X11R6_LIBS = -lSM -lICE #else X11R6_LIBS = #endif #ifndef XmClientLibs # define XmClientLibs -lXm $(XTOOLLIB) $(XLIB) #endif #ifndef HasSaberC #define HasSaberC NO #endif DEFINES = -D_NO_PROTO #if USE_EDITRES EDITRES_LIBS = $(XMULIBONLY) DEFINES += -DUSE_EDITRES #endif /* For LessTif, LessTif.tmpl may define XmVersion and XmRevision. As of * version 2.x, Motif.tmpl contains the definition of MotifSharedRev, so we * use it to check for the Motiv version. Not a strong test, but still better * than nothing. * * Motif 1.x does not contain XPM, so we need to link to libXpm and use * X11/Xpm.h. Motif 2.x already contains XPM, so we use Xm/XpmP.h and don't * need to link to libXpm. */ #if HaveXpm #if (defined(XmVersion) && XmVersion < 2) || !defined(MotifSharedRev) LOCAL_LIBRARIES = -lXbae -lXpm $(X11R6_LIBS) $(EDITRES_LIBS) XmClientLibs DEFINES += -DHAVE_X11_XPM_H #else LOCAL_LIBRARIES = -lXbae $(X11R6_LIBS) $(EDITRES_LIBS) XmClientLibs #endif #endif XCOMM If this breaks anybody's build, be sure to let me know... XCOMM #if HasSaberC XCOMM saber: XCOMM load $(ALLDEFINES) $(SRCS) XCOMM osaber: XCOMM load $(ALLDEFINES) $(OBJS) XCOMM #endif xbae-4.60.4/CVSMake0000775000076400007640000000137207432255614010651 00000000000000#! /bin/sh # # $Id: CVSMake,v 1.11 2002/02/12 18:14:36 amai Exp $ # These are the steps that must be done after a "make maintainer-clean" # in order to ./configure this package. echo "$0 running" # Get m4 from current PATH! M4_=`which m4` if test -x "$M4_" then M4="$M4_" export M4 else echo "No m4 found. Exiting" exit 1 fi # Check for some options if test "x$1" = "xnodist" || test "x$2" = "xnodist" ; then distflag=" " else distflag="-i" fi # Clean up old files which could hurt otherwise rm -f config.cache config.guess config.log config.status config.sub \ libtool ltmain.sh aclocal.m4 Makefile # Our 'canonical' sequence: libtoolize --copy --force --automake aclocal -I . autoconf autoheader automake -a -c --foreign $distflag xbae-4.60.4/src/0000777000076400007640000000000010436577407010345 500000000000000xbae-4.60.4/src/Methods.c0000644000076400007640000033626610435541365012041 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Methods.c,v 1.169 2006/05/26 08:57:25 tobiasoed Exp $ */ /* * Methods.c created by Andrew Lister (7 August, 1995) */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static void AddVarRowsToTable(XbaeMatrixWidget, int, String *, String *, short *, Pixel *, Pixel *, int); static void DeleteRowsFromTable(XbaeMatrixWidget, int, int); static void AddColumnsToTable(XbaeMatrixWidget, int, String *, String *, short *, int *, unsigned char *, unsigned char *, Pixel *, Pixel *, int); static void DeleteColumnsFromTable(XbaeMatrixWidget, int, int); static void DoEditCell(XbaeMatrixWidget, XEvent *, int, int, String *, Cardinal); static Boolean DoCommitEdit(XbaeMatrixWidget, XEvent *); void * xbaeAddValuesToArray(void *values, void *new_values, void *default_value_p, size_t size, int n_values, int n_new_values, int position) { int i; if (values) { /* * The existing items have a value, increase the size to accomodate * the new items */ values = XtRealloc(values, size * (n_values + n_new_values)); /* * If the new items are to be inserted in the middle, make some space */ if (position < n_values) { memmove((char *) values + size * (position + n_new_values), (char *) values + size * position, size * (n_values - position)); } if (new_values) { /* * The values of the new items are given, copy them */ memcpy((char *) values + size * position, new_values, size * n_new_values); } else { /* * The values are not given, init the new items to the default */ for(i = 0; i < n_new_values; i++) { memcpy((char *) values + size * (position + i), default_value_p, size); } } } else if (new_values) { /* * The existing items have no values but the new ones do. Alloc an array * big enough for the existing and the new items */ values = XtMalloc(size * (n_values + n_new_values)); /* * Init the existing items to the default */ for(i = 0; i < position; i++) { memcpy((char *) values + size * i, default_value_p, size); } for(i = position + n_new_values; i < n_values + n_new_values; i++) { memcpy((char *) values + size * i, default_value_p, size); } /* * Copy the values of the new items */ memcpy((char *) values + size * position, new_values, size * n_new_values); } else { /* * The existing and new items don't have a value, the result is that * no item has a value, we have nothing to do */ } return values; } void * xbaeDeleteValuesFromArray(void *values, size_t size, int n_values, int n_deleted, int position) { if (values) { if (position + n_deleted < n_values) { memmove((char *) values + size * position, (char *) values + size * (position + n_deleted), size * (n_values - position - n_deleted)); } values = XtRealloc(values, size * (n_values - n_deleted)); } return values; } /* * Add rows to the internal cells data structure. * If rows or labels is NULL, add empty rows. */ static void AddVarRowsToTable(XbaeMatrixWidget mw, int position, String * rows, String * labels, short *heights, Pixel * colors, Pixel * backgrounds, int num_rows) { int i, j; Boolean default_false = False; void *default_user_data = NULL; short default_row_height = DEFAULT_ROW_HEIGHT(mw); short default_row_shadow_type = 0; char *default_label = NULL; XmString default_xmlabel = NULL; mw->matrix.row_button_labels = xbaeAddValuesToArray(mw->matrix.row_button_labels, NULL, &default_false, sizeof default_false, mw->matrix.rows, num_rows, position); mw->matrix.row_user_data = xbaeAddValuesToArray(mw->matrix.row_user_data, NULL, &default_user_data, sizeof default_user_data, mw->matrix.rows, num_rows, position); mw->matrix.row_shadow_types = xbaeAddValuesToArray(mw->matrix.row_shadow_types, NULL, &default_row_shadow_type, sizeof default_row_shadow_type, mw->matrix.rows, num_rows, position); mw->matrix.xmrow_labels = xbaeAddValuesToArray(mw->matrix.xmrow_labels, NULL, &default_xmlabel, sizeof default_xmlabel, mw->matrix.rows, num_rows, position); mw->matrix.row_labels = xbaeAddValuesToArray(mw->matrix.row_labels, labels, &default_label, sizeof default_label, mw->matrix.rows, num_rows, position); /* * Copy the labels, not just a pointer to them and recompute row_label_maxlength */ if (labels) { for(i = 0; i < num_rows; i++) { if (labels[i]) { mw->matrix.row_labels[position + i] = XtNewString(labels[i]); } } mw->matrix.row_label_maxlength = xbaeCalculateLabelMaxLength(mw, mw->matrix.row_labels, mw->matrix.xmrow_labels, mw->matrix.rows + num_rows); } /* * If the user added rows to a matrix without rows and he didn't specify the * heights we need to create the row_heights array */ if (mw->matrix.rows == 0 && heights == 0) { mw->matrix.row_heights = (short *) XtMalloc(num_rows * sizeof (short *)); for (i = 0; i < num_rows; i++) { mw->matrix.row_heights[i] = default_row_height; } } else { mw->matrix.row_heights = xbaeAddValuesToArray(mw->matrix.row_heights, heights, &default_row_height, sizeof default_row_height, mw->matrix.rows, num_rows, position); /* Don't allow negative heights */ if (heights) { for(i = 0; i < num_rows; i++) { if (heights[i] < 0) { mw->matrix.row_heights[position + i] = default_row_height; } } } } /* * If rows, colors or backgrounds are specified, we need a per cell array */ if (mw->matrix.per_cell || rows || colors || backgrounds) { XbaeMatrixPerCellRec *default_per_cell_p = NULL; assert(mw->matrix.columns); if (mw->matrix.rows == 0) { mw->matrix.per_cell = (XbaeMatrixPerCellRec **) XtMalloc(num_rows * sizeof *mw->matrix.per_cell); for(i = 0; i < num_rows; i++) { mw->matrix.per_cell[i] = NULL; } } else { if (!mw->matrix.per_cell) { xbaeCreatePerCell(mw); } mw->matrix.per_cell = xbaeAddValuesToArray(mw->matrix.per_cell, NULL, &default_per_cell_p, sizeof default_per_cell_p, mw->matrix.rows, num_rows, position); } /* * Malloc a new array of per cell records for each new row. */ for (i = 0; i < num_rows; i++) { mw->matrix.per_cell[i + position] = (XbaeMatrixPerCellRec *) XtMalloc(mw->matrix.columns * sizeof(XbaeMatrixPerCellRec)); /* * Copy the rows arrays passed in into each new row, or if NULL * was passed in initialize each row to NULL Strings. Copy the colors * arrays passed in into each new row, if NULL was passed use foreground. */ for (j = 0; j < mw->matrix.columns; j++) { xbaeFill_WithEmptyValues_PerCell(mw, &mw->matrix.per_cell[i + position][j]); if (colors) { mw->matrix.per_cell[i + position][j].color = colors[i]; } if (backgrounds) { mw->matrix.per_cell[i + position][j].background = backgrounds[i]; } if (rows && rows[i * mw->matrix.columns + j]) { mw->matrix.per_cell[i + position][j].CellValue = XtNewString(rows[i * mw->matrix.columns + j]); } } } } mw->matrix.rows += num_rows; /* * Recalculate the row positions */ xbaeFreeRowPositions(mw); mw->matrix.row_positions = CreateRowPositions(mw); xbaeGetRowPositions(mw); } /* * Delete rows from the internal cells data structure. */ static void DeleteRowsFromTable(XbaeMatrixWidget mw, int position, int num_rows) { int i, j; /* * Free the row labels and recalculate row_label_maxlength. */ for (i = position; i < position + num_rows; i++) { if (mw->matrix.row_labels && mw->matrix.row_labels[i]) { XtFree((XtPointer) mw->matrix.row_labels[i]); } if (mw->matrix.xmrow_labels && mw->matrix.xmrow_labels[i]) { XmStringFree(mw->matrix.xmrow_labels[i]); } } mw->matrix.row_labels = xbaeDeleteValuesFromArray(mw->matrix.row_labels, sizeof *mw->matrix.row_labels, mw->matrix.rows, num_rows, position); mw->matrix.xmrow_labels = xbaeDeleteValuesFromArray(mw->matrix.xmrow_labels, sizeof *mw->matrix.xmrow_labels, mw->matrix.rows, num_rows, position); mw->matrix.row_label_maxlength = xbaeCalculateLabelMaxLength(mw, mw->matrix.row_labels, mw->matrix.xmrow_labels, mw->matrix.rows - num_rows); /* * Free the per cell elements that are allocated */ if (mw->matrix.per_cell) { for (i = position; i < position + num_rows; i++) { for (j = 0; j < mw->matrix.columns; j++) { xbaeFreePerCellEntity(mw, i, j); } XtFree((XtPointer) mw->matrix.per_cell[i]); } mw->matrix.per_cell = xbaeDeleteValuesFromArray(mw->matrix.per_cell, sizeof *mw->matrix.per_cell, mw->matrix.rows, num_rows, position); } /* * Copy those rows which are below the ones deleted, up. * (unless we deleted rows from the bottom). */ mw->matrix.row_button_labels = xbaeDeleteValuesFromArray(mw->matrix.row_button_labels, sizeof *mw->matrix.row_button_labels, mw->matrix.rows, num_rows, position); mw->matrix.row_user_data = xbaeDeleteValuesFromArray(mw->matrix.row_user_data, sizeof *mw->matrix.row_user_data, mw->matrix.rows, num_rows, position); mw->matrix.row_shadow_types = xbaeDeleteValuesFromArray(mw->matrix.row_shadow_types, sizeof *mw->matrix.row_shadow_types, mw->matrix.rows, num_rows, position); mw->matrix.row_heights = xbaeDeleteValuesFromArray(mw->matrix.row_heights, sizeof *mw->matrix.row_heights, mw->matrix.rows, num_rows, position); mw->matrix.rows -= num_rows; /* * Recalculate the row positions */ xbaeFreeRowPositions(mw); mw->matrix.row_positions = CreateRowPositions(mw); xbaeGetRowPositions(mw); } /* * Add columns to the internal cells data structure. * If columns or labels is NULL, add empty columns. * If max_lengths is NULL, widths will be used. * If alignments is NULL, use XmALIGNMENT_BEGINNING. * If label_alignments is NULL, use alignments, or if it is NULL * XmALIGNMENT_BEGINNING. */ static void AddColumnsToTable(XbaeMatrixWidget mw, int position, String * columns, String * labels, short *widths, int *max_lengths, unsigned char *alignments, unsigned char *label_alignments, Pixel * colors, Pixel * backgrounds, int num_columns) { int i, j; Boolean default_true = True; Boolean default_false = False; void *default_user_data = NULL; short default_column_width = DEFAULT_COLUMN_WIDTH(mw); short default_column_shadow_type = 0; int default_column_max_length = 0; unsigned char default_alignment = XmALIGNMENT_BEGINNING; String default_label = NULL; XmString default_xmlabel = NULL; mw->matrix.column_alignments = xbaeAddValuesToArray(mw->matrix.column_alignments, alignments, &default_alignment, sizeof default_alignment, mw->matrix.columns, num_columns, position); mw->matrix.column_label_alignments = xbaeAddValuesToArray(mw->matrix.column_label_alignments, label_alignments, &default_alignment, sizeof default_alignment, mw->matrix.columns, num_columns, position); mw->matrix.column_font_bold = xbaeAddValuesToArray(mw->matrix.column_font_bold, NULL, &default_false, sizeof default_false, mw->matrix.columns, num_columns, position); mw->matrix.show_column_arrows = xbaeAddValuesToArray(mw->matrix.show_column_arrows, NULL, &default_true, sizeof default_true, mw->matrix.columns, num_columns, position); mw->matrix.column_max_lengths = xbaeAddValuesToArray(mw->matrix.column_max_lengths, NULL, &default_column_max_length, sizeof default_column_max_length, mw->matrix.columns, num_columns, position); mw->matrix.column_button_labels = xbaeAddValuesToArray(mw->matrix.column_button_labels, NULL, &default_false, sizeof default_false, mw->matrix.columns, num_columns, position); mw->matrix.column_user_data = xbaeAddValuesToArray(mw->matrix.column_user_data, NULL, &default_user_data, sizeof default_user_data, mw->matrix.columns, num_columns, position); mw->matrix.column_shadow_types = xbaeAddValuesToArray(mw->matrix.column_shadow_types, NULL, &default_column_shadow_type, sizeof default_column_shadow_type, mw->matrix.columns, num_columns, position); mw->matrix.xmcolumn_labels = xbaeAddValuesToArray(mw->matrix.xmcolumn_labels, NULL, &default_xmlabel, sizeof default_xmlabel, mw->matrix.columns, num_columns, position); mw->matrix.column_labels = xbaeAddValuesToArray(mw->matrix.column_labels, labels, &default_label, sizeof default_label, mw->matrix.columns, num_columns, position); /* * Copy the labels, not just a pointer to them and recompute column_label_maxlines */ if (labels) { for(i = 0; i < num_columns; i++) { if (labels[i]) { mw->matrix.column_labels[position + i] = XtNewString(labels[i]); } } mw->matrix.column_label_maxlines = xbaeCalculateLabelMaxLines(mw->matrix.column_labels, mw->matrix.xmcolumn_labels, mw->matrix.columns + num_columns); } /* * If the user added columns to a matrix without columns and he didn't specify the * widths we need to create the column_widths array */ if (mw->matrix.columns == 0 && widths == 0) { mw->matrix.column_widths = (short *) XtMalloc(num_columns * sizeof (short *)); for (i = 0; i < num_columns; i++) { mw->matrix.column_widths[i] = default_column_width; } } else { mw->matrix.column_widths = xbaeAddValuesToArray(mw->matrix.column_widths, widths, &default_column_width, sizeof default_column_width, mw->matrix.columns, num_columns, position); /* Don't allow negative widths */ if (widths) { for(i = 0; i < num_columns; i++) { if (widths[i] < 0) { mw->matrix.column_widths[position + i] = default_column_width; } } } } /* * If columns, colors or backgrounds are specified, we need a per cell array */ if (mw->matrix.per_cell || columns || colors || backgrounds) { XbaeMatrixPerCellRec default_per_cell; xbaeFill_WithEmptyValues_PerCell(mw, &default_per_cell); assert(mw->matrix.rows); if (mw->matrix.columns == 0) { mw->matrix.per_cell = (XbaeMatrixPerCellRec **) XtMalloc(mw->matrix.rows * sizeof *mw->matrix.per_cell); for (i = 0; i < mw->matrix.rows; i++) { mw->matrix.per_cell[i] = (XbaeMatrixPerCellRec *) XtMalloc(num_columns * sizeof *mw->matrix.per_cell[i]); for(j = 0; j < num_columns; j++) { mw->matrix.per_cell[i][j] = default_per_cell; } } } else { if (!mw->matrix.per_cell) { xbaeCreatePerCell(mw); } for (i = 0; i < mw->matrix.rows; i++) { mw->matrix.per_cell[i] = xbaeAddValuesToArray(mw->matrix.per_cell[i], NULL, &default_per_cell, sizeof default_per_cell, mw->matrix.columns, num_columns, position); } } /* * Copy all of the passed in info into each new column * (except column_positions which will be recalculated below). * If columns is NULL, add empty columns. * If colors is NULL, use foreground. * Use False for new button label flags. */ for (i = 0; i < mw->matrix.rows; i++) { for (j = 0; j < num_columns; j++) { if (colors) { mw->matrix.per_cell[i][j + position].color = colors[j]; } if (backgrounds) { mw->matrix.per_cell[i][j + position].background = backgrounds[j]; } if (columns && columns[i * num_columns + j]) { mw->matrix.per_cell[i][j + position].CellValue = XtNewString(columns[i * num_columns + j]); } } } } mw->matrix.columns += num_columns; /* * Recalculate the column positions */ xbaeFreeColumnPositions(mw); mw->matrix.column_positions = CreateColumnPositions(mw); xbaeGetColumnPositions(mw); } /* * Delete columns from the internal cells data structure. */ static void DeleteColumnsFromTable(XbaeMatrixWidget mw, int position, int num_columns) { int i, j; /* * Free the column labels and recalculate column_label_maxlines. */ for (j = position; j < position + num_columns; j++) { if (mw->matrix.column_labels && mw->matrix.column_labels[j]) { XtFree((XtPointer) mw->matrix.column_labels[j]); } if (mw->matrix.xmcolumn_labels && mw->matrix.xmcolumn_labels[j]) { XmStringFree(mw->matrix.xmcolumn_labels[j]); } } mw->matrix.column_labels = xbaeDeleteValuesFromArray(mw->matrix.column_labels, sizeof *mw->matrix.column_labels, mw->matrix.columns, num_columns, position); mw->matrix.xmcolumn_labels = xbaeDeleteValuesFromArray(mw->matrix.xmcolumn_labels, sizeof *mw->matrix.xmcolumn_labels, mw->matrix.columns, num_columns, position); mw->matrix.column_label_maxlines = xbaeCalculateLabelMaxLines(mw->matrix.column_labels, mw->matrix.xmcolumn_labels, mw->matrix.columns - num_columns); /* * Free the per cell elements that are allocated */ if (mw->matrix.per_cell) { for(i = 0; i < mw->matrix.rows; i++) { for (j = position; j < position + num_columns; j++) { xbaeFreePerCellEntity(mw, i, j); } mw->matrix.per_cell[i] = xbaeDeleteValuesFromArray(mw->matrix.per_cell[i], sizeof *mw->matrix.per_cell[i], mw->matrix.columns, num_columns, position); } if (mw->matrix.columns == num_columns) { XtFree((XtPointer) mw->matrix.per_cell); mw->matrix.per_cell = NULL; } } /* * Shift those columns after the ones being deleted, left. * (unless we deleted columns from the right). */ mw->matrix.column_alignments = xbaeDeleteValuesFromArray(mw->matrix.column_alignments, sizeof *mw->matrix.column_alignments, mw->matrix.columns, num_columns, position); mw->matrix.column_label_alignments = xbaeDeleteValuesFromArray(mw->matrix.column_label_alignments, sizeof *mw->matrix.column_label_alignments, mw->matrix.columns, num_columns, position); mw->matrix.column_font_bold = xbaeDeleteValuesFromArray(mw->matrix.column_font_bold, sizeof *mw->matrix.column_font_bold, mw->matrix.columns, num_columns, position); mw->matrix.show_column_arrows = xbaeDeleteValuesFromArray(mw->matrix.show_column_arrows, sizeof *mw->matrix.show_column_arrows, mw->matrix.columns, num_columns, position); mw->matrix.column_max_lengths = xbaeDeleteValuesFromArray(mw->matrix.column_max_lengths, sizeof *mw->matrix.column_max_lengths, mw->matrix.columns, num_columns, position); mw->matrix.column_button_labels = xbaeDeleteValuesFromArray(mw->matrix.column_button_labels, sizeof *mw->matrix.column_button_labels, mw->matrix.columns, num_columns, position); mw->matrix.column_user_data = xbaeDeleteValuesFromArray(mw->matrix.column_user_data, sizeof *mw->matrix.column_user_data, mw->matrix.columns, num_columns, position); mw->matrix.column_shadow_types = xbaeDeleteValuesFromArray(mw->matrix.column_shadow_types, sizeof *mw->matrix.column_shadow_types, mw->matrix.columns, num_columns, position); mw->matrix.column_widths = xbaeDeleteValuesFromArray(mw->matrix.column_widths, sizeof *mw->matrix.column_widths, mw->matrix.columns, num_columns, position); mw->matrix.columns -= num_columns; /* * Recalculate the column positions */ xbaeFreeColumnPositions(mw); mw->matrix.column_positions = CreateColumnPositions(mw); xbaeGetColumnPositions(mw); } /* * Set the contents of the TextField */ void xbaeUpdateTextFieldFont(XbaeMatrixWidget mw, XrmQuark qtag) { XrmQuark default_qtag = ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.default_qtag; if ( mw->matrix.current_text_qtag == NULLQUARK || (qtag == NULLQUARK && mw->matrix.current_text_qtag != default_qtag) || (qtag != NULLQUARK && mw->matrix.current_text_qtag != qtag)) { #if XmVERSION >= 2 if (mw->matrix.render_table) { XmRendition rendition; XmRenderTable render_table; if (qtag) { XmStringTag tag = XrmQuarkToString(qtag); mw->matrix.current_text_qtag = qtag; rendition = xbaeRenderTableGetRendition(mw, mw->matrix.render_table, tag); } else { mw->matrix.current_text_qtag = default_qtag; rendition = xbaeRenderTableGetRendition(mw, mw->matrix.render_table, NULL); } render_table = XmRenderTableAddRenditions(NULL, &rendition, 1, XmMERGE_NEW); XtVaSetValues(TextField(mw), XmNrenderTable, render_table, NULL); XmRenditionFree(rendition); XmRenderTableFree(render_table); } else #endif { XmFontListEntry font_list_entry; XmFontList font_list; if (qtag) { XmStringTag tag = XrmQuarkToString(qtag); mw->matrix.current_text_qtag = qtag; font_list_entry = xbaeFontListGetEntry(mw, mw->matrix.font_list, tag); } else { mw->matrix.current_text_qtag = default_qtag; font_list_entry = xbaeFontListGetEntry(mw, mw->matrix.font_list, NULL); } font_list = XmFontListAppendEntry(NULL, font_list_entry); XtVaSetValues(TextField(mw), XmNfontList, font_list, NULL); XmFontListFree(font_list); } } } void xbaeUpdateTextField(XbaeMatrixWidget mw, Boolean UpdateValue) { XbaeMatrixCellValuesStruct cell_values; int row, column; XtVaGetValues(TextField(mw), XmNattachRow, &row, XmNattachColumn, &column, NULL); assert( mw->matrix.text_field_is_mapped && row >= 0 && row < mw->matrix.rows && column >= 0 && column < mw->matrix.columns); xbaeGetCellValues(mw, row, column, True, &cell_values); if (cell_values.drawCB.type & XbaeString) { XtVaSetValues(TextField(mw), XmNbackground, cell_values.drawCB.background, XmNforeground, cell_values.drawCB.foreground, NULL ); if (UpdateValue) { /* Remove the modify verify callback when the TextField is set. It thinks we are modifying the value - Motif thinks that it knows best but we know better! */ XtRemoveCallback(TextField(mw), XmNmodifyVerifyCallback, xbaeModifyVerifyCB, (XtPointer) mw); XmTextSetString(TextField(mw), cell_values.drawCB.string); XtAddCallback(TextField(mw), XmNmodifyVerifyCallback, xbaeModifyVerifyCB, (XtPointer) mw); } } else { xbaeHideTextField(mw); } if ((cell_values.drawCB.type & XbaeStringFree) == XbaeStringFree) { XtFree((XtPointer) cell_values.drawCB.string); } } /* * Matrix set_cell method */ void xbaeSetCell(XbaeMatrixWidget mw, int row, int column, String value, Boolean update_text) { Boolean changed = False; if (row >= mw->matrix.rows || row < 0 || column >= mw->matrix.columns || column < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeSetCell", "badIndex", "XbaeMatrix", "XbaeMatrix: Row or column out of bounds for xbaeSetCell.", NULL, 0); return; } /* * If we have a draw cell callback, we must have a write cell callback * also if we want to set the data. Use this callback to write the * new data back to the application. */ if (mw->matrix.draw_cell_callback) { XbaeMatrixWriteCellCallbackStruct call_data; if (mw->matrix.write_cell_callback) { call_data.reason = XbaeWriteCellReason; call_data.event = (XEvent *) NULL; call_data.row = row; call_data.column = column; call_data.string = value; call_data.type = XbaeString; call_data.pixmap = (Pixmap) NULL; call_data.mask = (Pixmap) NULL; XtCallCallbackList((Widget) mw, mw->matrix.write_cell_callback, (XtPointer) & call_data); } changed = True; } #if 0 /* To make DrawCellCallback easier, also store the cell values in the widget */ else #endif { /* * Store the new value in the cell. */ if (!mw->matrix.per_cell && value && value[0] != 0) xbaeCreatePerCell(mw); if (mw->matrix.per_cell) { if (mw->matrix.per_cell[row][column].CellValue == NULL) { if (value && value[0] != 0) { mw->matrix.per_cell[row][column].CellValue = XtNewString(value); changed = True; } } else if (value == NULL || value[0] == 0) { XtFree((char *) mw->matrix.per_cell[row][column].CellValue); mw->matrix.per_cell[row][column].CellValue = NULL; changed = True; } else if (strcmp(mw->matrix.per_cell[row][column].CellValue, value) != 0) { XtFree((char *) mw->matrix.per_cell[row][column].CellValue); mw->matrix.per_cell[row][column].CellValue = XtNewString(value); changed = True; } } } if (changed) { int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); /* * Value has changed, draw the cell */ if (xbaeIsCellVisible(mw, row, column)) { xbaeDrawCell(mw, row, column); } /* * If we are editing this cell, load the textField too if update_text set. */ if ( update_text && mw->matrix.text_field_is_mapped && current_row == row && current_column == column) { xbaeUpdateTextField(mw, True); } } } /* * The meat of Matrix commit_edit method. */ static Boolean DoCommitEdit(XbaeMatrixWidget mw, XEvent * event) { String cell; int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); if (!mw->matrix.text_field_is_mapped) return True; /* * Get the value the user entered in the textField (this is a copy) */ cell = XmTextGetString(TextField(mw)); /* * Call the leaveCellCallback to see if we can leave the current cell. */ if (mw->matrix.leave_cell_callback) { XbaeMatrixLeaveCellCallbackStruct call_data; call_data.reason = XbaeLeaveCellReason; call_data.event = event; call_data.row = current_row; call_data.column = current_column; call_data.value = cell; call_data.doit = True; XtCallCallbackList((Widget) mw, mw->matrix.leave_cell_callback, (XtPointer) & call_data); /* * Application doesn't want to leave this cell. Make the cell visible * and traverse to it so the user can see where they screwed up. */ if (!call_data.doit) { xbaeMakeCellVisible(mw, current_row, current_column); XmProcessTraversal(TextField(mw), XmTRAVERSE_CURRENT); XtFree((char *) cell); return False; } /* * Use the applications value if it is different. * If the application modified the string inplace, we will pick that * up automatically. */ if (call_data.value != cell) { XtFree((char *) cell); cell = call_data.value; } } /* * Call the set_cell method to store the new value in the cell and redraw. */ ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.set_cell(mw, current_row, current_column, cell, True); XtFree((char *) cell); return True; } /* * Position and size the scrollbars and clip widget for our size. */ void xbaeRelayout(XbaeMatrixWidget mw) { Boolean has_horiz, has_vert; Boolean scrollbar_top = SCROLLBAR_TOP(mw); Boolean scrollbar_left = SCROLLBAR_LEFT(mw); int non_fixed_rows = mw->matrix.rows - mw->matrix.fixed_rows - mw->matrix.trailing_fixed_rows; int non_fixed_columns = mw->matrix.columns - mw->matrix.fixed_columns - mw->matrix.trailing_fixed_columns; int width = mw->core.width; int height = mw->core.height; int full_width = TOTAL_WIDTH(mw) + ROW_LABEL_WIDTH(mw) + 2 * mw->manager.shadow_thickness; int full_height = TOTAL_HEIGHT(mw) + COLUMN_LABEL_HEIGHT(mw) + 2 * mw->manager.shadow_thickness; int column_label_height = COLUMN_LABEL_HEIGHT(mw); int row_label_width = ROW_LABEL_WIDTH(mw); int fixed_row_position, non_fixed_row_position, trailing_fixed_row_position; int fixed_column_position, non_fixed_column_position, trailing_fixed_column_position; /* * We are trying to figure these out so we can't use the macros here. */ mw->matrix.visible_fixed_row_height = FIXED_ROW_HEIGHT(mw); mw->matrix.visible_fixed_column_width = FIXED_COLUMN_WIDTH(mw); mw->matrix.visible_trailing_fixed_column_width = TRAILING_FIXED_COLUMN_WIDTH(mw); mw->matrix.visible_trailing_fixed_row_height = TRAILING_FIXED_ROW_HEIGHT(mw); DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "xbaeRelayout(wid %d ht %d), fullw %d fullh %d\n", mw->core.width, mw->core.height, full_width, full_height)); /* * If our horizontal scrollbar display policy is constant, * then we always have the horizontal scrollbar. If it is * none, then we never have it. Otherwise, check if it * is needed: if we are wider than the matrix's width, * then we don't need it; if we are smaller, we do. */ if (mw->matrix.hsb_display_policy == XmDISPLAY_NONE || non_fixed_columns == 0) { has_horiz = FALSE; } else if (mw->matrix.hsb_display_policy == XmDISPLAY_STATIC) { has_horiz = TRUE; } else { if (width >= full_width) has_horiz = False; else has_horiz = True; } if (has_horiz) height -= HORIZ_SB_HEIGHT(mw); /* * Same reasoning for the vertical scrollbar. */ if (mw->matrix.vsb_display_policy == XmDISPLAY_NONE || non_fixed_rows == 0) { has_vert = FALSE; } else if (mw->matrix.vsb_display_policy == XmDISPLAY_STATIC) { has_vert = TRUE; } else { if (height >= full_height) has_vert = False; else has_vert = True; } /* * If we have a vertical scrollbar, adjust the width and * recheck if we need the horizontal scrollbar. */ if (has_vert) { width -= VERT_SB_WIDTH(mw); if (!has_horiz && width < full_width && mw->matrix.hsb_display_policy != XmDISPLAY_NONE && non_fixed_columns > 0) { has_horiz = True; height -= HORIZ_SB_HEIGHT(mw); } } /* * If widget is smaller than full size, move/resize the scrollbar and * set sliderSize, also if visible_non_fixed_width/visible_non_fixed_height is greater than * the amount of cell area visible, then we need to drag the cells * back into the visible part of the clip widget and set the * scrollbar value. * * Otherwise, the widget is larger than full size, so set * visible_non_fixed_width/visible_non_fixed_height to size of cells and set origin to 0 * to force full cell area to be displayed * * We also need to move the textField correspondingly */ DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "xbaeRelayout(), w=%d, fullw=%d, h=%d, fullh=%d\n", width, full_width, height, full_height)); if (width < full_width) { /* * We were resized smaller than our max width */ mw->matrix.visible_non_fixed_width = width - (FIXED_COLUMN_WIDTH(mw) + TRAILING_FIXED_COLUMN_WIDTH(mw) + row_label_width + 2 * mw->manager.shadow_thickness); if (mw->matrix.visible_non_fixed_width <= 0) { mw->matrix.visible_non_fixed_width = 0; HORIZ_ORIGIN(mw) = 0; } else if (HORIZ_ORIGIN(mw) + VISIBLE_NON_FIXED_WIDTH(mw) > NON_FIXED_WIDTH(mw)) { /* * If the cells are scrolled off to the left, then drag them * back onto the screen. */ HORIZ_ORIGIN(mw) = NON_FIXED_WIDTH(mw) - VISIBLE_NON_FIXED_WIDTH(mw); } } else { /* * We were resized larger than our max width. */ mw->matrix.visible_non_fixed_width = NON_FIXED_WIDTH(mw); if (mw->matrix.fill) { int empty_width = width - full_width; if (mw->matrix.non_fixed_detached_left && mw->matrix.fixed_columns) { mw->matrix.visible_fixed_column_width += empty_width; } else if (mw->matrix.trailing_fixed_columns == 0 || mw->matrix.trailing_attached_right) { mw->matrix.visible_non_fixed_width += empty_width; } else { mw->matrix.visible_trailing_fixed_column_width += empty_width; } } DEBUGOUT(_XbaeDebug2 (__FILE__, (Widget) mw, CenterClip(mw), "YOW visible_non_fixed_width = %d\n", mw->matrix.visible_non_fixed_width)); if (mw->matrix.visible_non_fixed_width <= 0) { mw->matrix.visible_non_fixed_width = 0; } /* * Drag the cells back onto the screen if they were scrolled off to the left. */ HORIZ_ORIGIN(mw) = 0; } if (HorizScrollChild(mw)) { /* * Setup the HSB to reflect our new size. */ int hsb_x; int hsb_y; int hsb_width; int slider_size = Min(NON_FIXED_WIDTH(mw), VISIBLE_NON_FIXED_WIDTH(mw)); XtVaSetValues(HorizScrollChild(mw), XmNpageIncrement, slider_size ? slider_size : 1, XmNsliderSize, slider_size ? slider_size : 1, XmNvalue, HORIZ_ORIGIN(mw), XmNmaximum, NON_FIXED_WIDTH(mw) ? NON_FIXED_WIDTH(mw) : 1, NULL); /* * If the window is not full height, then place the HSB at the edge * of the window. If the window is larger than full height, then * place the HSB immediately below the cell region. */ hsb_x = row_label_width; if (has_vert && scrollbar_left) { hsb_x += VERT_SB_WIDTH(mw); } if (mw->matrix.fixed_columns) { hsb_x += VISIBLE_FIXED_COLUMN_WIDTH(mw) + mw->manager.shadow_thickness; } if (scrollbar_top) { hsb_y = 0; } else if (height < full_height || mw->matrix.fill) { hsb_y = mw->core.height - HorizScrollChild(mw)->core.height - 2 * HorizScrollChild(mw)->core.border_width; } else { hsb_y = full_height + mw->matrix.space; } if (mw->matrix.fill) { hsb_width = VISIBLE_NON_FIXED_WIDTH(mw); } else { hsb_width = Min(NON_FIXED_WIDTH(mw), VISIBLE_NON_FIXED_WIDTH(mw)); } if (!has_horiz || hsb_width == 0) { /* * Unmapp the scrollbar if it is mapped */ if (XtIsManaged(HorizScrollChild(mw))) { XtUnmanageChild(HorizScrollChild(mw)); } } else { hsb_width += mw->manager.shadow_thickness * ((mw->matrix.fixed_columns == 0) + (mw->matrix.trailing_fixed_columns == 0)); XtConfigureWidget(HorizScrollChild(mw), hsb_x, hsb_y, hsb_width, HorizScrollChild(mw)->core.height, HorizScrollChild(mw)->core.border_width); /* * Map the scrollbar if it is not already mapped */ if (!XtIsManaged(HorizScrollChild(mw))) { XtManageChild(HorizScrollChild(mw)); } } } /* * We were resized smaller than our max height. */ if (height < full_height) { /* * We were resized smaller than our max height */ mw->matrix.visible_non_fixed_height = height - (FIXED_ROW_HEIGHT(mw) + TRAILING_FIXED_ROW_HEIGHT(mw) + column_label_height + 2 * mw->manager.shadow_thickness); if (mw->matrix.visible_non_fixed_height <= 0) { mw->matrix.visible_non_fixed_height = 0; VERT_ORIGIN(mw) = 0; } else if (VERT_ORIGIN(mw) + VISIBLE_NON_FIXED_HEIGHT(mw) > NON_FIXED_HEIGHT(mw)) { /* * If the cells are scrolled off the top, then drag them * back onto the screen. */ VERT_ORIGIN(mw) = NON_FIXED_HEIGHT(mw) - VISIBLE_NON_FIXED_HEIGHT(mw); } } else { /* * We were resized larger than our max height. */ mw->matrix.visible_non_fixed_height = NON_FIXED_HEIGHT(mw); if (mw->matrix.fill) { int empty_height = height - full_height; if (mw->matrix.non_fixed_detached_top && mw->matrix.fixed_rows) { mw->matrix.visible_fixed_row_height += empty_height; } else if (mw->matrix.trailing_fixed_rows == 0 || mw->matrix.trailing_attached_bottom) { mw->matrix.visible_non_fixed_height += empty_height; } else { mw->matrix.visible_trailing_fixed_row_height += empty_height; } } DEBUGOUT(_XbaeDebug2 (__FILE__, (Widget) mw, CenterClip(mw), "YOW visible_non_fixed_height = %d\n", mw->matrix.visible_non_fixed_height)); if (mw->matrix.visible_non_fixed_height <= 0) { mw->matrix.visible_non_fixed_height = 0; } /* * Drag the cells back onto the screen if they were scrolled off the top. */ VERT_ORIGIN(mw) = 0; } if (VertScrollChild(mw)) { /* * Setup the VSB to reflect our new size. */ int vsb_x; int vsb_y; int vsb_height; int slider_size = Min(NON_FIXED_HEIGHT(mw), VISIBLE_NON_FIXED_HEIGHT(mw)); XtVaSetValues(VertScrollChild(mw), XmNpageIncrement, slider_size ? slider_size : 1, XmNsliderSize, slider_size ? slider_size : 1, XmNvalue, VERT_ORIGIN(mw), XmNmaximum, NON_FIXED_HEIGHT(mw) ? NON_FIXED_HEIGHT(mw) : 1, NULL); /* * If the window is not full width, then place the VSB at the edge * of the window. If the window is larger than full width, then * place the VSB immediately to the right of the cell region. */ vsb_y = column_label_height; if (has_horiz && scrollbar_top) { vsb_y += HORIZ_SB_HEIGHT(mw); } if (mw->matrix.fixed_rows) { vsb_y += VISIBLE_FIXED_ROW_HEIGHT(mw) + mw->manager.shadow_thickness; } if (scrollbar_left) { vsb_x = 0; } else if (width < full_width || mw->matrix.fill) { vsb_x = mw->core.width - VertScrollChild(mw)->core.width - 2 * VertScrollChild(mw)->core.border_width; } else { vsb_x = full_width + mw->matrix.space; } if (mw->matrix.fill) { vsb_height = VISIBLE_NON_FIXED_HEIGHT(mw); } else { vsb_height = Min(NON_FIXED_HEIGHT(mw), VISIBLE_NON_FIXED_HEIGHT(mw)); } if (!has_vert || vsb_height == 0) { /* * Unmapp the scrollbar if it is mapped */ if (XtIsManaged(VertScrollChild(mw))) { XtUnmanageChild(VertScrollChild(mw)); } } else { vsb_height += mw->manager.shadow_thickness * ((mw->matrix.fixed_rows == 0) + (mw->matrix.trailing_fixed_rows == 0)); XtConfigureWidget(VertScrollChild(mw), vsb_x, vsb_y, VertScrollChild(mw)->core.width, vsb_height, VertScrollChild(mw)->core.border_width); /* * Map the scrollbar if it is not already mapped */ if (!XtIsManaged(VertScrollChild(mw))) { XtManageChild(VertScrollChild(mw)); } } } /* * Now that we have all the widths and heights, we can calculate the positions */ fixed_row_position = HORIZ_SB_OFFSET(mw) + column_label_height + mw->manager.shadow_thickness; non_fixed_row_position = fixed_row_position + VISIBLE_FIXED_ROW_HEIGHT(mw); trailing_fixed_row_position = non_fixed_row_position + VISIBLE_NON_FIXED_HEIGHT(mw); fixed_column_position = VERT_SB_OFFSET(mw) + row_label_width + mw->manager.shadow_thickness; non_fixed_column_position = fixed_column_position + VISIBLE_FIXED_COLUMN_WIDTH(mw); trailing_fixed_column_position = non_fixed_column_position + VISIBLE_NON_FIXED_WIDTH(mw); DEBUGOUT(_XbaeDebug2 (__FILE__, (Widget) mw, CenterClip(mw), "XtConfigureWidget clip %d %d %d %d\n", NON_FIXED_COLUMN_POSITION(mw), NON_FIXED_ROW_POSITION(mw), VISIBLE_NON_FIXED_WIDTH(mw), VISIBLE_NON_FIXED_HEIGHT(mw))); /* * This one causes the 'traversal' redraw problem when wildly resizing : * the clip widget's height should include not only the visible_non_fixed_height but * also the shadow thickness. * Bug #702560. * * Bugfix for Xbae 4.50.3 : overwriting bottom shadow around the clip widget */ /* Resize all the other clips */ if (!row_label_width || !VISIBLE_NON_FIXED_HEIGHT(mw)) { if (XtIsManaged(RowLabelClip(mw))) XtUnmanageChild(RowLabelClip(mw)); } else { XtConfigureWidget(RowLabelClip(mw), VERT_SB_OFFSET(mw), non_fixed_row_position, row_label_width, VISIBLE_NON_FIXED_HEIGHT(mw), 0); if (!XtIsManaged(RowLabelClip(mw))) XtManageChild(RowLabelClip(mw)); } if (!column_label_height || !VISIBLE_NON_FIXED_WIDTH(mw)) { if (XtIsManaged(ColumnLabelClip(mw))) XtUnmanageChild(ColumnLabelClip(mw)); } else { XtConfigureWidget(ColumnLabelClip(mw), non_fixed_column_position, HORIZ_SB_OFFSET(mw), VISIBLE_NON_FIXED_WIDTH(mw), column_label_height, 0); if (!XtIsManaged(ColumnLabelClip(mw))) XtManageChild(ColumnLabelClip(mw)); } if (!VISIBLE_FIXED_COLUMN_WIDTH(mw) || !VISIBLE_NON_FIXED_HEIGHT(mw)) { if (XtIsManaged(LeftClip(mw))) XtUnmanageChild(LeftClip(mw)); } else { XtConfigureWidget(LeftClip(mw), fixed_column_position, non_fixed_row_position, VISIBLE_FIXED_COLUMN_WIDTH(mw), VISIBLE_NON_FIXED_HEIGHT(mw), 0); if (!XtIsManaged(LeftClip(mw))) XtManageChild(LeftClip(mw)); } if (!VISIBLE_NON_FIXED_WIDTH(mw) || !VISIBLE_FIXED_ROW_HEIGHT(mw)) { if (XtIsManaged(TopClip(mw))) XtUnmanageChild(TopClip(mw)); } else { XtConfigureWidget(TopClip(mw), non_fixed_column_position, fixed_row_position, VISIBLE_NON_FIXED_WIDTH(mw), VISIBLE_FIXED_ROW_HEIGHT(mw), 0); if (!XtIsManaged(TopClip(mw))) XtManageChild(TopClip(mw)); } if (!VISIBLE_NON_FIXED_WIDTH(mw) || !VISIBLE_NON_FIXED_HEIGHT(mw)) { if (XtIsManaged(CenterClip(mw))) XtUnmanageChild(CenterClip(mw)); } else { XtConfigureWidget(CenterClip(mw), non_fixed_column_position, non_fixed_row_position, VISIBLE_NON_FIXED_WIDTH(mw), VISIBLE_NON_FIXED_HEIGHT(mw), 0); if (!XtIsManaged(CenterClip(mw))) XtManageChild(CenterClip(mw)); } if (!VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw) || !VISIBLE_NON_FIXED_HEIGHT(mw)) { if (XtIsManaged(RightClip(mw))) XtUnmanageChild(RightClip(mw)); } else { XtConfigureWidget(RightClip(mw), trailing_fixed_column_position, non_fixed_row_position, VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw), VISIBLE_NON_FIXED_HEIGHT(mw), 0); if (!XtIsManaged(RightClip(mw))) XtManageChild(RightClip(mw)); } if (!VISIBLE_NON_FIXED_WIDTH(mw) || !VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw)) { if (XtIsManaged(BottomClip(mw))) XtUnmanageChild(BottomClip(mw)); } else { /* height of 0 produces X Error */ XtConfigureWidget(BottomClip(mw), non_fixed_column_position, trailing_fixed_row_position, VISIBLE_NON_FIXED_WIDTH(mw), VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw), 0); if (!XtIsManaged(BottomClip(mw))) XtManageChild(BottomClip(mw)); } /* * Move the text widget where it belongs */ if (mw->matrix.text_field_is_mapped) { xbaePositionTextField(mw); } /* * Move the cell widgets where they belong */ if (mw->matrix.per_cell) { int row, column; for (row = 0; row < mw->matrix.rows; row++) { for (column = 0; column < mw->matrix.columns; column++) { xbaePositionCellWidget(mw, row, column); } } xbaeSetInitialFocus(mw); } } /* * This is what Xt calls when we get resized */ void xbaeResize(XbaeMatrixWidget mw) { xbaeRelayout(mw); if (mw->matrix.resize_callback != NULL) { XbaeMatrixResizeCallbackStruct call_data; call_data.reason = XbaeResizeReason; call_data.event = (XEvent *) NULL; call_data.row = mw->matrix.rows; call_data.column = mw->matrix.columns; call_data.width = mw->core.width; call_data.height = mw->core.height; XtCallCallbackList((Widget) mw, mw->matrix.resize_callback, (XtPointer) & call_data); } } /* * These are the modifyVerifyCallback and valueChangedCallback we added to * TextField. We need to call Matrix's modifyVerifyCallback/valueChangedCallback * list with the textField info and the row/col that is changing. */ /* ARGSUSED */ void xbaeModifyVerifyCB(Widget w, XtPointer client, XtPointer call) { XbaeMatrixWidget mw = (XbaeMatrixWidget) client; XmTextVerifyCallbackStruct *verify = (XmTextVerifyCallbackStruct *) call; XbaeMatrixModifyVerifyCallbackStruct call_data; int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); if ( !mw->matrix.text_field_is_mapped || !xbaeIsCellVisible(mw, current_row, current_column)) { verify->doit = False; return; } if (!mw->matrix.modify_verify_callback) { return; } call_data.reason = XbaeModifyVerifyReason; call_data.row = current_row; call_data.column = current_column; call_data.event = (XEvent *) NULL; call_data.verify = verify; call_data.prev_text = XmTextGetString(TextField(mw)); if (!call_data.prev_text) call_data.prev_text = ""; XtCallCallbackList((Widget) mw, mw->matrix.modify_verify_callback, (XtPointer) & call_data); XtFree((char *) call_data.prev_text); } /* ARGSUSED */ void xbaeValueChangedCB(Widget w, XtPointer client, XtPointer call) { XbaeMatrixWidget mw = (XbaeMatrixWidget) client; XbaeMatrixValueChangedCallbackStruct call_data; XmAnyCallbackStruct *cbs = (XmAnyCallbackStruct *) call; int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); if (!mw->matrix.value_changed_callback) return; call_data.reason = XbaeValueChangedReason; call_data.row = current_row; call_data.column = current_column; call_data.event = cbs->event; XtCallCallbackList((Widget) mw, mw->matrix.value_changed_callback, (XtPointer) & call_data); } /* * This is the FocusCB we added to the TextField. */ void xbaeFocusCB(Widget w, XtPointer client, XtPointer call) { XbaeMatrixWidget mw = (XbaeMatrixWidget) XtParent(w); XrmQuark qparam = ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.QFocus; int row, column; int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); DEBUGOUT(_XbaeDebug2(__FILE__, (Widget) mw, w, "FocusCB\n")); if (current_row == -1 || current_column == -1) { /* * We gain the focus and there is no current cell. * Start editing a new one. */ int non_fixed_rows = mw->matrix.rows - mw->matrix.fixed_rows - mw->matrix.trailing_fixed_rows; int non_fixed_columns = mw->matrix.columns - mw->matrix.fixed_columns - mw->matrix.trailing_fixed_columns; if( (mw->matrix.rows == 0 || mw->matrix.columns == 0) || (!mw->matrix.traverse_fixed && (non_fixed_rows == 0 || non_fixed_columns == 0))) { row = -1; column = -1; } else { row = xbaeTopRow(mw); column = xbaeLeftColumn(mw); } } else { row = current_row; column = current_column; } if (mw->matrix.traverse_cell_callback) { XbaeMatrixTraverseCellCallbackStruct call_data; call_data.reason = XbaeTraverseCellReason; call_data.event = NULL; call_data.row = current_row; call_data.column = current_column; call_data.next_row = row; call_data.next_column = column; call_data.fixed_rows = mw->matrix.fixed_rows; call_data.fixed_columns = mw->matrix.fixed_columns; call_data.trailing_fixed_rows = mw->matrix.trailing_fixed_rows; call_data.trailing_fixed_columns = mw->matrix.trailing_fixed_columns; call_data.num_rows = mw->matrix.rows; call_data.num_columns = mw->matrix.columns; call_data.param = XrmQuarkToString(qparam); call_data.qparam = qparam; XtCallCallbackList((Widget) mw, mw->matrix.traverse_cell_callback, (XtPointer) & call_data); row = call_data.next_row; column = call_data.next_column; } if ( row >= 0 && row < mw->matrix.rows && column >= 0 && column < mw->matrix.columns && (row != current_row || column != current_column)) { if (mw->matrix.per_cell == NULL || mw->matrix.per_cell[row][column].widget == NULL) { DoEditCell(mw, NULL, row, column, NULL, 0); } XtVaSetValues(TextField(mw), XmNattachRow, row, XmNattachColumn, column, NULL); } } void xbaeLosingFocusCB(Widget w, XtPointer client, XtPointer call) { XbaeMatrixWidget mw = (XbaeMatrixWidget) XtParent(w); XrmQuark qparam = ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.QLoosingFocus; int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); DEBUGOUT(_XbaeDebug2(__FILE__, (Widget) mw, w, "LostFocusCB\n")); if (mw->matrix.traverse_cell_callback) { XbaeMatrixTraverseCellCallbackStruct call_data; call_data.reason = XbaeTraverseCellReason; call_data.event = NULL; call_data.row = current_row; call_data.column = current_column; call_data.next_row = current_row; call_data.next_column = current_column; call_data.fixed_rows = mw->matrix.fixed_rows; call_data.fixed_columns = mw->matrix.fixed_columns; call_data.trailing_fixed_rows = mw->matrix.trailing_fixed_rows; call_data.trailing_fixed_columns = mw->matrix.trailing_fixed_columns; call_data.num_rows = mw->matrix.rows; call_data.num_columns = mw->matrix.columns; call_data.param = XrmQuarkToString(qparam); call_data.qparam = qparam; XtCallCallbackList((Widget) mw, mw->matrix.traverse_cell_callback, (XtPointer) & call_data); } } /* * The meat of Matrix edit_cell method. * Tobias: This function mustn't call XmProcessTraversal (that's why it's broken * out of the real edit_cell method). It gets called from the TextField's focusCB * that may have been triggered by a XmProcessTraversal and recursive calls to * XmProcessTraversal are disallowed in motif >= 1.2. */ static void DoEditCell(XbaeMatrixWidget mw, XEvent * event, int row, int column, String * params, Cardinal nparams) { XbaeMatrixEnterCellCallbackStruct call_data; int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); assert(row >= 0 && row < mw->matrix.rows && column >= 0 && column < mw->matrix.columns); assert(mw->matrix.per_cell == NULL || mw->matrix.per_cell[row][column].widget == NULL); assert( !mw->matrix.text_field_is_mapped || row != current_row || column != current_column); /* * We actually don't check for traverse_fixed here even though * it looks like it might be needed. The reason is that we may * need to reparent back onto the clip in case we were on the * fixed area and then traverse_fixed has been set to False * via SetValues. Doing this on the next traversal is probably * preferable to magically warping the textField off the * matrix on to the clip when traverseFixedCells changes. It * also allows the user to finish editing the existing cell, * but won't allow continued traversal on the fixed area. -CG */ /* Save this as our current cell */ XtVaSetValues(TextField(mw), XmNattachRow, row, XmNattachColumn, column, NULL); /* * If we have an enterCellCallback, call it to see if the cell is * editable. */ XtVaGetValues(TextField(mw), XmNoverwriteMode, &call_data.overwrite_mode, XmNautoFill, &call_data.auto_fill, XmNconvertCase, &call_data.convert_case, NULL); call_data.map = True; call_data.doit = True; call_data.position = -1; call_data.pattern = NULL; call_data.select_text = False; if (mw->matrix.enter_cell_callback) { call_data.reason = XbaeEnterCellReason; call_data.event = event; call_data.row = row; call_data.column = column; call_data.num_params = nparams; call_data.params = params; XtCallCallbackList((Widget) mw, mw->matrix.enter_cell_callback, (XtPointer) & call_data); } /* * Hide the TextField */ xbaeHideTextField(mw); /* * We double check for a widget here in case one was set in the enterCellCB * That's apparently what danny does in Xquote */ if ( (call_data.doit || call_data.map) && (mw->matrix.per_cell == NULL || mw->matrix.per_cell[row][column].widget == NULL)) { /* * Get the contents of the new cell */ XbaeMatrixCellValuesStruct cell_values; xbaeGetCellValues(mw, row, column, True, &cell_values); /* * If the new cell contains a string we can go there */ if (cell_values.drawCB.type & XbaeString) { /* * We can't show the text field after everything else is done * because it confuses Motif. So we disable redisplay and reinable * it later. */ XmTextDisableRedisplay(TextField(mw)); /* * Update the TextField's font */ xbaeUpdateTextFieldFont(mw, cell_values.qtag); /* * Show the TextField. * */ xbaePositionTextField(mw); /* * Setup the textField for the new cell. If the modifyVerify CB * rejects the new value, then it is the applications fault for * loading the cell with a bad value to begin with. */ XtRemoveCallback(TextField(mw), XmNmodifyVerifyCallback, xbaeModifyVerifyCB, (XtPointer) mw); XtVaSetValues(TextField(mw), XmNvalue, cell_values.drawCB.string, XmNbackground, cell_values.drawCB.background, XmNforeground, cell_values.drawCB.foreground, XmNeditable, call_data.doit, XmNcursorPositionVisible, call_data.doit, XmNmaxLength, (mw->matrix.column_max_lengths && mw->matrix.column_max_lengths[column] != 0) ? mw->matrix.column_max_lengths[column] : (COLUMN_WIDTH(mw, column) - 2 * CELL_BORDER_WIDTH(mw)) / CELL_FONT_WIDTH(mw), XmNpattern, call_data.pattern, XmNoverwriteMode, call_data.overwrite_mode, XmNautoFill, call_data.auto_fill, XmNconvertCase, call_data.convert_case, NULL); XtAddCallback(TextField(mw), XmNmodifyVerifyCallback, xbaeModifyVerifyCB, (XtPointer) mw); /* * We need to EnableRedisplay before calling XmTextXYToPos */ XmTextEnableRedisplay(TextField(mw)); if (call_data.doit) { /* * Set the insert position of the cursor. We need to do this after * showing the TextField or else XmTextXYToPos gets confused. */ int position = call_data.position; int length = strlen(cell_values.drawCB.string); if (event && (event->type == ButtonPress || event->type == ButtonRelease) && position < 0 && mw->matrix.calc_cursor_position) { /* * The location of the pointer click needs to be calculated * so the cursor can be positioned. If position is >= 0, * it has been set in the enterCellCallback and must * be honoured elsewhere. */ int x, y, r, c; /* * The event must have occurred in a legal position * otherwise control wouldn't have made it here */ xbaeEventToRowColumn(mw, event, &r, &c, &x, &y); x -= mw->matrix.cell_shadow_thickness; y -= mw->matrix.cell_shadow_thickness; position = XmTextXYToPos(TextField(mw), x, y); } if (position < 0 || position > length) { XmTextSetInsertionPosition(TextField(mw), length); } else { XmTextSetInsertionPosition(TextField(mw), position); } if (call_data.select_text) { XmTextSetSelection(TextField(mw), 0, length, CurrentTime); } } } if ((cell_values.drawCB.type & XbaeStringFree) == XbaeStringFree) { XtFree((XtPointer) cell_values.drawCB.string); } } } /* * Matrix select_cell method */ void xbaeSelectCell(XbaeMatrixWidget mw, int row, int column) { Boolean visible; if (row >= mw->matrix.rows || row < 0 || column >= mw->matrix.columns || column < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "selectCell", "badIndex", "XbaeMatrix", "XbaeMatrix: Row or column out of bounds for SelectCell.", NULL, 0); return; } /* If no cells have been selected yet, allocate memory here */ if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * Scroll the cell onto the screen */ visible = xbaeIsCellVisible(mw, row, column); if (mw->matrix.scroll_select && !visible) { xbaeMakeCellVisible(mw, row, column); visible = True; } /* * If the cell is not already selected, select it and redraw it */ if (!mw->matrix.per_cell[row][column].selected) { mw->matrix.per_cell[row][column].selected = True; mw->matrix.num_selected_cells++; if (visible) { xbaeDrawCell(mw, row, column); } } } /* * Matrix select_row method */ void xbaeSelectRow(XbaeMatrixWidget mw, int row) { int j, lc, rc; Boolean visible; if (row >= mw->matrix.rows || row < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "selectRow", "badIndex", "XbaeMatrix", "XbaeMatrix: Row out of bounds for SelectRow.", NULL, 0); return; } /* If no cells have been selected yet, allocate memory here */ if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * Scroll the row onto the screen */ visible = xbaeIsRowVisible(mw, row); if (mw->matrix.scroll_select && !visible) { xbaeMakeRowVisible(mw, row); visible = True; } /* * For each cell in the row, if the cell is not already selected, * select it and redraw it */ xbaeGetVisibleColumns(mw, &lc, &rc); for (j = 0; j < mw->matrix.columns; j++) { if (!mw->matrix.per_cell[row][j].selected) { mw->matrix.per_cell[row][j].selected = True; mw->matrix.num_selected_cells++; if (visible && ((j >= lc && j <= rc) || IS_FIXED_COLUMN(mw ,j))) { xbaeDrawCell(mw, row, j); } } } } /* * Matrix select_column method */ void xbaeSelectColumn(XbaeMatrixWidget mw, int column) { int i, tr, br; Boolean visible; if (column >= mw->matrix.columns || column < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "selectColumn", "badIndex", "XbaeMatrix", "XbaeMatrix: Column out of bounds for SelectColumn.", NULL, 0); return; } /* If no cells have been selected yet, allocate memory here */ if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * Scroll the column onto the screen */ visible = xbaeIsColumnVisible(mw, column); if (mw->matrix.scroll_select && !visible) { xbaeMakeColumnVisible(mw, column); visible = True; } /* * For each cell in the column, if the cell is not already selected, * select it and redraw it */ xbaeGetVisibleRows(mw, &tr, &br); for (i = 0; i < mw->matrix.rows; i++) { if (!mw->matrix.per_cell[i][column].selected) { mw->matrix.per_cell[i][column].selected = True; mw->matrix.num_selected_cells++; if (visible && ((i >= tr && i <= br) || IS_FIXED_ROW(mw, i))) { xbaeDrawCell(mw, i, column); } } } } /* * Matrix select_all method */ void xbaeSelectAll(XbaeMatrixWidget mw) { int i, j; int tr, br, lc, rc; xbaeGetVisibleCells(mw, &tr, &br, &lc, &rc); if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); for (i = 0; i < mw->matrix.rows; i++) { for (j = 0; j < mw->matrix.columns; j++) { if (!mw->matrix.per_cell[i][j].selected) { mw->matrix.num_selected_cells++; mw->matrix.per_cell[i][j].selected = True; if ( ((i >= tr && i <= br) || IS_FIXED_ROW(mw ,i)) && ((j >= lc && j <= rc) || IS_FIXED_COLUMN(mw ,j ))) { xbaeDrawCell(mw, i, j); } } } } } /* * Matrix deselect_cell method */ void xbaeDeselectCell(XbaeMatrixWidget mw, int row, int column) { if (row >= mw->matrix.rows || row < 0 || column >= mw->matrix.columns || column < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "deselectCell", "badIndex", "XbaeMatrix", "XbaeMatrix: Row or column out of bounds for DeselectCell.", NULL, 0); return; } if (!mw->matrix.per_cell || mw->matrix.num_selected_cells == 0) return; if (mw->matrix.per_cell[row][column].selected) { mw->matrix.num_selected_cells--; mw->matrix.per_cell[row][column].selected = False; if (xbaeIsCellVisible(mw, row, column)) { xbaeDrawCell(mw, row, column); } } } /* * Matrix deselect_row method */ void xbaeDeselectRow(XbaeMatrixWidget mw, int row) { int j, lc, rc; Boolean visible; if (row >= mw->matrix.rows || row < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "deselectRow", "badIndex", "XbaeMatrix", "XbaeMatrix: Row parameter out of bounds for DeselectRow.", NULL, 0); return; } if (!mw->matrix.per_cell || mw->matrix.num_selected_cells == 0) return; visible = xbaeIsRowVisible(mw, row); /* * For each cell in the row, if the cell is selected, * deselect it and redraw it */ xbaeGetVisibleColumns(mw, &lc, &rc); for (j = 0; j < mw->matrix.columns; j++) { if (mw->matrix.per_cell[row][j].selected) { mw->matrix.num_selected_cells--; mw->matrix.per_cell[row][j].selected = False; if (visible && ((j >= lc && j <= rc) || IS_FIXED_COLUMN(mw, j))) { xbaeDrawCell(mw, row, j); } } } } /* * Matrix deselect_column method */ void xbaeDeselectColumn(XbaeMatrixWidget mw, int column) { int i, tr, br; Boolean visible; if (column >= mw->matrix.columns || column < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "deselectColumn", "badIndex", "XbaeMatrix", "XbaeMatrix: Column parameter out of bounds for DeselectColumn.", NULL, 0); return; } if (!mw->matrix.per_cell || mw->matrix.num_selected_cells == 0) return; visible = xbaeIsColumnVisible(mw, column); /* * For each cell in the column, if the cell is selected, * deselect it and redraw it */ xbaeGetVisibleRows(mw, &tr, &br); for (i = 0; i < mw->matrix.rows; i++) { if (mw->matrix.per_cell[i][column].selected) { mw->matrix.num_selected_cells--; mw->matrix.per_cell[i][column].selected = False; if (visible && ((i >= tr && i <= br) || IS_FIXED_ROW(mw, i))) { xbaeDrawCell(mw, i, column); } } } } /* * Matrix deselect_all method */ void xbaeDeselectAll(XbaeMatrixWidget mw) { int i, j; int tr, br, lc, rc; if (!mw->matrix.per_cell || mw->matrix.num_selected_cells == 0) return; mw->matrix.num_selected_cells = 0; xbaeGetVisibleCells(mw, &tr, &br, &lc, &rc); for (i = 0; i < mw->matrix.rows; i++) { for (j = 0; j < mw->matrix.columns; j++) { if (mw->matrix.per_cell[i][j].selected) { mw->matrix.per_cell[i][j].selected = False; if ( ((i >= tr && i <= br) || IS_FIXED_ROW(mw ,i)) && ((j >= lc && j <= rc) || IS_FIXED_COLUMN(mw ,j ))) { xbaeDrawCell(mw, i, j); } } } } } /* * Matrix get_cell method */ String xbaeGetCell(XbaeMatrixWidget mw, int row, int column) { XbaeMatrixCellValuesStruct cell_values; if (row >= mw->matrix.rows || row < 0 || column >= mw->matrix.columns || column < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "getCell", "badIndex", "XbaeMatrix", "XbaeMatrix: Row or column out of bounds for GetCell.", NULL, 0); return NULL; } xbaeGetCellValues(mw, row, column, False, &cell_values); if ((cell_values.drawCB.type & XbaeStringFree) == XbaeStringFree) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "getCell", "memleak", "XbaeMatrix", "XbaeMatrix: xbaeGetCell is likely to leak memory when a " "drawCellCallBack uses the XbaeStringFree type", NULL, 0); } return cell_values.drawCB.string; } /* * Matrix edit_cell method */ void xbaeEditCell(XbaeMatrixWidget mw, XEvent * event, int row, int column, String * params, Cardinal nparams) { Widget userWidget; if (row >= mw->matrix.rows || row < 0 || column >= mw->matrix.columns || column < 0) { /* * If we have zero rows or columns, there are no cells * available on which to place the text field so just return */ if (mw->matrix.rows == 0 || mw->matrix.columns == 0) return; XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "editCell", "badIndex", "XbaeMatrix", "XbaeMatrix: Row or column out of bounds for EditCell.", NULL, 0); return; } userWidget = mw->matrix.per_cell ? mw->matrix.per_cell[row][column].widget : NULL; /* * Make the cell visible */ xbaeMakeCellVisible(mw, row, column); if (userWidget) { /* * We have a user widget in the new cell. Try to traverse to it */ if (!XmProcessTraversal(userWidget, XmTRAVERSE_CURRENT)) { /* * The widget didn't accept the focus. Try to commit the * current cell and continue in stelth mode */ if (DoCommitEdit(mw, event)) { /* Save this as our current cell */ XtVaSetValues(TextField(mw), XmNattachRow, row, XmNattachColumn, column, NULL); /* Hide the TextField */ xbaeHideTextField(mw); XmProcessTraversal(TextField(mw), XmTRAVERSE_CURRENT); } } } else { int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); if (!mw->matrix.text_field_is_mapped || row != current_row || column != current_column) { if (DoCommitEdit(mw, event)) { DoEditCell(mw, event, row, column, params, nparams); } } XmProcessTraversal(TextField(mw), XmTRAVERSE_CURRENT); } } /* * Matrix commit_edit method */ Boolean xbaeCommitEdit(XbaeMatrixWidget mw, XEvent * event, Boolean unmap) { Boolean commit; if (!mw->matrix.text_field_is_mapped) return True; /* * Attempt to commit the edit */ commit = DoCommitEdit(mw, event); if (unmap) { /* * If unmap is set, hide the textField. */ xbaeHideTextField(mw); } return commit; } /* * Matrix cancel_edit method */ void xbaeCancelEdit(XbaeMatrixWidget mw, Boolean unmap) { if (!mw->matrix.text_field_is_mapped) return; if (unmap) { /* * If unmap is set, hide the textField. */ xbaeHideTextField(mw); } else { /* * Don't unmap, just restore original contents */ xbaeUpdateTextField(mw, True); } } /* * Matrix add_rows method */ void xbaeAddVarRows(XbaeMatrixWidget mw, int position, String * rows, String * labels, short *heights, int *max_heights, unsigned char *alignments, unsigned char *label_alignments, Pixel * colors, Pixel * backgrounds, int num_rows) { Boolean haveVSB, haveHSB; int current_row; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, NULL); /* * Do some error checking. */ if (num_rows <= 0) return; if (position < 0 || position > mw->matrix.rows) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "addRows", "badPosition", "XbaeMatrix", "XbaeMatrix: Position out of bounds in AddRows.", NULL, 0); return; } if (mw->matrix.columns == 0 && (rows || colors || backgrounds)) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "AddColumns", "noRows", "XbaeMatrix", "XbaeMatrix: Attempting to add rows with no columns.", NULL, 0); return; } haveVSB = XtIsManaged(VertScrollChild(mw)); haveHSB = XtIsManaged(HorizScrollChild(mw)); /* * Add the new rows into the internal cells/labels data structure. */ AddVarRowsToTable(mw, position, rows, labels, heights, colors, backgrounds, num_rows); /* * Adjust the position of the textWidget if the rows are added above it */ if (position <= current_row) { XtVaSetValues(TextField(mw), XmNattachRow, current_row + num_rows, NULL); } /* * Relayout. */ xbaeRelayout(mw); if (!mw->matrix.disable_redisplay && XtIsRealized((Widget) mw)) { /* * Redraw everything below the insertion point */ xbaeRedrawAll(mw, position, -1, mw->matrix.rows - 1, mw->matrix.columns - 1); /* * If a scrollbar has just been mapped at the top or left the fixed labels * and totally fixed cells shift arround. Redraw everything that is fixed */ if ( (!haveHSB && XtIsManaged(HorizScrollChild(mw)) && SCROLLBAR_TOP(mw)) || (!haveVSB && XtIsManaged(VertScrollChild(mw)) && SCROLLBAR_LEFT(mw))) { XClearArea(XtDisplay(mw), XtWindow(mw), 0, 0, 0, 0, True); } } } void xbaeAddRows(XbaeMatrixWidget mw, int position, String * rows, String * labels, Pixel * colors, Pixel * backgrounds, int num_rows) { xbaeAddVarRows(mw, position, rows, labels, NULL, 0, NULL, NULL, colors, backgrounds, num_rows); } /* * Matrix delete_rows method */ void xbaeDeleteRows(XbaeMatrixWidget mw, int position, int num_rows) { int vert_origin; Boolean haveVSB; Boolean haveHSB; int row_label_width = ROW_LABEL_WIDTH(mw); int current_row; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, NULL); /* * Do some error checking. */ if (num_rows <= 0) return; if (position < 0 || position + num_rows > mw->matrix.rows) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "deleteRows", "badPosition", "XbaeMatrix", "XbaeMatrix: Position out of bounds in DeleteRows.", NULL, 0); return; } if (mw->matrix.rows - num_rows < mw->matrix.fixed_rows + mw->matrix.trailing_fixed_rows) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "deleteRows", "tooMany", "XbaeMatrix", "XbaeMatrix: Attempting to delete too many rows in DeleteRows.", NULL, 0); return; } haveVSB = XtIsManaged(VertScrollChild(mw)); haveHSB = XtIsManaged(HorizScrollChild(mw)); vert_origin = VERT_ORIGIN(mw); /* * If the TextField is in a row that's going to be deleted cancel the edit * else move it up if the rows being deleted are above it */ if (position <= current_row) { if (position + num_rows <= current_row) { XtVaSetValues(TextField(mw), XmNattachRow, current_row - num_rows, NULL); } else { XtVaSetValues(TextField(mw), XmNattachRow, -1, XmNattachColumn, -1, NULL); xbaeHideTextField(mw); } } /* * Delete the new rows from the internal cells/labels data structure. */ DeleteRowsFromTable(mw, position, num_rows); /* * Relayout. */ xbaeRelayout(mw); if (!mw->matrix.disable_redisplay && XtIsRealized((Widget) mw)) { /* * Redraw everything below the insertion point */ if (vert_origin != VERT_ORIGIN(mw)) { /* * If Resize had to change VERT_ORIGIN because cells were scrolled * off, we need to redraw the whole VISIBLE_NON_FIXED_HEIGHT */ xbaeRedrawAll(mw, Min(position, mw->matrix.fixed_rows), -1, mw->matrix.rows - 1, mw->matrix.columns - 1); } else { xbaeRedrawAll(mw, position, -1, mw->matrix.rows - 1, mw->matrix.columns - 1); } /* * If a scrollbar has just been unmapped at the top or left the fixed labels * and totally fixed cells shift arround. Redraw everything that is fixed * Same thing if the the row label width changed */ if ( (haveHSB && !XtIsManaged(HorizScrollChild(mw)) && SCROLLBAR_TOP(mw)) || (haveVSB && !XtIsManaged(VertScrollChild(mw)) && SCROLLBAR_LEFT(mw)) || (row_label_width != ROW_LABEL_WIDTH(mw))) { XClearArea(XtDisplay(mw), XtWindow(mw), 0, 0, 0, 0, True); } else { /* don't leave dangeling bits at the bottom */ XClearArea(XtDisplay(mw), XtWindow(mw), 0, TRAILING_FIXED_ROW_POSITION(mw) + VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw) + mw->manager.shadow_thickness, 0, 0, False); /* also clear the area bellow the labels and as heigh as the shadow */ XClearArea(XtDisplay(mw), XtWindow(mw), HORIZ_SB_OFFSET(mw), TRAILING_FIXED_ROW_POSITION(mw) + VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw), ROW_LABEL_WIDTH(mw), mw->manager.shadow_thickness, False); } } } /* * Matrix add_columns method. */ void xbaeAddColumns(XbaeMatrixWidget mw, int position, String * columns, String * labels, short *widths, int *max_lengths, unsigned char *alignments, unsigned char *label_alignments, Pixel * colors, Pixel * backgrounds, int num_columns) { Boolean haveVSB; Boolean haveHSB; int current_column; XtVaGetValues(TextField(mw), XmNattachColumn, ¤t_column, NULL); /* * Do some error checking. */ if (num_columns <= 0) return; if (position < 0 || position > mw->matrix.columns) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "addColumns", "badPosition", "XbaeMatrix", "XbaeMatrix: Position out of bounds in AddColumns.", NULL, 0); return; } if (mw->matrix.rows == 0 && (columns || colors || backgrounds)) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "AddColumns", "noRows", "XbaeMatrix", "XbaeMatrix: Attempting to add columns with no rows.", NULL, 0); return; } haveVSB = XtIsManaged(VertScrollChild(mw)); haveHSB = XtIsManaged(HorizScrollChild(mw)); /* * Add the new columns into the internal cells/labels data structure. */ AddColumnsToTable(mw, position, columns, labels, widths, max_lengths, alignments, label_alignments, colors, backgrounds, num_columns); /* * Adjust the position of the textWidget if the columns are added to the left of it */ if (position <= current_column) { XtVaSetValues(TextField(mw), XmNattachColumn, current_column + num_columns, NULL); } /* * Relayout. */ xbaeRelayout(mw); if (!mw->matrix.disable_redisplay && XtIsRealized((Widget) mw)) { /* * Redraw everything to the right of the insertion point */ xbaeRedrawAll(mw, -1, position, mw->matrix.rows - 1, mw->matrix.columns - 1); /* * If a scrollbar has just been mapped at the top or left the fixed labels * and totally fixed cells shift arround. Redraw everything that is fixed */ if ( (!haveHSB && XtIsManaged(HorizScrollChild(mw)) && SCROLLBAR_TOP(mw)) || (!haveVSB && XtIsManaged(VertScrollChild(mw)) && SCROLLBAR_LEFT(mw))) { XClearArea(XtDisplay(mw), XtWindow(mw), 0, 0, 0, 0, True); } } } /* * Matrix delete_columns method */ void xbaeDeleteColumns(XbaeMatrixWidget mw, int position, int num_columns) { int horiz_origin; Boolean haveVSB; Boolean haveHSB; int column_label_height = COLUMN_LABEL_HEIGHT(mw); int current_column; XtVaGetValues(TextField(mw), XmNattachColumn, ¤t_column, NULL); /* * Do some error checking. */ if (num_columns <= 0) return; if (position < 0 || position + num_columns > mw->matrix.columns) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "deleteColumns", "badPosition", "XbaeMatrix", "XbaeMatrix: Position out of bounds in DeleteColumns.", NULL, 0); return; } if (mw->matrix.columns - num_columns < mw->matrix.fixed_columns + mw->matrix.trailing_fixed_columns) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "deleteColumns", "tooMany", "XbaeMatrix", "XbaeMatrix: Attempting to delete too many columns in DeleteColumns.", NULL, 0); return; } haveVSB = XtIsManaged(VertScrollChild(mw)); haveHSB = XtIsManaged(HorizScrollChild(mw)); horiz_origin = HORIZ_ORIGIN(mw); /* * If the TextField is in a column that's going to be deleted cancel the edit * else move it left if the columns being deleted are to its left */ if (position <= current_column) { if (position + num_columns <= current_column) { XtVaSetValues(TextField(mw), XmNattachColumn, current_column - num_columns, NULL); } else { XtVaSetValues(TextField(mw), XmNattachRow, -1, XmNattachColumn, -1, NULL); xbaeHideTextField(mw); } } /* * Delete the new columns from the internal cells/labels data structure. */ DeleteColumnsFromTable(mw, position, num_columns); /* * Relayout. */ xbaeRelayout(mw); if (!mw->matrix.disable_redisplay && XtIsRealized((Widget) mw)) { /* * Redraw everything below the deletion point */ if (horiz_origin != HORIZ_ORIGIN(mw)) { /* * If Resize had to change HORIZ_ORIGIN because cells were scrolled * off, we need to redraw the whole VISIBLE_NON_FIXED_WIDTH */ xbaeRedrawAll(mw, -1, Min(position, mw->matrix.fixed_columns), mw->matrix.rows - 1, mw->matrix.columns - 1); } else { xbaeRedrawAll(mw, -1, position, mw->matrix.rows - 1, mw->matrix.columns - 1); } /* * If a scrollbar has just been unmapped at the top or left the fixed labels * and totally fixed cells shift arround. Redraw everything that is fixed * Same thing if the highest label got deleted */ if ( (haveHSB && !XtIsManaged(HorizScrollChild(mw)) && SCROLLBAR_TOP(mw)) || (haveVSB && !XtIsManaged(VertScrollChild(mw)) && SCROLLBAR_LEFT(mw)) || (column_label_height != COLUMN_LABEL_HEIGHT(mw))) { XClearArea(XtDisplay(mw), XtWindow(mw), 0, 0, 0, 0, True); } else { /* don't leave dangeling bits to the right */ XClearArea(XtDisplay(mw), XtWindow(mw), TRAILING_FIXED_COLUMN_POSITION(mw) + VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw) + mw->manager.shadow_thickness, 0, 0, 0, False); /* also clear the area to the right of the labels and as wide as the shadow */ XClearArea(XtDisplay(mw), XtWindow(mw), TRAILING_FIXED_COLUMN_POSITION(mw) + VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw), VERT_SB_OFFSET(mw), mw->manager.shadow_thickness, COLUMN_LABEL_HEIGHT(mw), False); } } } /* * Matrix set_row_colors method */ void xbaeSetRowColors(XbaeMatrixWidget mw, int position, Pixel * colors, int num_colors, Boolean bg) { int i, j; /* * Do some error checking. */ if (num_colors <= 0) return; if (position < 0 || position + num_colors > mw->matrix.rows) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setRowColors", "badPosition", "XbaeMatrix", "XbaeMatrix: Position out of bounds or too many colors in SetRowColors.", NULL, 0); return; } if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * Set each row to the appropriate color */ if (!bg) { for (i = 0; i < num_colors; i++) for (j = 0; j < mw->matrix.columns; j++) mw->matrix.per_cell[i + position][j].color = colors[i]; } else { for (i = 0; i < num_colors; i++) for (j = 0; j < mw->matrix.columns; j++) mw->matrix.per_cell[i + position][j].background = colors[i]; } if (!mw->matrix.disable_redisplay && XtIsRealized((Widget) mw)) { /* * Redraw all the affected visible cells (but not the labels). * We don't need to clear first since only the color changed. */ int current_row; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, NULL); xbaeRedrawAll(mw, position, 0, position + num_colors - 1, mw->matrix.columns - 1); if ( mw->matrix.text_field_is_mapped && position <= current_row && position + num_colors > current_row) { xbaeUpdateTextField(mw, False); } } } /* * Matrix set_column_colors method */ void xbaeSetColumnColors(XbaeMatrixWidget mw, int position, Pixel * colors, int num_colors, Boolean bg) { int i, j; /* * Do some error checking. */ if (num_colors <= 0) return; if (position < 0 || position + num_colors > mw->matrix.columns) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setColumnColors", "badPosition", "XbaeMatrix", "XbaeMatrix: Position out of bounds or too many colors in SetColumnColors.", NULL, 0); return; } if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * Set each column to the appropriate color */ if (!bg) { for (i = 0; i < mw->matrix.rows; i++) for (j = 0; j < num_colors; j++) mw->matrix.per_cell[i][j + position].color = colors[j]; } else { for (i = 0; i < mw->matrix.rows; i++) for (j = 0; j < num_colors; j++) mw->matrix.per_cell[i][j + position].background = colors[j]; } if (!mw->matrix.disable_redisplay && ((Widget) mw)) { /* * Redraw all the visible cells (but not the labels). * We don't need to clear first since only the color changed. */ int current_column; XtVaGetValues(TextField(mw), XmNattachColumn, ¤t_column, NULL); xbaeRedrawAll(mw, 0, position, mw->matrix.rows - 1, position + num_colors - 1); if ( mw->matrix.text_field_is_mapped && position <= current_column && position + num_colors > current_column) { xbaeUpdateTextField(mw, False); } } } /* * Matrix set_cell_color method */ void xbaeSetCellColor(XbaeMatrixWidget mw, int row, int column, Pixel color, Boolean bg) { int i, j; /* * Do some error checking. */ if (row >= mw->matrix.rows || row < 0 || column >= mw->matrix.columns || column < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeSetCellColor", "badIndex", "XbaeMatrix", "XbaeMatrix: Row or column out of bounds for xbaeSetCellColor.", NULL, 0); return; } /* * If we don't have any colors yet, malloc them and initialize them */ if (!mw->matrix.per_cell) { xbaeCreatePerCell(mw); for (i = 0; i < mw->matrix.rows; i++) for (j = 0; j < mw->matrix.columns; j++) mw->matrix.per_cell[i][j].color = mw->manager.foreground; } /* * Set the cell's color */ if (!bg) mw->matrix.per_cell[row][column].color = color; else mw->matrix.per_cell[row][column].background = color; if (!mw->matrix.disable_redisplay && XtIsRealized((Widget) mw)) { /* * Redraw the cell if it is visible */ int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); if (xbaeIsCellVisible(mw, row, column)) { xbaeDrawCell(mw, row, column); } if ( mw->matrix.text_field_is_mapped && row == current_row && column == current_column) { xbaeUpdateTextField(mw, False); } } } void xbaeShowColumnArrows(XbaeMatrixWidget mw, int column, Boolean show) { if (mw->matrix.show_column_arrows == NULL) { int i; mw->matrix.show_column_arrows = (Boolean *) XtMalloc(mw->matrix.columns * sizeof(Boolean)); for (i = 0; i < mw->matrix.columns; i++) mw->matrix.show_column_arrows[i] = True; } mw->matrix.show_column_arrows[column] = show; } xbae-4.60.4/src/XbaeInput.30000664000076400007640000003321510436577376012257 00000000000000'\" t .\" $Id: XbaeInput.3.in,v 1.5 2002/03/09 16:10:14 amai Exp $ .. .de cI .IP \fI\\$1\fR 10 .. .de LI .IP \fB\\$1\fR 5 .. .TH XbaeInput 3x "4.60.4" "xbae" .SH NAME XbaeInput \- The Input widget class. .SH SYNOPSIS #include .SH DESCRIPTION .B XbaeInput is a text input field that provides generic customised data entry and formatting for strings. It does this by using a clever .B XmNmodifyVerifyCallback that is installed when the .B XmNpattern resource is set. The .B XmNpattern value may include optional characters and literals which will be discussed later in this document. .PP The .B XbaeInput widget is ideal for restricting data input to a digit, alphanumeric character or an alphabetic character. If .B XmNconvertCase is set, the widget automatically changes an inserted character to uppercase or lowercase. Literal characters can also be included in the .B XmNpattern that can be automatically inserted as the user types by setting the .B XmNautofill resource to True. Optional literals cannot be auto inserted, however. .PP Unlike the .B XmText field from which this widget is subclassed, the .B toggle-overwrite action is bound to the .B osfInsert key. The .B XmNoverwriteMode is also provided to allow the resource to be changed programatically. .PP When the .B XbaeInput widget loses focus or is activated in the same way as the .B XmText field would be, callbacks on the XmNvalidateCallback list are invoked, allowing the programmer to validate the data as well as reformatting the existing string. .SS "Classes" .B XbaeInput inherits behavior and resources from the .BR Core , .BR XmPrimitive , and .B XmText widget classes. .br The class pointer is .BR xbaeInputWidgetClass . .br The class name is .BR XbaeInput . .SS "New Resources" The following table lists the new resources defined by .BR XbaeInput . The codes in the Access column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XbaeInput Resource Set _ Name Class Type Default Access = XmNalignment XmCAlignment unsigned char XmALIGNMENT_BEGINNING CSG _ XmNautoFill XmCBoolean Boolean False CSG _ XmNconvertCase XmCBoolean Boolean True CSG _ XmNoverwriteMode XmCBoolean Boolean False CSG _ XmNpattern XmCString String NULL CSG _ XmNvalidateCallback XmCCallback Callback NULL CSG .TE This resource has not been implemented. .sp .LI XmNalignment This resource has not been implemented! .sp Specifies the alignment of the text when being edited and displayed. Possible values are .BR XmALIGNMENT_BEGINNING and .BR XmALIGNMENT_END . If .B XmNalignment is set to .BR XmALIGNMENT_END , the text will be right justified. If left as the default of .BR XmALIGNMENT_BEGINNING , the text will be left justified. .LI XmNautoFill The .B XmNautoFill resource, when set to True, attempts to automatically insert a literal if a non literal is hit in an allowed literal position. For example, if the .B XmNpattern resource was set up to accept a date in dd/mm/yyyy format and the user typed "18041999" The resulting string would appear as "18/04/1999". The default value is False, where the user would have to type the literal. .LI XmNconvertCase Tells the .B XbaeInput widget what should be done to alphabetic characters if the .XmNpattern requires a lowercase or uppercase letter. If the .B XmNconvertCase is set to True (default), then the character is automatically converted to the correct case. If set to False, then the user must type the character in the correct case in order for it to be accepted. See the .B EXAMPLE PATTERNS section towards the end of this document for some examples. .LI overwriteMode Whether the .XbaeInput widget accepts characters in insert mode or overwrite mode is controlled by the .XmNoverwriteMode resource. Setting this resource calls the .B XmText .B toggle-overwrite() action routine, so the Motif toolkit being used must also support this routine. .LI XmNpattern The .B XmNpattern resource specifies what can be typed into the .B XbaeInput widget. If set to the default value of .SM NULL any character may be entered. The .B XmNpattern can be set to a string containing the following characters. .br \fC .TS lB l . a alphabetic characters only b both - either digit or character c any character at all d digits only U upperchase character only L lowercase character only [ start of optional sequence ] end of optional sequence \\\\ escapes the next character | next char is an alternative to previous. May be chained. .TE \fP .PP .SS "Inherited Resources" The following table lists the resources which .B XbaeInput inherits from it's superclasses .BR XmText , .B XmPrimitive and .BR Core . For a complete description of each resource, refer to the man page for that superclass. The codes in the "Access" column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .LP .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XmText Resource Set _ Name Class Type Default Access = XmNautoShowCursorPosition XmCAutoShowCursorPosition Boolean True CSG _ XmNcursorPosition XmCCursorPosition XmTextPosition 0 CSG _ XmNeditable XmCEditable Boolean True CSG _ XmNeditMode XmCEditMode int XmSINGLE_LINE_EDIT CSG _ XmNfocusCallback XmCCallback XtCallbackList NULL CSG _ XmNgainPrimaryCallback XmCCallback XtCallbackList NULL CSG _ XmNlosePrimaryCallback XmCCallback XtCallbackList NULL CSG _ XmNlosingFocusCallback XmCCallback XtCallbackList NULL CSG _ XmNmarginHeight XmCMarginHeight Dimension 5 CSG _ XmNmarginWidth XmCMarginWidth Dimension 5 CSG _ XmNmaxLength XmCMaxLength int largest integer CSG _ XmNmodifyVerifyCallback XmCCallback XtCallbackList NULL CSG _ XmNmodifyVerifyCallbackWcs XmCCallback XtCallbackList NULL CSG _ XmNmotionVerifyCallback XmCCallback XtCallbackList NULL CSG _ XmNsource XmCSource XmTextSource Default source CSG _ XmNtopCharacter XmCTextPosition XmTextPosition 0 CSG _ XmNvalue XmCValue String "" CSG _ XmNvalueChangedCallback XmCCallback XtCallbackList NULL CSG _ XmNvalueWcs XmCvalueWcs wchar_t * (wchar_t *)"" CSG _ XmNverifyBell XmCVerifyBell Boolean dynamic CSG .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XmPrimitive Resource Set _ Name Class Type Default Access = XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG _ XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNforeground XmCForeground Pixel dynamic CSG _ XmNhighlightColor XmCHighlightColor Pixel dynamic CSG _ XmNhighlightOnEnter XmCHighlightOnEnter Boolean False CSG _ XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG _ XmNhighlightThickness XmCHighlightThickness Dimension 2 CSG _ XmNnavigationType XmCNavigationType XmNavigationType XmNONE CSG _ XmNshadowThickness XmCShadowThickness Dimension 2 CSG _ XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG _ XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG _ XmNtraversalOn XmCTraversalOn Boolean True CSG _ XmNunitType XmCUnitType unsignedChar dynamic CSG _ XmNuserData XmCUserData Pointer NULL CSG .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . Core Resource Set = Name Class Type Default Access _ XmNaccelerators XmCAccelerators XtAccelerators NULL CSG _ XmNancestorSensitive XmCSensitive Boolean dynamic G _ XmNbackground XmCBackground Pixel dynamic CSG _ XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG _ XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderWidth XmCBorderWidth Dimension 1 CSG _ XmNcolormap XmCColormap Colormap dynamic CG _ XmNdepth XmCDepth int dynamic CG _ XmNdestroyCallback XmCCallback XtCallbackList NULL C _ XmNheight XmCHeight Dimension dynamic CSG _ XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C _ XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG _ XmNscreen XmCScreen Screen dynamic CG _ XmNsensitive XmCSensitive Boolean True CSG _ XmNtranslations XmCTranslations XtTranslations dynamic CSG _ XmNwidth XmCWidth Dimension dynamic CSG _ XmNx XmCPosition Position 0 CSG _ XmNy XmCPosition Position 0 CSG .TE .sp .SS "Callback Information" .LI XmNvalidateCallback Callbacks on the .B XmNvalidateCallback list are called when the edits to the .B XbaeInput widget are activated or a losing focus event occurs. Each callback function is passed the following structure: .sp .ne 7 .TS lb s s l lb li . typedef struct \&{ int reason; XEvent *event; String pattern; String value; Boolean doit; .T& lb s s. \&} XbaeInputValidateCallbackStruct; .TE .RS .sp .cI reason Set to .B XmCR_ACTIVATE if the user caused the callback to be invoked by activating the changes in the cell or .B XmCR_LOSING_FOCUS if the callback was called due to a losing focus event. .cI event The event pointer that triggered the callback. .cI pattern A pointer to the pattern for the .B XbaeInput widget or .SM NULL if one does not exist. This value is provided as a convenience to the callback. .cI value The value as it appears in the cell at the time of the callback being invoked. .cI doit Indicates whether or not the value is valid. By setting \fIdoit\fP to False the value will not be accepted. .PP This callback provides the application of checking the validity of the value entered into the .B XbaeInput widget. Checking the validity of a date may be one such instance. If the value is verified as valid, all values of the callback may be left unchanged. If the pointer to the value is changed, the new value will be displayed in the cell and storage for the old value deallocated by the .B XbaeInput widget. The new value's memory is owned by the application and it is up to the application to use XtFree to deallocate it. .PP If the \fIvalue\fP is not considered valid, the \fIdoit\fP flag should be set to False, forcing the user to make changes before the value can be accepted. .RE .SS Translations .B XbaeInput inherits translations from .BR XmText . Some versions of Motif do not have the \fC .TS lw(6cm) l . :osfInsert: toggle-overstrike(\|) .TE \fR .PP translation installed by default. If this is the case, .B XbaeInput automatically registers this translation. .PP .SS "Type Converters" .PP .B XbaeInput does not define any new type converters other than the standard type converters registered by Xt and Motif. .PP .SS "Public Functions" .sp The following external entry points to .B XbaeInput class methods are defined: .sp .ne 6 .B XbaeCreateInput(\|) .PP .RS .TS l s s l l li . Widget XbaeCreateInput(\|) Widget parent; String name; ArgList arglist; Cardinal argcount; .TE .sp .cI parent Specifies the parent widget ID. .cI name Specifies the name of the created widget .cI arglist Specifies the argument list .cI argcount Specifies the number of attribute/value pairs in the argument list (arglist) .PP .B XbaeCreateInput(\|) creates an instance of an XbaeInput widget and returns the associated widget ID. .SS "EXAMPLE PATTERNS" .LI \fCd[d]/d[d]/dd[dd]\fP A date that would accept 1/1/99, 12/1/99, 1/12/1999, 01/01/2000, etc. .LI \fCU[L][L][L][L][L],\ U[L][L][L][L][L]\fP "Surname, Firstname" combination, automatically forcing correct case and allowing between 1 and 6 characters per name. .LI \fCUU-dd[d][d]\fP A flight number consisting of two uppercase letters and 2 to 4 numbers .LI \fC(ddd)\ ddd-dddd\fP An American style phone number .LI \fCUdU[-]dUd\fP A Canadian postcode with optional dash. .PP .SS "Virtual Bindings" .sp The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see .BR VirtualBindings(3X) . .SH AUTHOR .B Andrew Lister \fC(lister@db.com)\fP .sp .SH RELEASE .sp This document describes XbaeInput from Xbae Version 4.9. .SH "SEE ALSO" .B Core(3X), XmPrimitive(3X), XmText(3X) .SH "Notice of Limitation" .sp The Author, previous and current maintainers of the Xbae widgets (collectively 'authors') provide this information solely to professionals who have the appropriate degree of experience to understand and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. No recommendations as to products or vendors is made or should be implied. .PP While the information contained herein has been prepared from sources deemed to be reliable, the authors reserve the right to revise the information without notice, but have no obligation to do so. Unless the recipient has been expressly granted a license by Bellcore under separate applicable written agreement with Bellcore, no license, expressed or implied, is granted under any patents, copyrights or other intellectual property rights. Use of the information is at your discretion and shall not be deemed an inducement by Bellcore to infringe any existing or later-issued patent, copyrights or other intellectual property right. .PP THE AUTHORS MAKE NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE INFORMATION IS PROVIDED ``AS IS'', AND IN NO EVENT SHALL THE AUTHORS OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION. .PP Copyright 1999 Andrew Lister. All Rights Reserved. .br Copyright 1999-2002 LessTif Developers .sp 3 The above no warranty extends to all additions and contributions. No contributor shall be held liable; this work is provided ``as is''. If this is a problem for you, then don't use this software. xbae-4.60.4/src/Imakefile0000664000076400007640000000517007442761026012072 00000000000000#include "../Xbae.tmpl" XCOMM Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) XCOMM Copyright(c) 1995-99 Andrew Lister XCOMM Copyright 1999, 2000, 2001, 2002 by the LessTif Developers XCOMM XCOMM $Id: Imakefile,v 1.6 2002/03/10 22:45:42 amai Exp $ SRCS = Actions.c Caption.c Clip.c Converters.c Create.c \ Draw.c Input.c Matrix.c Methods.c Public.c ScrollMgr.c \ Shadow.c Utils.c OBJS = Actions.o Caption.o Clip.o Converters.o Create.o \ Draw.o Input.o Matrix.o Methods.o Public.o ScrollMgr.o \ Shadow.o Utils.o DEFINES = -D$(COLUMN_RESIZE) INCLUDES = -I../include MATRIXMAN = XbaeMatrix INPUTMAN = XbaeInput CAPTIONMAN = XbaeCaption MANSUFFIX = 3 MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) XCOMM Rules for building the libraries #if DoSharedLib #if ProjectX > 5 SharedLibraryTarget(Xbae,$(XbaeSharedLibraryRevision),$(OBJS),.,.) #else SharedLibraryTarget(Xbae,$(XbaeSharedLibraryRevision),$(OBJS),shared,..) #endif #endif #if DoNormalLib NormalLibraryTarget(Xbae,$(OBJS)) AliasedLibraryTarget(Xbae,Xbae-$(XBAEVERSION)) #endif #if DoDebugLib DebuggedLibraryTarget(Xbae,$(OBJS)) #endif LibraryObjectRule() XCOMM Rules for installing the libraries #if DoSharedLib InstallSharedLibrary(Xbae,$(XbaeSharedLibraryRevision),$(USRLIBDIR)) #endif #if DoNormalLib InstallLibrary(Xbae-$(XBAEVERSION),$(USRLIBDIR)) InstallLibraryAlias(Xbae-$(XBAEVERSION),Xbae,$(USRLIBDIR)) #endif #if DoDebugLib InstallLibrary(Xbae_d,$(USRLIBDIR)) #endif InstallManPage($(MATRIXMAN),$(MANDIR)) InstallManPage($(INPUTMAN),$(MANDIR)) InstallManPage($(CAPTIONMAN),$(MANDIR)) DependTarget() install:: if [ -d $(INCROOT)/Xbae -a ! -h $(INCROOT)/Xbae ]; then \ $(MV) $(INCROOT)/Xbae $(INCROOT)/Xbae.old; \ else \ $(RM) $(INCROOT)/Xbae; \ fi $(LN) $(INCROOT)/Xbae-$(XBAEVERSION) $(INCROOT)/Xbae XCOMM Rules for translating manual.3.in to manual.3 clean:: $(RM) $(MATRIXMAN).man $(INPUTMAN).man $(CAPTIONMAN).man $(MATRIXMAN).man: $(MATRIXMAN).$(MANSUFFIX).in $(SED) 's/@PACKAGE@/Xbae/;\ @@\ s/@XBAE_MAJOR@/$(XbaeVERSION)/;\ @@\ s/@XBAE_MINOR@/$(XbaeREVISION)/;\ @@\ s/@XBAE_PICO@/$(XbaeUPDATE)/' < $> > $@ $(INPUTMAN).man: $(INPUTMAN).$(MANSUFFIX).in $(SED) 's/@PACKAGE@/Xbae/;\ @@\ s/@XBAE_MAJOR@/$(XbaeVERSION)/;\ @@\ s/@XBAE_MINOR@/$(XbaeREVISION)/;\ @@\ s/@XBAE_PICO@/$(XbaeUPDATE)/' < $> > $@ $(CAPTIONMAN).man: $(CAPTIONMAN).$(MANSUFFIX).in $(SED) 's/@PACKAGE@/Xbae/;\ @@\ s/@XBAE_MAJOR@/$(XbaeVERSION)/;\ @@\ s/@XBAE_MINOR@/$(XbaeREVISION)/;\ @@\ s/@XBAE_PICO@/$(XbaeUPDATE)/' < $> > $@ xbae-4.60.4/src/Shadow.c0000664000076400007640000003112410225066412011636 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Shadow.c,v 1.29 2005/04/06 23:13:14 tobiasoed Exp $ */ /* * Shadow.c created by Andrew Lister (30 October, 1995) */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include static void DrawRowShadow(XbaeMatrixWidget, Window, int, int, int, int, int, int, GC, GC, unsigned char shadow); static void DrawColumnShadow(XbaeMatrixWidget, Window, int, int, int, int, int, int, GC, GC, unsigned char shadow); static void DrawRowHighlight(XbaeMatrixWidget, Window, GC, int, int, int, int, int, int); static void DrawColumnHighlight(XbaeMatrixWidget, Window, GC, int, int, int, int, int, int); void xbaeDrawLabelShadow(XbaeMatrixWidget mw, Window win, int x, int y, int width, int height, Boolean pressed) { if (mw->matrix.cell_shadow_thickness == 0) { return; } /* * Surround the label with a shadow. */ DRAW_SHADOW(XtDisplay(mw), win, "win", mw->manager.top_shadow_GC, mw->manager.bottom_shadow_GC, mw->matrix.cell_shadow_thickness, x, y, width, height, pressed ? XmSHADOW_IN : XmSHADOW_OUT); } void xbaeDrawCellShadow(XbaeMatrixWidget mw, Window win, int row, int column, int x, int y, int width, int height) { GC top_shadow_gc = mw->manager.top_shadow_GC; GC bottom_shadow_gc = mw->manager.bottom_shadow_GC; GC grid_line_gc = mw->matrix.grid_line_gc; unsigned char shadow = mw->matrix.cell_shadow_type; unsigned char grid_type = mw->matrix.grid_type; /* amai, that's too verbose ...*/ DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "xbaeDrawCellShadow [%d,%d] wid %d, ht %d\n", row, column, width, height)); if (mw->matrix.cell_shadow_thickness == 0) { return; } if (mw->matrix.per_cell && mw->matrix.per_cell[row][column].shadow_type != 0) { shadow = mw->matrix.per_cell[row][column].shadow_type; grid_type = XmGRID_CELL_SHADOW; } else if (IN_GRID_ROW_MODE(mw) && mw->matrix.row_shadow_types && mw->matrix.row_shadow_types[row] != 0) { shadow = mw->matrix.row_shadow_types[row]; grid_type = XmGRID_ROW_SHADOW; } else if (IN_GRID_COLUMN_MODE(mw) && mw->matrix.column_shadow_types && mw->matrix.column_shadow_types[column] != 0) { shadow = mw->matrix.column_shadow_types[column]; grid_type = XmGRID_COLUMN_SHADOW; } /* * Surround the cell with a shadow. */ switch (grid_type) { case XmGRID_NONE: break; case XmGRID_ROW_SHADOW: DrawRowShadow(mw, win, row, column, x, y, width, height, top_shadow_gc, bottom_shadow_gc, shadow); break; case XmGRID_ROW_LINE: DrawRowShadow(mw, win, row, column, x, y, width, height, grid_line_gc, grid_line_gc, shadow); break; case XmGRID_COLUMN_SHADOW: DrawColumnShadow(mw, win, row, column, x, y, width, height, top_shadow_gc, bottom_shadow_gc, shadow); break; case XmGRID_COLUMN_LINE: DrawColumnShadow(mw, win, row, column, x, y, width, height, grid_line_gc, grid_line_gc, shadow); break; case XmGRID_CELL_LINE: DRAW_SHADOW(XtDisplay(mw), win, "win", grid_line_gc, grid_line_gc, mw->matrix.cell_shadow_thickness, x, y, width, height, shadow); break; case XmGRID_CELL_SHADOW: DRAW_SHADOW(XtDisplay(mw), win, "win", top_shadow_gc, bottom_shadow_gc, mw->matrix.cell_shadow_thickness, x, y, width, height, shadow); break; /* Deprecated types. To be removed in next version. */ case XmGRID_LINE: DRAW_SHADOW(XtDisplay(mw), win, "win", grid_line_gc, grid_line_gc, mw->matrix.cell_shadow_thickness, x, y, width, height, shadow); break; case XmGRID_SHADOW_OUT: DRAW_SHADOW(XtDisplay(mw), win, "win", bottom_shadow_gc, top_shadow_gc, mw->matrix.cell_shadow_thickness, x, y, width, height, shadow); break; case XmGRID_SHADOW_IN: DRAW_SHADOW(XtDisplay(mw), win, "win", top_shadow_gc, bottom_shadow_gc, mw->matrix.cell_shadow_thickness, x, y, width, height, shadow); break; } } void xbaeDrawCellHighlight(XbaeMatrixWidget mw, Window win, GC gc, int row, int column, int x, int y, int width, int height, unsigned char hl) { int thick = mw->matrix.cell_shadow_thickness; DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "xbaeDrawCellHighlight [%d,%d], wid %d, ht %d\n", row, column, width, height)); if (IN_GRID_ROW_MODE(mw) && (hl & HighlightRow)) { DrawRowHighlight(mw, win, gc, row, column, x, y, width, height); } else if (IN_GRID_COLUMN_MODE(mw) && (hl & HighlightColumn)) { DrawColumnHighlight(mw, win, gc, row, column, x, y, width, height); } else if (hl) { DRAW_HIGHLIGHT(XtDisplay(mw), win, gc, x + thick, y + thick, width - 2 * thick, height - 2 * thick, mw->matrix.cell_highlight_thickness, LineSolid); } } static void DrawRowHighlight(XbaeMatrixWidget mw, Window win, GC gc, int row, int column, int x, int y, int width, int height) { XRectangle rect; DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "DrawRowHighlight [%d,%d] wid %d ht %d\n", row, column, width, height)); rect.x = x; rect.y = y; rect.width = width; rect.height = height; XSetClipRectangles(XtDisplay(mw), gc, 0, 0, &rect, 1, Unsorted); /* * The highlight is inside the cell shadow */ x += mw->matrix.cell_shadow_thickness; y += mw->matrix.cell_shadow_thickness; width -= 2 * mw->matrix.cell_shadow_thickness; height -= 2 * mw->matrix.cell_shadow_thickness; /* * Make sure the left/right edge are outside the clipping recangle if this * is not the first/last column */ if (column != 0) { x -= mw->matrix.cell_shadow_thickness + mw->matrix.cell_highlight_thickness; width += mw->matrix.cell_shadow_thickness + mw->matrix.cell_highlight_thickness; } if (column != mw->matrix.columns - 1) { width += mw->matrix.cell_shadow_thickness + mw->matrix.cell_highlight_thickness; } DRAW_HIGHLIGHT(XtDisplay(mw), win, gc, x, y, width, height, mw->matrix.cell_highlight_thickness, LineSolid); XSetClipMask(XtDisplay(mw), gc, None); } static void DrawColumnHighlight(XbaeMatrixWidget mw, Window win, GC gc, int row, int column, int x, int y, int width, int height) { XRectangle rect; DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "DrawRowHighlight [%d,%d] wid %d ht %d\n", row, column, width, height)); rect.x = x; rect.y = y; rect.width = width; rect.height = height; XSetClipRectangles(XtDisplay(mw), gc, 0, 0, &rect, 1, Unsorted); /* * The highlight is inside the cell shadow */ x += mw->matrix.cell_shadow_thickness; y += mw->matrix.cell_shadow_thickness; width -= 2 * mw->matrix.cell_shadow_thickness; height -= 2 * mw->matrix.cell_shadow_thickness; /* * Make sure the top/bottom edge are outside the clipping recangle if this * is not the first/last row */ if (row != 0) { y -= mw->matrix.cell_shadow_thickness + mw->matrix.cell_highlight_thickness; height += mw->matrix.cell_shadow_thickness + mw->matrix.cell_highlight_thickness; } if (row != mw->matrix.rows - 1) { height += mw->matrix.cell_shadow_thickness + mw->matrix.cell_highlight_thickness; } DRAW_HIGHLIGHT(XtDisplay(mw), win, gc, x, y, width, height, mw->matrix.cell_highlight_thickness, LineSolid); XSetClipMask(XtDisplay(mw), gc, None); } static void DrawRowShadow(XbaeMatrixWidget mw, Window win, int row, int column, int x, int y, int width, int height, GC topGC, GC bottomGC, unsigned char shadow) { XRectangle rect; /* * Set up a clipping rectangle over the current cell. */ rect.x = x; rect.y = y; rect.width = width; rect.height = height; XSetClipRectangles(XtDisplay(mw), topGC, 0, 0, &rect, 1, Unsorted); if (topGC != bottomGC) XSetClipRectangles(XtDisplay(mw), bottomGC, 0, 0, &rect, 1, Unsorted); /* * Make sure the left/right edge are outside the clipping recangle if this * is not the first/last column */ if (column != 0) { x -= mw->matrix.cell_shadow_thickness; width += mw->matrix.cell_shadow_thickness; } if (column != mw->matrix.columns - 1) { width += mw->matrix.cell_shadow_thickness; } DRAW_SHADOW(XtDisplay(mw), win, "win", topGC, bottomGC, mw->matrix.cell_shadow_thickness, x, y, width, height, shadow); XSetClipMask(XtDisplay(mw), topGC, None); if (topGC != bottomGC) XSetClipMask(XtDisplay(mw), bottomGC, None); } static void DrawColumnShadow(XbaeMatrixWidget mw, Window win, int row, int column, int x, int y, int width, int height, GC topGC, GC bottomGC, unsigned char shadow) { XRectangle rect; /* * Set up a clipping rectangle over the current cell. */ rect.x = x; rect.y = y; rect.width = width; rect.height = height; XSetClipRectangles(XtDisplay(mw), topGC, 0, 0, &rect, 1, Unsorted); if (topGC != bottomGC) XSetClipRectangles(XtDisplay(mw), bottomGC, 0, 0, &rect, 1, Unsorted); /* * Make sure the top/bottom edge are outside the clipping recangle if this * is not the first/last row */ if (row != 0) { y -= mw->matrix.cell_shadow_thickness; height += mw->matrix.cell_shadow_thickness; } if (row != mw->matrix.rows - 1) { height += mw->matrix.cell_shadow_thickness; } DRAW_SHADOW(XtDisplay(mw), win, "win", topGC, bottomGC, mw->matrix.cell_shadow_thickness, x, y, width, height, shadow); XSetClipMask(XtDisplay(mw), topGC, None); if (topGC != bottomGC) XSetClipMask(XtDisplay(mw), bottomGC, None); } xbae-4.60.4/src/DebugUtil.c0000664000076400007640000017451410351545324012314 00000000000000/** * * $Header: /cvsroot/xbae/Xbae/src/DebugUtil.c,v 1.20 2005/12/19 14:59:32 tobiasoed Exp $ * * Copyright (C) 1995 Free Software Foundation, Inc. * Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 LessTif Development Team * * This file is part of the GNU LessTif Library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * **/ static const char rcsid[] = "$Header: /cvsroot/xbae/Xbae/src/DebugUtil.c,v 1.20 2005/12/19 14:59:32 tobiasoed Exp $"; #include "XbaeConfig.h" #include #include #include #include #include #include #ifdef HAVE_SYS_TYPES_H #include #endif #include #include #include #include #include #include #include #include #include #include #ifndef XmUNSPECIFIED #define XmUNSPECIFIED (~0) #endif /* * All external interfaces need to be in place for both, * debug and production build. We may just reduce them * to empty stubs ... */ /* * some #defines being used here */ #undef DEBUGSIG /* debug the 'signal feature' */ #undef DEBUGVALIDATE /* debug the ValidateSource(), etc. routines */ #undef PRINT_STATE /* add info to __XbaeDebugPrintTree() output */ /* * Functionality in this file is influenced at run time by these * environment variables : * * - XBAE_DEBUG_SOURCES : colon-separated list of files from which debug output * is generated. * Special values "all" and "none" have obvious meaning. * You may block file from the list by adding a "-" prefix, * this is obviously only useful in conjunction with "all", * e.g. XBAE_DEBUG_SOURCES=all:-Vendor.c:-XmString * Using an asterisk as a wildcard is also supported, e.g. * XBAE_DEBUG_SOURCES=Text* * The code may not be failsafe for some pathological combinations, * but we don't expect anyone to debug the debugging code ... ;-) * * - XBAE_DEBUG_PRINT_WIDGETID : if this variable exists, then all widgets printed * with _XbaeDebug etc. will also print their widget ID. If the variable * doesn't exist, then they only print their name for identification. * * - XBAE_DEBUG_FILE : if this variable exists, then the file is used for output. * If "%p" is part of the value of XBAE_DEBUG_FILE, then it is replaced by the * process id. * "stdout" and "stderr" are recognized and have their special * obvious meaning. * * - XBAE_DEBUG_SIGNAL: define to the macro which belongs to the signal which * should be accepted by the program as a switch to toggle * debugging on/off. No value or "none" will turn the feature off. * Valid values are compile time dependent (WRT libXm), * check below what's actually supported. * * - XBAE_DEBUG_TOGGLE: initial value whether debugging should be * enabled or disabled upon program start. Valid Values are on/off. * e.g. XBAE_DEBUG_TOGGLE=off * * If the C macro XBAE_PRODUCTION is defined, then _XbaeDebug etc. don't * work. Note: this is a compile time option. * To have maximum performance, sequences of _XbaeDebug statements should be * surrounded by an if (_XbaeDebugInDebug(__FILE__, w)) statement. * _XbaeDebugInDebug is False when XBAE_PRODUCTION is defined. */ #ifndef XBAE_PRODUCTION static Boolean _XbaeDebugFlag = True; static Boolean _XbaeDebugPrintWidgetID = False; static FILE *_XbaeDebugFile = NULL; typedef void (*sighandler_t) (int); #endif #define _XbaeDebugNONE 0 #define _XbaeDebugINT 1 #define _XbaeDebugSTRING 2 #define _XbaeDebugXMSTRING 3 #define _XbaeDebugCHAR 4 #define _XbaeDebugSHORT 5 #define _XbaeDebugATTACHMENT 6 #define _XbaeDebugWIDGET 7 #define _XbaeDebugBOOLEAN 8 #define _XbaeDebugSELECTION_POLICY 9 #define _XbaeDebugXMSTRING_LIST 10 /* bingo */ #define _XbaeDebugDIALOG_STYLE 11 #define _XbaeDebugEDIT_MODE 12 #define _XbaeDebugALIGNMENT 13 #define _XbaeDebugSB_DISPLAY_POLICY 14 #define _XbaeDebugLIST_SIZE_POLICY 15 #define _XbaeDebugSB_PLACEMENT 16 #define _XbaeDebugRESIZE_POLICY 17 #define _XbaeDebugCOMBOBOX_TYPE 18 #define _XbaeDebugSCROLLING_POLICY 19 #define _XbaeDebugDRAG_TYPE 20 #define _XbaeDebugMWM_INPUT_MODE 21 #define _XbaeDebugDELETE_RESPONSE 22 /* *INDENT-OFF* */ static const struct { const char *name; int t; const char *related; } _XbaeDebugTypes[] = { { XmNdragInitiatorProtocolStyle, _XbaeDebugDRAG_TYPE, NULL } , { XmNdragReceiverProtocolStyle, _XbaeDebugDRAG_TYPE, NULL } , { XmNscrollingPolicy, _XbaeDebugSCROLLING_POLICY, NULL } , { XmNmaximum, _XbaeDebugINT, NULL } , { XmNminimum, _XbaeDebugINT, NULL } , { XmNsliderSize, _XbaeDebugINT, NULL } , { XmNpageIncrement, _XbaeDebugINT, NULL } , { XmNincrement, _XbaeDebugINT, NULL } , { XmNx, _XbaeDebugINT, NULL } , { XmNy, _XbaeDebugINT, NULL } , { XmNwidth, _XbaeDebugINT, NULL } , { XmNheight, _XbaeDebugINT, NULL } , { XmNlabelString, _XbaeDebugXMSTRING, NULL } , { XmNmessageString, _XbaeDebugXMSTRING, NULL } , { XmNrowColumnType, _XbaeDebugNONE, NULL } , { XmNbuttonSet, _XbaeDebugNONE, NULL } , { XmNbuttonCount, _XbaeDebugINT, NULL } , { XmNoptionLabel, _XbaeDebugXMSTRING, NULL } , { XmNdirectory, _XbaeDebugXMSTRING, NULL } , { XmNoptionMnemonic, _XbaeDebugCHAR, NULL } , { XmNrows, _XbaeDebugSHORT, NULL } , { XmNcolumns, _XbaeDebugSHORT, NULL } , { XmNmarginWidth, _XbaeDebugINT, NULL } , { XmNmarginHeight, _XbaeDebugINT, NULL } , { XmNmarginTop, _XbaeDebugINT, NULL } , { XmNmarginBottom, _XbaeDebugINT, NULL } , { XmNmarginLeft, _XbaeDebugINT, NULL } , { XmNmarginRight, _XbaeDebugINT, NULL } , { XmNselectionArrayCount, _XbaeDebugINT, NULL } , { XmNshadowThickness, _XbaeDebugINT, NULL } , { XmNhighlightThickness, _XbaeDebugINT, NULL } , { XmNtopAttachment, _XbaeDebugATTACHMENT, NULL } , { XmNbottomAttachment, _XbaeDebugATTACHMENT, NULL } , { XmNleftAttachment, _XbaeDebugATTACHMENT, NULL } , { XmNrightAttachment, _XbaeDebugATTACHMENT, NULL } , { XmNtopOffset, _XbaeDebugINT, NULL } , { XmNbottomOffset, _XbaeDebugINT, NULL } , { XmNleftOffset, _XbaeDebugINT, NULL } , { XmNrightOffset, _XbaeDebugINT, NULL } , { XmNtopPosition, _XbaeDebugINT, NULL } , { XmNbottomPosition, _XbaeDebugINT, NULL } , { XmNleftPosition, _XbaeDebugINT, NULL } , { XmNrightPosition, _XbaeDebugINT, NULL } , { XmNdefaultButton, _XbaeDebugWIDGET, NULL } , { XmNmessageWindow, _XbaeDebugWIDGET, NULL } , { XmNtopWidget, _XbaeDebugWIDGET, NULL } , { XmNbottomWidget, _XbaeDebugWIDGET, NULL } , { XmNleftWidget, _XbaeDebugWIDGET, NULL } , { XmNrightWidget, _XbaeDebugWIDGET, NULL } , { XmNsensitive, _XbaeDebugBOOLEAN, NULL } , { XmNresizable, _XbaeDebugBOOLEAN, NULL } , { XmNmustMatch, _XbaeDebugBOOLEAN, NULL } , { XmNresizeHeight, _XbaeDebugBOOLEAN, NULL } , { XmNresizeWidth, _XbaeDebugBOOLEAN, NULL } , { XmNfractionBase, _XbaeDebugINT, NULL } , { XmNhorizontalSpacing, _XbaeDebugINT, NULL } , { XmNverticalSpacing, _XbaeDebugINT, NULL } , { XmNrubberPositioning, _XbaeDebugBOOLEAN, NULL } , { XmNitemCount, _XbaeDebugINT, NULL } , { XmNfileListItemCount, _XbaeDebugINT, NULL } , { XmNtextString, _XbaeDebugXMSTRING, NULL } , { XmNdirSpec, _XbaeDebugXMSTRING, NULL } , { XmNdirMask, _XbaeDebugXMSTRING, NULL } , { XmNitems, _XbaeDebugXMSTRING_LIST, XmNitemCount } , /* bingo */ { XmNselectionPolicy, _XbaeDebugSELECTION_POLICY, NULL } , { XmNautoUnmanage, _XbaeDebugBOOLEAN, NULL } , { XmNdialogStyle, _XbaeDebugDIALOG_STYLE, NULL } , { XmNshowAsDefault, _XbaeDebugSHORT, NULL } , { XmNeditable, _XbaeDebugBOOLEAN, NULL } , { XmNmaxLength, _XbaeDebugINT, NULL } , { XmNdirListItemCount, _XbaeDebugINT, NULL } , { XmNfileListItemCount, _XbaeDebugINT, NULL } , { XmNeditMode, _XbaeDebugEDIT_MODE, NULL } , { XmNalignment, _XbaeDebugALIGNMENT, NULL } , { XmNrecomputeSize, _XbaeDebugBOOLEAN, NULL } , { XmNdirectoryValid, _XbaeDebugBOOLEAN, NULL } , { XmNlistUpdated, _XbaeDebugBOOLEAN, NULL } , { XmNhorizontalScrollBar, _XbaeDebugWIDGET, NULL } , { XmNverticalScrollBar, _XbaeDebugWIDGET, NULL } , { XmNworkWindow, _XbaeDebugWIDGET, NULL } , { XmNmenuBar, _XbaeDebugWIDGET, NULL } , { XmNcommandWindow, _XbaeDebugWIDGET, NULL } , { XmNvisibleItemCount, _XbaeDebugSHORT, NULL } , { XmNdefaultButtonShadowThickness, _XbaeDebugSHORT, NULL } , { XmNset, _XbaeDebugBOOLEAN, NULL } , { XmNtraversalOn, _XbaeDebugBOOLEAN, NULL } , { XmNspacing, _XbaeDebugSHORT, NULL } , { XmNscrollBarDisplayPolicy, _XbaeDebugSB_DISPLAY_POLICY, NULL } , { XmNlistSizePolicy, _XbaeDebugLIST_SIZE_POLICY, NULL } , { XmNscrollBarPlacement, _XbaeDebugSB_PLACEMENT, NULL } , { XmNuserData, _XbaeDebugNONE, NULL } , { XmNallowShellResize, _XbaeDebugBOOLEAN, NULL } , { XmNresizePolicy, _XbaeDebugRESIZE_POLICY, NULL } , { XmNradioBehavior, _XbaeDebugBOOLEAN, NULL } , { XmNradioAlwaysOne, _XbaeDebugBOOLEAN, NULL } , { XmNnumColumns, _XbaeDebugSHORT, NULL } , { XmNinitialFocus, _XbaeDebugWIDGET, NULL } , { XmNmwmInputMode, _XbaeDebugMWM_INPUT_MODE, NULL } , { XmNmappedWhenManaged, _XbaeDebugBOOLEAN, NULL } , { XmNdeleteResponse, _XbaeDebugDELETE_RESPONSE, NULL } , { XmNwidthInc, _XbaeDebugSHORT, NULL } , { XmNheightInc, _XbaeDebugSHORT, NULL } , { XmNbaseWidth, _XbaeDebugSHORT, NULL } , { XmNbaseHeight, _XbaeDebugSHORT, NULL } , { XmNminWidth, _XbaeDebugSHORT, NULL } , { XmNminHeight, _XbaeDebugSHORT, NULL } , { XmNtitle, _XbaeDebugSTRING, NULL } , { XmNiconName, _XbaeDebugSTRING, NULL } , { XmNcancelLabelString, _XbaeDebugXMSTRING, NULL } , #if XmVERSION > 1 { XmNcomboBoxType, _XbaeDebugCOMBOBOX_TYPE, NULL } , { XmNlargeCellWidth, _XbaeDebugINT, NULL } , { XmNlargeCellHeight, _XbaeDebugINT, NULL } , #endif { XmNacceleratorText, _XbaeDebugXMSTRING, NULL }, { NULL, 0, NULL } /* the end */ }; /* *INDENT-ON* */ /**************************************************************************************************/ #ifndef XBAE_PRODUCTION /* strcasecmp() is not always available */ static int xbaeStrcasecmp(const char *s1, const char *s2) { #ifdef HAVE_STRNCASECMP return strcasecmp(s1, s2); #else #ifdef HAVE_STRNICMP return stricmp(s1, s2); #else int c1, c2; while (*s1 && *s2) { c1 = tolower(*s1); c2 = tolower(*s2); if (c1 != c2) { return (c1 - c2); } s1++; s2++; } return (int) (*s1 - *s2); #endif #endif } #endif #ifndef XBAE_PRODUCTION /* catches the signal defined by XBAE_DEBUG_SIGNAL and toggles the global debugging flag. Avoid calling C-runtime functions from within here if possible (which in turn might also raise signals) */ static void sighandler(int signo) { #ifdef DEBUGSIG fputs("sighandler(): signal caught\n", stderr); #endif /* switch debugging on/off */ _XbaeDebugToggle(); /* re-install ourselves: perhaps not always necessary, but OTOH it shouldn't hurt!? */ signal(signo, sighandler); } #endif /* XBAE_PRODUCTION */ #ifndef XBAE_PRODUCTION static Boolean siginstall(void) { const char *ptr; #define NOSIG -1 int signo = NOSIG; ptr = getenv("XBAE_DEBUG_SIGNAL"); if (ptr) { #ifdef DEBUGSIG fprintf(stderr, "siginstall(): trying to catch %s\n", ptr); #endif if ((*ptr == '\0') || (xbaeStrcasecmp(ptr, "none") == 0)) { fprintf(stderr, "siginstall(): empty value for XBAE_DEBUG_SIGNAL\n"); } #if defined(SIGBREAK) else if (strcmp(ptr, "SIGBREAK") == 0) signo = SIGBREAK; #endif #if defined(SIGUNUSED) else if (strcmp(ptr, "SIGUNUSED") == 0) signo = SIGUNUSED; #endif #if defined(SIGUSR1) else if (strcmp(ptr, "SIGUSR1") == 0) signo = SIGUSR1; #endif #if defined(SIGUSR2) else if (strcmp(ptr, "SIGUSR2") == 0) signo = SIGUSR2; #endif #if defined(SIGUSR3) else if (strcmp(ptr, "SIGUSR3") == 0) signo = SIGUSR3; #endif else fprintf(stderr, "siginstall(): unknown signal in XBAE_DEBUG_SIGNAL: %s\n", ptr); } if (signo == NOSIG) { return False; } else { sighandler_t sigrc; #ifdef DEBUGSIG fprintf(stderr, "siginstall(): installing %p on signal %i\n", sighandler, signo); #endif sigrc = signal(signo, sighandler); if (sigrc == SIG_ERR) return False; else return True; } } #endif /* XBAE_PRODUCTION */ /**************************************************************************************************/ #ifndef XBAE_PRODUCTION static void _XbaeDebugOpenFile(void) { const char *s; char *fn; if (_XbaeDebugFile) { /* already done */ return; } /* The rest here is the initialization code. Might be slow and long, since it's done only once */ s = getenv("XBAE_DEBUG_FILE"); if ((s == NULL) || (*s == '\0') || ((strcmp(s, "stderr") == 0))) _XbaeDebugFile = stderr; /* default/fallback value */ else if (strcmp(s, "stdout") == 0) /* the user wants to mix our output with the stdout of the * user application. */ _XbaeDebugFile = stdout; if (_XbaeDebugFile) { /* disable buffering for stdout/stderr */ setbuf(_XbaeDebugFile, NULL); return; } #ifdef HAVE_GETPID if (strstr(s, "%p")) { char *formatstr, *p; fn = XtMalloc(strlen(s) + 10); formatstr = XtMalloc(strlen(s) + 1); strcpy(formatstr, s); p = strstr(formatstr, "%p"); *(p + 1) = 'd'; sprintf(fn, s, getpid()); XtFree(formatstr); } else #endif /* HAVE_GETPID */ { fn = XtMalloc(strlen(s) + 1); strcpy(fn, s); } /* "a" means append, create if doesn't exist */ _XbaeDebugFile = fopen(fn, "a"); if (_XbaeDebugFile == NULL) { /* if fopen() fails do something reasonable */ fprintf(stderr, "_XbaeDebugOpenFile(): Can't open file %s\n", fn); _XbaeDebugFile = stderr; /* disable buffering */ setbuf(_XbaeDebugFile, NULL); } else { /* disable buffering for file */ setbuf(_XbaeDebugFile, NULL); } XtFree(fn); } #endif /* XBAE_PRODUCTION */ /* * See if 'fn' refers to a source file which is allowed to produce * debugging output. * The ".c" suffix for sources is not required (i.e. Form is equivalent * to Form.c). */ #ifndef XBAE_PRODUCTION static Boolean ValidateSource(const char *fn) { static Boolean init = False; typedef struct { char *fn; Boolean shortmatch; size_t len; } list_entry_t; static list_entry_t *poslist = NULL; static list_entry_t *neglist = NULL; static int positems = 0; static int negitems = 0; static Boolean flag_all = False; static Boolean flag_none = False; if (!init) { const char *sourcelist; /* Do initialization once and for all. Might be a long, slow procedure, but should speed all upcoming calls to this routine! */ sourcelist = getenv("XBAE_DEBUG_SOURCES"); if (sourcelist == NULL) { /* for compatibility with earlier versions */ sourcelist = getenv("XBAE_DEBUGSOURCES"); } /* set some flags to indicate situations where no explicit search is later on required */ /* list does not exist, is empty or set to "none" */ if (sourcelist == NULL || sourcelist[0] =='\0' || (xbaeStrcasecmp(sourcelist, "none") == 0)) { flag_none = True; } else if (xbaeStrcasecmp(sourcelist, "all") == 0) { flag_all = True; } else { const char *s, *p; s = sourcelist; while (s && *s) { char *dotptr, *asteriskptr; list_entry_t *newitem; Cardinal len; p = strchr(s, ':'); if (p) len = (p - s); else len = strlen(s); if (*s == '-') { /* cut the '-' out: */ len--; s++; neglist = (list_entry_t *) XtRealloc((char *) neglist, sizeof(list_entry_t) * (negitems + 1)); newitem = neglist + negitems; negitems++; } else { poslist = (list_entry_t *) XtRealloc((char *) poslist, sizeof(list_entry_t) * (positems + 1)); newitem = poslist + positems; positems++; } newitem->fn = XtMalloc(len + 1); strncpy(newitem->fn, s, len); newitem->fn[len] = '\0'; /* Cut the file extensions */ if ((dotptr = strrchr(newitem->fn, '.'))) *dotptr = '\0'; /* Check for shortmatch, asterisk */ if ((asteriskptr = strchr(newitem->fn, '*'))) { *asteriskptr = '\0'; newitem->shortmatch = True; newitem->len = strlen(newitem->fn); } else { newitem->shortmatch = False; newitem->len = 0; } /* proceed to next entry */ if (p) s = p + 1; else s = p; } /* while() */ } init = True; #ifdef DEBUGVALIDATE { int i; fprintf(stderr, "VS() init\n"); for (i = 0; i < positems; i++) { fprintf(stderr, "positem[%i]=%s # Short=%i\n", i, poslist[i].fn, poslist[i].shortmatch); } for (i = 0; i < negitems; i++) { fprintf(stderr, "negitem[%i]=%s # Short=%i\n", i, neglist[i].fn, neglist[i].fn.shortmatch); } } #endif } /* the most simple cases: */ if (flag_none) { return False; } else if (flag_all) { return True; } else { /* OK, we need to check explicitly ... */ const char *lastslash; char *lastdot; char shortfn[256]; /* dynamic memory would be too 'expensive' */ /* First we have to prepare the file name as passed to this routine: the __FILE__ macro as inserted from CPP may contain an optional path and certainly features a file extension (".c"). Our XBAE_DEBUG_SOURCES shouldn't have this, so we have to strip that. */ lastslash = strrchr(fn, '/'); if (lastslash && *(lastslash + 1) != '\0') strncpy(shortfn, lastslash + 1, sizeof(shortfn) - 1); else strncpy(shortfn, fn, sizeof(shortfn) - 1); lastdot = strrchr(shortfn, '.'); if (lastdot) *lastdot = '\0'; if (negitems > 0) { /* we have a negative list -> return true unless the file is on the list */ int i; for (i = 0; i < negitems; i++) { if ( (neglist[i].shortmatch && strncmp(shortfn, neglist[i].fn, neglist[i].len) == 0) || strcmp(shortfn, neglist[i].fn) == 0) { return False; } } return True; } else { /* we have a positive list -> return false unless the file is on the list */ int i; for (i = 0; i < positems; i++) { if ( (poslist[i].shortmatch && strncmp(shortfn, poslist[i].fn, poslist[i].len) == 0) || strcmp(shortfn, poslist[i].fn) == 0) { return True; } } return False; /* no matching entry found */ } } } #endif /* XBAE_PRODUCTION */ /**************************************************************************************************/ /* some initialization. Does never fail; return value indicates whether debugging is en- or disabled currently */ extern Boolean _XbaeDebugInit(void) { #ifdef XBAE_PRODUCTION return False; #else static Boolean init = False; if (!init){ const char *ptr; ptr = getenv("XBAE_DEBUG_TOGGLE"); if (ptr && (strcmp(ptr, "off") == 0)) _XbaeDebugFlag = False; ptr = getenv("XBAE_DEBUG_PRINT_WIDGETID"); if (ptr) _XbaeDebugPrintWidgetID = True; _XbaeDebugOpenFile(); siginstall(); init = True; } return _XbaeDebugFlag; #endif } /**************************************************************************************************/ /* amai: why does it take a widget here as an argument; any good reason for it?? */ #ifdef _XbaeDebugInDebug #undef _XbaeDebugInDebug #endif extern Boolean _XbaeDebugInDebug(const char *fn, Widget w) { #ifdef XBAE_PRODUCTION return False; #else return ValidateSource(fn); #endif } /* Allow user to query the state of Debugging System */ extern Boolean _XbaeDebugQueryState(void) { #ifndef XBAE_PRODUCTION return _XbaeDebugFlag; #else return False; #endif } /* extern interface to turn on/off debugging output */ extern void _XbaeDebugSet(Boolean flag) { #ifndef XBAE_PRODUCTION if (flag) _XbaeDebugFlag = True; else _XbaeDebugFlag = False; #endif } /* In rare circumstances when one can't afford to code in arguments to a function call for _LtSetDebug() here's an alternative call */ extern void _XbaeDebugToggle(void) { #ifndef XBAE_PRODUCTION _XbaeDebugFlag = !_XbaeDebugFlag; #endif } /**************************************************************************************************/ extern void _XbaeDebug(const char *fn, Widget w, const char *fmt, ...) { #ifndef XBAE_PRODUCTION va_list ap; #ifdef DEBUGVALIDATE fprintf(stderr, "ValidateSource(%s)=%s\n", fn, _XbaeDebugBoolean2String(ValidateSource(fn))); #endif if (_XbaeDebugInit() && ValidateSource(fn)) { if (w) { if (_XbaeDebugPrintWidgetID) { fprintf(_XbaeDebugFile, "%s %s [%p]: ", w->core.widget_class->core_class.class_name, XtName(w), w); } else { fprintf(_XbaeDebugFile, "%s %s: ", w->core.widget_class->core_class.class_name, XtName(w)); } } else { fprintf(_XbaeDebugFile, "(null widget): "); } va_start(ap, fmt); vfprintf(_XbaeDebugFile, fmt, ap); va_end(ap); fflush(_XbaeDebugFile); } #endif /* !XBAE_PRODUCTION */ } extern void _XbaeDebug2(const char *fn, Widget w, Widget c, const char *fmt, ...) { #ifndef XBAE_PRODUCTION va_list ap; if (_XbaeDebugInit() && ValidateSource(fn)) { if (w && c) { if (_XbaeDebugPrintWidgetID) { fprintf(_XbaeDebugFile, "%s %s [%p] (child %s [%p]): ", w->core.widget_class->core_class.class_name, XtName(w), w, XtName(c), c); } else { fprintf(_XbaeDebugFile, "%s %s (child %s): ", w->core.widget_class->core_class.class_name, XtName(w), XtName(c)); } } else if (w) { if (_XbaeDebugPrintWidgetID) { fprintf(_XbaeDebugFile, "%s %s [%p] (child NULL): ", w->core.widget_class->core_class.class_name, XtName(w), w); } else { fprintf(_XbaeDebugFile, "%s %s (child NULL): ", w->core.widget_class->core_class.class_name, XtName(w)); } } else { fprintf(_XbaeDebugFile, "(null widget): "); } va_start(ap, fmt); vfprintf(_XbaeDebugFile, fmt, ap); va_end(ap); } #endif /* !XBAE_PRODUCTION */ } extern void _XbaeDebug0(const char *fn, Widget w, const char *fmt, ...) { #ifndef XBAE_PRODUCTION va_list ap; if (_XbaeDebugInit() && ValidateSource(fn)) { va_start(ap, fmt); vfprintf(_XbaeDebugFile, fmt, ap); va_end(ap); } #endif /* !XBAE_PRODUCTION */ } extern void _XbaeDebugPrintArgList(const char *fn, Widget w, ArgList al, int n, Boolean Get) { #ifndef XBAE_PRODUCTION int i; unsigned num; if (_XbaeDebugInit() && ValidateSource(fn)) { for (i = 0; i < n; i++) { int at; for (at = 0; _XbaeDebugTypes[at].name; at++) { if (strcmp(al[i].name, _XbaeDebugTypes[at].name) == 0) { break; } } if (_XbaeDebugTypes[at].name == NULL) { fprintf(_XbaeDebugFile, "Arg[%d] : %s (not handled FIX ME)\n", i, al[i].name); continue; } switch (_XbaeDebugTypes[at].t) { case _XbaeDebugNONE: fprintf(_XbaeDebugFile, "Arg[%d] : %s\n", i, al[i].name); break; case _XbaeDebugINT: fprintf(_XbaeDebugFile, "Arg[%d] : %s %d\n", i, al[i].name, (Get) ? *(int *) al[i].value : (int) al[i].value); break; case _XbaeDebugSHORT: fprintf(_XbaeDebugFile, "Arg[%d] : %s %d\n", i, al[i].name, (Get) ? *(short *) al[i].value : (short) al[i].value); break; case _XbaeDebugSTRING: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (char *) al[i].value); break; case _XbaeDebugXMSTRING: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, _XbaeDebugXmString2String((XmString) al[i].value)); break; case _XbaeDebugCHAR: fprintf(_XbaeDebugFile, "Arg[%d] : %s %c\n", i, al[i].name, (char) al[i].value); break; case _XbaeDebugALIGNMENT: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugAlignment2String(*(unsigned char *) al[i].value) : _XbaeDebugAlignment2String((unsigned char) al[i].value)); break; case _XbaeDebugRESIZE_POLICY: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugResizePolicy2String(*(unsigned char *) al[i].value) : _XbaeDebugResizePolicy2String((unsigned char) al[i].value)); break; case _XbaeDebugSB_DISPLAY_POLICY: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugSBDisplayPolicy2String(*(unsigned char *) al[i].value) : _XbaeDebugSBDisplayPolicy2String((unsigned char) al[i].value)); break; case _XbaeDebugDRAG_TYPE: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugDragType2String(*(unsigned char *) al[i].value) : _XbaeDebugDragType2String((unsigned char) al[i].value)); break; case _XbaeDebugSCROLLING_POLICY: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugScrollingPolicy2String(*(unsigned char *) al[i].value) : _XbaeDebugScrollingPolicy2String((unsigned char) al[i].value)); break; case _XbaeDebugSB_PLACEMENT: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugSBPlacement2String(*(unsigned char *) al[i].value) : _XbaeDebugSBPlacement2String((unsigned char) al[i].value)); break; case _XbaeDebugLIST_SIZE_POLICY: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugListSizePolicy2String(*(unsigned char *) al[i].value) : _XbaeDebugListSizePolicy2String((unsigned char) al[i].value)); break; case _XbaeDebugATTACHMENT: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugAttachment2String(*(unsigned char *) al[i].value) : _XbaeDebugAttachment2String((unsigned char) al[i].value)); break; case _XbaeDebugDIALOG_STYLE: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugDialogStyle2String(*(unsigned char *) al[i].value) : _XbaeDebugDialogStyle2String((unsigned char) al[i].value)); break; case _XbaeDebugWIDGET: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? ((al[i].value && *(Widget *) al[i].value) ? XtName(*(Widget *) al[i].value) : "(null)") : (al[i].value ? XtName((Widget) al[i].value) : "(null)")); break; case _XbaeDebugEDIT_MODE: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugEditMode2String(*(Boolean *) al[i].value) : _XbaeDebugEditMode2String((Boolean) al[i].value)); break; case _XbaeDebugBOOLEAN: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugBoolean2String(*(Boolean *) al[i].value) : _XbaeDebugBoolean2String((Boolean) al[i].value)); break; case _XbaeDebugSELECTION_POLICY: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, _XbaeDebugSelectionPolicy2String(al[i].value)); break; case _XbaeDebugXMSTRING_LIST: /* Need related info !! */ num = 0xdeadbeef; XtVaGetValues(w, _XbaeDebugTypes[at].related, &num, NULL); if (num != 0xdeadbeef) { int j; fprintf(_XbaeDebugFile, "Arg[%d] : %s(%d):\n", i, al[i].name, num); for (j = 0; j < (int) num; j++) { fprintf(_XbaeDebugFile, "\tItem %d '%s'\n", j, _XbaeDebugXmString2String(((XmString *) (al[i].value))[j])); } } break; case _XbaeDebugMWM_INPUT_MODE: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugMwmInput2String(*(int *) al[i].value) : _XbaeDebugMwmInput2String((int) al[i].value)); break; case _XbaeDebugDELETE_RESPONSE: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, (Get) ? _XbaeDebugDeleteResponse2String(*(int *) al[i].value) : _XbaeDebugDeleteResponse2String((int) al[i].value)); break; #if XmVERSION > 1 case _XbaeDebugCOMBOBOX_TYPE: fprintf(_XbaeDebugFile, "Arg[%d] : %s %s\n", i, al[i].name, _XbaeDebugComboBoxType2String(al[i].value)); break; #endif } } } #endif /* !XBAE_PRODUCTION */ } extern void _XbaeDebugAction(const char *fn, Widget w, const String action, const String * params, const Cardinal * num_params) { #ifndef XBAE_PRODUCTION if (_XbaeDebugInit() && ValidateSource(fn)) { int i; if (w) { if (_XbaeDebugPrintWidgetID) { fprintf(_XbaeDebugFile, "%s %s [%p]: ", w->core.widget_class->core_class.class_name, XtName(w), w); } else { fprintf(_XbaeDebugFile, "%s %s: ", w->core.widget_class->core_class.class_name, XtName(w)); } } else { fprintf(_XbaeDebugFile, "(null widget): "); } fprintf(_XbaeDebugFile, "Action %s(", action); if (*num_params) { fprintf(_XbaeDebugFile, "%s", params[0]); } for (i = 1; i < (int) *num_params; i++) { fprintf(_XbaeDebugFile, ", %s", params[i]); } fprintf(_XbaeDebugFile, ")\n"); fflush(_XbaeDebugFile); } #endif /* !XBAE_PRODUCTION */ } /**************************************************************************************************/ #ifndef XBAE_PRODUCTION static void __XbaeDebugPrintTree(Widget w, int level) { int i; Cardinal c; CompositeWidget cw = (CompositeWidget) w; if (w == NULL) { return; } for (i = 0; i < level; i++) { fprintf(_XbaeDebugFile, "\t"); } fprintf(_XbaeDebugFile, "%s : %p/%ld", XtName(w), w, XtWindow(w)); fprintf(_XbaeDebugFile, "(%s) geo %d %d %d %d", w->core.widget_class->core_class.class_name, XtX(w), XtY(w), XtWidth(w), XtHeight(w)); #ifdef PRINT_STATE fprintf(_XbaeDebugFile, " state: %s %s", _XbaeDebugState(w), w->core.mapped_when_managed ? "mwm" : ""); #endif fprintf(_XbaeDebugFile, "\n"); if (XtIsSubclass(w, compositeWidgetClass)) { for (c = 0; c < cw->composite.num_children; c++) { __XbaeDebugPrintTree(cw->composite.children[c], level + 1); } } for (c = 0; c < cw->core.num_popups; c++) { __XbaeDebugPrintTree(cw->core.popup_list[c], level + 1); } } #endif extern void _XbaeDebugPrintTree(Widget w) { #ifndef XBAE_PRODUCTION if (_XbaeDebugInit()) { __XbaeDebugPrintTree(w, 0); } #endif } extern void _XbaeDebugPrintCompleteTree(Widget w) { #ifndef XBAE_PRODUCTION if (_XbaeDebugInit()) { Widget p; for (p = XtParent(w); p != NULL; w = p, p = XtParent(w)) ; __XbaeDebugPrintTree(w, 0); } #endif } /**************************************************************************************************/ /* * Allow unconditional printing to the _XbaeDebugFile */ extern void _XbaeDebugPrintString(const char *s) { #ifndef XBAE_PRODUCTION _XbaeDebugInit(); fprintf(_XbaeDebugFile, "%s", s); #endif } /**************************************************************************************************/ /* The following calls shouldn't depend on the complete debugging subsystem, i.e. things like _XbaeDebugFile, etc. */ extern const char *_XbaeDebugState(Widget w) { if (XtIsRealized(w)) { if (XtIsManaged(w)) { return "realized, managed"; } else { return "realized, not managed"; } } else { if (XtIsManaged(w)) { return "not realized, managed"; } else { return "not realized, not managed"; } } } extern const char *_XbaeDebugDeleteResponse2String(int d) { switch (d) { case XmDESTROY: return "XmDESTROY"; case XmUNMAP: return "XmUNMAP"; case XmDO_NOTHING: return "XmDO_NOTHING"; default: return "??"; } } #if XmVERSION > 1 extern const char *_XbaeDebugComboBoxType2String(unsigned char type) { switch (type) { case XmDROP_DOWN_LIST: return ("XmDROP_DOWN_LIST"); case XmDROP_DOWN_COMBO_BOX: return ("XmDROP_DOWN_COMBO_BOX"); case XmCOMBO_BOX: return ("XmCOMBO_BOX"); default: return ("UNKNOWN"); } } #endif extern const char *_XbaeDebugGeoAction2String(int action) { switch (action) { case XmGET_ACTUAL_SIZE: return ("XmGET_ACTUAL_SIZE"); case XmGET_PREFERRED_SIZE: return ("XmGET_PREFERRED_SIZE"); case XmGEO_PRE_SET: return ("XmGEO_PRE_SET"); case XmGEO_POST_SET: return ("XmGEO_POST_SET"); default: return ("Unknown geo action"); } } extern const char *_XbaeDebugGeometryResult2String(XtGeometryResult r) { switch (r) { case XtGeometryYes: return "Yes"; case XtGeometryNo: return "No"; case XtGeometryAlmost: return "Almost"; case XtGeometryDone: return "Done"; default: return "(invalid geometry result)"; } } extern const char *_XbaeDebugDragAndDropMessageType2String(unsigned char r) { switch (r) { case XmTOP_LEVEL_ENTER: return "TOP_LEVEL_ENTER"; case XmTOP_LEVEL_LEAVE: return "TOP_LEVEL_LEAVE"; case XmDRAG_MOTION: return "DRAG_MOTION"; case XmDROP_SITE_ENTER: return "DROP_SITE_ENTER"; case XmDROP_SITE_LEAVE: return "DROP_SITE_LEAVE"; case XmDROP_START: return "DROP_START"; case XmDROP_FINISH: return "DROP_FINISH"; case XmDRAG_DROP_FINISH: return "DRAG_DROP_FINISH"; case XmOPERATION_CHANGED: return "OPERATION_CHANGED"; default: return "UNKNOWN"; } } extern const char *_XbaeDebugDragType2String(unsigned char r) { switch (r) { case XmDRAG_NONE: return "XmDRAG_NONE"; case XmDRAG_DROP_ONLY: return "XmDRAG_DROP_ONLY"; case XmDRAG_PREFER_PREREGISTER: return "XmDRAG_PREFER_PREREGISTER"; case XmDRAG_PREREGISTER: return "XmDRAG_PREREGISTER"; case XmDRAG_PREFER_DYNAMIC: return "XmDRAG_PREFER_DYNAMIC"; case XmDRAG_PREFER_RECEIVER: return "XmDRAG_PREFER_RECEIVER"; case XmDRAG_DYNAMIC: return "XmDRAG_DYNAMIC"; default: return "UNKNOWN"; } } extern const char *_XbaeDebugScrollingPolicy2String(unsigned char r) { switch (r) { case XmAUTOMATIC: return "XmAUTOMATIC"; case XmCONSTANT: return "XmCONSTANT"; default: return "UNKNOWN"; } } extern const char *_XbaeDebugMwmInput2String(int a) { switch (a) { case MWM_INPUT_MODELESS: return "MWM_INPUT_MODELESS"; case MWM_INPUT_PRIMARY_APPLICATION_MODAL: return "MWM_INPUT_PRIMARY_APPLICATION_MODAL or MWM_INPUT_APPLICATION_MODAL"; case MWM_INPUT_FULL_APPLICATION_MODAL: return "MWM_INPUT_FULL_APPLICATION_MODAL"; case MWM_INPUT_SYSTEM_MODAL: return "MWM_INPUT_SYSTEM_MODAL"; #if 0 case MWM_INPUT_APPLICATION_MODAL: return "MWM_INPUT_APPLICATION_MODAL"; #endif default: return "(invalid input style)"; } } extern const char *_XbaeDebugDialogStyle2String(int a) { switch (a) { case XmDIALOG_WORK_AREA: return "XmDIALOG_WORK_AREA or XmDIALOG_MODELESS"; /* case XmDIALOG_MODELESS: return "XmDIALOG_MODELESS"; */ case XmDIALOG_PRIMARY_APPLICATION_MODAL: return "XmDIALOG_PRIMARY_APPLICATION_MODAL or XmDIALOG_APPLICATION_MODAL"; case XmDIALOG_FULL_APPLICATION_MODAL: return "XmDIALOG_FULL_APPLICATION_MODAL"; case XmDIALOG_SYSTEM_MODAL: return "XmDIALOG_SYSTEM_MODAL"; /* case XmDIALOG_APPLICATION_MODAL: return "XmDIALOG_APPLICATION_MODAL"; */ default: return "(invalid dialog style)"; } } extern const char *_XbaeDebugAttachment2String(int a) { switch (a) { case XmATTACH_FORM: return "XmATTACH_FORM"; case XmATTACH_OPPOSITE_FORM: return "XmATTACH_OPPOSITE_FORM"; case XmATTACH_WIDGET: return "XmATTACH_WIDGET"; case XmATTACH_OPPOSITE_WIDGET: return "XmATTACH_OPPOSITE_WIDGET"; case XmATTACH_NONE: return "XmATTACH_NONE"; case XmATTACH_POSITION: return "XmATTACH_POSITION"; case XmATTACH_SELF: return "XmATTACH_SELF"; default: return "(invalid attachment)"; } } extern const char *_XbaeDebugMenuEnum2String(int f) { switch (f) { case XmMENU_POPDOWN: return "XmMENU_POPDOWN"; case XmMENU_PROCESS_TREE: return "XmMENU_PROCESS_TREE"; case XmMENU_TRAVERSAL: return "XmMENU_TRAVERSAL"; case XmMENU_SHELL_POPDOWN: return "XmMENU_SHELL_POPDOWN"; case XmMENU_CALLBACK: return "XmMENU_CALLBACK"; case XmMENU_BUTTON: return "XmMENU_BUTTON"; case XmMENU_CASCADING: return "XmMENU_CASCADING"; case XmMENU_SUBMENU: return "XmMENU_SUBMENU"; case XmMENU_ARM: return "XmMENU_ARM"; case XmMENU_DISARM: return "XmMENU_DISARM"; case XmMENU_BAR_CLEANUP: return "XmMENU_BAR_CLEANUP"; case XmMENU_STATUS: return "XmMENU_STATUS"; case XmMENU_MEMWIDGET_UPDATE: return "XmMENU_MEMWIDGET_UPDATE"; case XmMENU_BUTTON_POPDOWN: return "XmMENU_BUTTON_POPDOWN"; case XmMENU_RESTORE_EXCLUDED_TEAROFF_TO_TOPLEVEL_SHELL: return "XmMENU_RESTORE_EXCLUDED_TEAROFF_TO_TOPLEVEL_SHELL"; case XmMENU_RESTORE_TEAROFF_TO_TOPLEVEL_SHELL: return "XmMENU_RESTORE_TEAROFF_TO_TOPLEVEL_SHELL"; case XmMENU_RESTORE_TEAROFF_TO_MENUSHELL: return "XmMENU_RESTORE_TEAROFF_TO_MENUSHELL"; case XmMENU_GET_LAST_SELECT_TOPLEVEL: return "XmMENU_GET_LAST_SELECT_TOPLEVEL"; case XmMENU_TEAR_OFF_ARM: return "XmMENU_TEAR_OFF_ARM"; default: return "??"; } } extern const char *_XbaeDebugBoolean2String(Boolean b) { if (b) return "True"; else return "False"; } extern const char *_XbaeDebugXmString2String(XmString xms) { static char *s = NULL; if (s) { XtFree(s); s = NULL; } if (xms == (XmString) XmUNSPECIFIED) { return "XmUNSPECIFIED"; } if (!XmStringGetLtoR(xms, XmFONTLIST_DEFAULT_TAG, &s) || s == NULL) { return "(null)"; } return s; } extern const char *_XbaeDebugPacking2String(unsigned char p) { static char res[40]; switch (p) { case XmPACK_COLUMN: return "XmPACK_COLUMN"; case XmPACK_TIGHT: return "XmPACK_TIGHT"; case XmPACK_NONE: return "XmPACK_NONE"; default: sprintf(res, "Invalid packing %d", p); return res; } } extern const char *_XbaeDebugRcType2String(unsigned char t) { static char res[40]; switch (t) { case XmWORK_AREA: return "XmWORK_AREA"; case XmMENU_BAR: return "XmMENU_BAR"; case XmMENU_PULLDOWN: return "XmMENU_PULLDOWN"; case XmMENU_POPUP: return "XmMENU_POPUP"; case XmMENU_OPTION: return "XmMENU_OPTION"; default: sprintf(res, "Invalid RC Type %d", t); return res; } } extern const char *_XbaeDebugWidgetGeometry2String(XtWidgetGeometry * g) { static char o1[128], o2[128], b[20]; static char *out = NULL; int i; if (g == NULL) { return "NULL_GEOMETRY"; } if (g->request_mode == 0) { return "GEOMETRY_NO_FIELDS"; } /* Some magic to ensure you can call this sucker twice in one C function call */ if (out == o1) { out = o2; } else { out = o1; } out[0] = '\0'; if (g->request_mode & CWX) { sprintf(b, "x %d ", g->x); strcat(out, b); } if (g->request_mode & CWY) { sprintf(b, "y %d ", g->y); strcat(out, b); } if (g->request_mode & CWWidth) { sprintf(b, "w %d ", g->width); strcat(out, b); } if (g->request_mode & CWHeight) { sprintf(b, "h %d ", g->height); strcat(out, b); } if (g->request_mode & CWBorderWidth) { sprintf(b, "bw %d ", g->border_width); strcat(out, b); } for (i = 0; out[i]; i++) { } if (i > 0 && out[i - 1] == ' ') { out[i - 1] = '\0'; } return out; } extern const char *_XbaeDebugEditMode2String(int n) { switch (n) { case XmMULTI_LINE_EDIT: return "XmMULTI_LINE_EDIT"; case XmSINGLE_LINE_EDIT: return "XmSINGLE_LINE_EDIT"; default: return "???"; } } extern const char *_XbaeDebugSelectionPolicy2String(int n) { switch (n) { case XmSINGLE_SELECT: return "XmSINGLE_SELECT"; case XmBROWSE_SELECT: return "XmBROWSE_SELECT"; case XmMULTIPLE_SELECT: return "XmMULTIPLE_SELECT"; case XmEXTENDED_SELECT: return "XmEXTENDED_SELECT"; default: return "???"; } } extern const char *_XbaeDebugResizePolicy2String(int n) { switch (n) { case XmRESIZE_NONE: return "XmRESIZE_NONE"; case XmRESIZE_GROW: return "XmRESIZE_GROW"; case XmRESIZE_ANY: return "XmRESIZE_ANY"; case XmRESIZE_SWINDOW: return "XmRESIZE_SWINDOW"; default: return "XmNscrollBarDisplayPolicy - illegal"; } } extern const char *_XbaeDebugSBDisplayPolicy2String(int n) { switch (n) { case XmSTATIC: return "XmSTATIC"; case XmAS_NEEDED: return "XmAS_NEEDED"; default: return "XmNscrollBarDisplayPolicy - illegal"; } } extern const char *_XbaeDebugSBPlacement2String(int n) { switch (n) { case XmTOP_LEFT: return "XmTOP_LEFT"; case XmBOTTOM_LEFT: return "XmBOTTOM_LEFT"; case XmTOP_RIGHT: return "XmTOP_RIGHT"; case XmBOTTOM_RIGHT: return "XmBOTTOM_RIGHT"; default: return "XmNscrollBarPlacement - illegal"; } } extern const char *_XbaeDebugListSizePolicy2String(int n) { switch (n) { case XmVARIABLE: return "XmVARIABLE"; case XmCONSTANT: return "XmCONSTANT"; case XmRESIZE_IF_POSSIBLE: return "XmRESIZE_IF_POSSIBLE"; default: return "XmNlistSizePolicy - illegal"; } } extern const char *_XbaeDebugAlignment2String(int n) { switch (n) { case XmALIGNMENT_BEGINNING: return "XmALIGNMENT_BEGINNING"; case XmALIGNMENT_CENTER: return "XmALIGNMENT_CENTER"; case XmALIGNMENT_END: return "XmALIGNMENT_END"; default: return "XmALIGNMENT - illegal"; } } extern const char *_XbaeDebugMenuType2String(int n) { switch (n) { case XmMENU_OPTION: return "XmMENU_OPTION"; case XmMENU_POPUP: return "XmMENU_POPUP"; case XmMENU_PULLDOWN: return "XmMENU_PULLDOWN"; default: return "???"; } } extern const char *_XbaeDebugNavigability2String(unsigned char n) { switch (n) { case XmDESCENDANTS_NAVIGABLE: return "XmDESCENDANTS_NAVIGABLE"; case XmDESCENDANTS_TAB_NAVIGABLE: return "XmDESCENDANTS_TAB_NAVIGABLE"; case XmCONTROL_NAVIGABLE: return "XmCONTROL_NAVIGABLE"; case XmNOT_NAVIGABLE: return "XmNOT_NAVIGABLE"; case XmTAB_NAVIGABLE: return "XmTAB_NAVIGABLE"; default: return "???"; } } extern const char *_XbaeDebugHighlightMode2String(int mode) { switch (mode) { case XmHIGHLIGHT_NORMAL: return "NORMAL"; case XmHIGHLIGHT_SELECTED: return "SELECTED"; case XmHIGHLIGHT_SECONDARY_SELECTED: return "SECONDARY_SELECTED"; default: return "???"; } } extern const char *_XbaeDebugReason2String(int reason) { switch (reason) { case XmCR_NONE: return "XmCR_NONE"; case XmCR_HELP: return "XmCR_HELP"; case XmCR_VALUE_CHANGED: return "XmCR_VALUE_CHANGED"; case XmCR_INCREMENT: return "XmCR_INCREMENT"; case XmCR_DECREMENT: return "XmCR_DECREMENT"; case XmCR_PAGE_INCREMENT: return "XmCR_PAGE_INCREMENT"; case XmCR_PAGE_DECREMENT: return "XmCR_PAGE_DECREMENT"; case XmCR_TO_TOP: return "XmCR_TO_TOP"; case XmCR_TO_BOTTOM: return "XmCR_TO_BOTTOM"; case XmCR_DRAG: return "XmCR_DRAG"; case XmCR_ACTIVATE: return "XmCR_ACTIVATE"; case XmCR_ARM: return "XmCR_ARM"; case XmCR_DISARM: return "XmCR_DISARM"; /* case XmCR_DUMMY13: return "XmCR_DUMMY13"; */ /* case XmCR_DUMMY14: return "XmCR_DUMMY14"; */ /* case XmCR_DUMMY15: return "XmCR_DUMMY15"; */ case XmCR_MAP: return "XmCR_MAP"; case XmCR_UNMAP: return "XmCR_UNMAP"; case XmCR_FOCUS: return "XmCR_FOCUS"; case XmCR_LOSING_FOCUS: return "XmCR_LOSING_FOCUS"; case XmCR_MODIFYING_TEXT_VALUE: return "XmCR_MODIFYING_TEXT_VALUE"; case XmCR_MOVING_INSERT_CURSOR: return "XmCR_MOVING_INSERT_CURSOR"; case XmCR_EXECUTE: return "XmCR_EXECUTE"; case XmCR_SINGLE_SELECT: return "XmCR_SINGLE_SELECT"; case XmCR_MULTIPLE_SELECT: return "XmCR_MULTIPLE_SELECT"; case XmCR_EXTENDED_SELECT: return "XmCR_EXTENDED_SELECT"; case XmCR_BROWSE_SELECT: return "XmCR_BROWSE_SELECT"; case XmCR_DEFAULT_ACTION: return "XmCR_DEFAULT_ACTION"; case XmCR_CLIPBOARD_DATA_REQUEST: return "XmCR_CLIPBOARD_DATA_REQUEST"; case XmCR_CLIPBOARD_DATA_DELETE: return "XmCR_CLIPBOARD_DATA_DELETE"; case XmCR_CASCADING: return "XmCR_CASCADING"; case XmCR_OK: return "XmCR_OK"; case XmCR_CANCEL: return "XmCR_CANCEL"; /* case XmCR_DUMMY33: return "XmCR_DUMMY33"; */ case XmCR_APPLY: return "XmCR_APPLY"; case XmCR_NO_MATCH: return "XmCR_NO_MATCH"; case XmCR_COMMAND_ENTERED: return "XmCR_COMMAND_ENTERED"; case XmCR_COMMAND_CHANGED: return "XmCR_COMMAND_CHANGED"; case XmCR_EXPOSE: return "XmCR_EXPOSE"; case XmCR_RESIZE: return "XmCR_RESIZE"; case XmCR_INPUT: return "XmCR_INPUT"; case XmCR_GAIN_PRIMARY: return "XmCR_GAIN_PRIMARY"; case XmCR_LOSE_PRIMARY: return "XmCR_LOSE_PRIMARY"; case XmCR_CREATE: return "XmCR_CREATE"; case XmCR_TEAR_OFF_ACTIVATE: return "XmCR_TEAR_OFF_ACTIVATE"; case XmCR_TEAR_OFF_DEACTIVATE: return "XmCR_TEAR_OFF_DEACTIVATE"; case XmCR_OBSCURED_TRAVERSAL: return "XmCR_OBSCURED_TRAVERSAL"; #if XmVERSION >= 2 case XmCR_FOCUS_MOVED: return "XmCR_FOCUS_MOVED"; /* case XmCR_DUMMY48: return "XmCR_DUMMY48"; */ /* case XmCR_DUMMY49: return "XmCR_DUMMY49"; */ /* case XmCR_DUMMY50: return "XmCR_DUMMY50"; */ /* case XmCR_DUMMY51: return "XmCR_DUMMY51"; */ /* case XmCR_DUMMY52: return "XmCR_DUMMY52"; */ /* case XmCR_DUMMY53: return "XmCR_DUMMY53"; */ case XmCR_REPOST: return "XmCR_REPOST"; case XmCR_COLLAPSED: return "XmCR_COLLAPSED"; case XmCR_EXPANDED: return "XmCR_EXPANDED"; case XmCR_SELECT: return "XmCR_SELECT"; case XmCR_DRAG_START: return "XmCR_DRAG_START"; case XmCR_NO_FONT: return "XmCR_NO_FONT"; case XmCR_NO_RENDITION: return "XmCR_NO_RENDITION"; case XmCR_POST: return "XmCR_POST"; case XmCR_SPIN_NEXT: return "XmCR_SPIN_NEXT"; case XmCR_SPIN_PRIOR: return "XmCR_SPIN_PRIOR"; case XmCR_SPIN_FIRST: return "XmCR_SPIN_FIRST"; case XmCR_SPIN_LAST: return "XmCR_SPIN_LAST"; case XmCR_PAGE_SCROLLER_INCREMENT: return "XmCR_PAGE_SCROLLER_INCREMENT"; case XmCR_PAGE_SCROLLER_DECREMENT: return "XmCR_PAGE_SCROLLER_DECREMENT"; case XmCR_MAJOR_TAB: return "XmCR_MAJOR_TAB"; case XmCR_MINOR_TAB: return "XmCR_MINOR_TAB"; #endif /* XmVERSION >= 2 */ #if XmVersion >=2001 case XmCR_PDM_NONE: return "XmCR_PDM_NONE"; case XmCR_PDM_START_VXAUTH: return "XmCR_PDM_START_VXAUTH"; case XmCR_PDM_START_PXAUTH: return "XmCR_PDM_START_PXAUTH"; case XmCR_PDM_UP: return "XmCR_PDM_UP"; case XmCR_PDM_OK: return "XmCR_PDM_OK"; case XmCR_PDM_CANCEL: return "XmCR_PDM_CANCEL"; case XmCR_PDM_START_ERROR: return "XmCR_PDM_START_ERROR"; case XmCR_PDM_EXIT_ERROR: return "XmCR_PDM_EXIT_ERROR"; #endif /* XmVersion >=2001 */ case XmCR_PROTOCOLS: return "XmCR_PROTOCOLS"; default: return "???"; } } extern const char *_XbaeDebugFocusChange2String(XmFocusChange c) { switch (c) { case XmFOCUS_IN: return "XmFOCUS_IN"; case XmFOCUS_OUT: return "XmFOCUS_OUT"; case XmENTER: return "XmENTER"; case XmLEAVE: return "XmLEAVE"; default: return "???"; } } extern const char *_XbaeDebugNavigationType2String(XmNavigationType nt) { switch (nt) { case XmNONE: return "XmNONE"; case XmTAB_GROUP: return "XmTAB_GROUP"; case XmSTICKY_TAB_GROUP: return "XmSTICKY_TAB_GROUP"; case XmEXCLUSIVE_TAB_GROUP: return "XmEXCLUSIVE_TAB_GROUP"; default: return "???"; } } extern const char *_XbaeDebugEventType2String(int type) { switch (type) { case KeyPress: return ("KeyPress"); case KeyRelease: return ("KeyRelease"); case ButtonPress: return ("ButtonPress"); case ButtonRelease: return ("ButtonRelease"); case KeymapNotify: return ("KeymapNotify"); case MotionNotify: return ("MotionNotify"); case EnterNotify: return ("EnterNotify"); case LeaveNotify: return ("LeaveNotify"); case FocusIn: return ("FocusIn"); case FocusOut: return ("FocusOut"); case Expose: return ("Expose"); case GraphicsExpose: return ("GraphicsExpose"); case NoExpose: return ("NoExpose"); case ColormapNotify: return ("ColormapNotify"); case PropertyNotify: return ("PropertyNotify"); case VisibilityNotify: return ("VisibilityNotify"); case ResizeRequest: return ("ResizeRequest"); case CirculateNotify: return ("CirculateNotify"); case ConfigureNotify: return ("ConfigureNotify"); case DestroyNotify: return ("DestroyNotify"); case GravityNotify: return ("GravityNotify"); case MapNotify: return ("MapNotify"); case ReparentNotify: return ("ReparentNotify"); case UnmapNotify: return ("UnmapNotify"); case CreateNotify: return ("CreateNotify"); case CirculateRequest: return ("CirculateRequest"); case ConfigureRequest: return ("ConfigureRequest"); case MapRequest: return ("MapRequest"); case MappingNotify: return ("MappingNotify"); case ClientMessage: return ("ClientMessage"); case SelectionClear: return ("SelectionClear"); case SelectionNotify: return ("SelectionNotify"); case SelectionRequest: return ("SelectionRequest"); default: return ("UNKNOWN"); } } extern const char *_XbaeDebugFocusMode2String(int type) { switch (type) { case NotifyNormal: return ("NotifyNormal"); case NotifyGrab: return ("NotifyGrab"); case NotifyUngrab: return ("NotifyUngrab"); case NotifyWhileGrabbed: return ("NotifyWhileGrabbed"); default: return ("UNKNOWN"); } } extern const char *_XbaeDebugFocusDetail2String(int type) { switch (type) { case NotifyAncestor: return ("NotifyAncestor"); case NotifyDetailNone: return ("NotifyDetailNone"); case NotifyInferior: return ("NotifyInferior"); case NotifyNonlinear: return ("NotifyNonlinear"); case NotifyNonlinearVirtual: return ("NotifyNonlinearVirtual"); case NotifyPointer: return ("NotifyPointer"); case NotifyPointerRoot: return ("NotifyPointerRoot"); case NotifyVirtual: return ("NotifyVirtual"); default: return ("UNKNOWN"); } } extern const char * _LtDebugFrameChildType2String(int action) { switch (action) { case XmFRAME_GENERIC_CHILD: return ("XmFRAME_GENERIC_CHILD"); case XmFRAME_WORKAREA_CHILD: return ("XmFRAME_WORKAREA_CHILD"); case XmFRAME_TITLE_CHILD: return ("XmFRAME_TITLE_CHILD"); default: return ("Unknown frame childtype"); } } extern const char *_XbaeDebugShadowTypeToString(unsigned char s) { switch (s) { case XmSHADOW_IN: return "XmSHADOW_IN"; case XmSHADOW_OUT: return "XmSHADOW_OUT"; case BAD_SHADOW: return "BAD_SHADOW"; case XmSINGLE_LINE: return "XmSINGLE_LINE"; case XmDOUBLE_LINE: return "XmDOUBLE_LINE"; case XmSINGLE_DASHED_LINE: return "XmSINGLE_DASHED_LINE"; case XmDOUBLE_DASHED_LINE: return "XmDOUBLE_DASHED_LINE"; case XmSHADOW_ETCHED_IN: return "XmSHADOW_ETCHED_IN"; case XmSHADOW_ETCHED_OUT: return "XmSHADOW_ETCHED_OUT"; /* Same as XmSHADOW_IN case XmSHADOW_ETCHED_IN_DASH: return "XmSHADOW_ETCHED_IN_DASH"; */ /* Same as XmSHADOW_OUT case XmSHADOW_ETCHED_OUT_DASH: return "XmSHADOW_ETCHED_OUT_DASH"; */ case XmINVALID_SEPARATOR_TYPE: return "XmINVALID_SEPARATOR_TYPE"; default: return "??"; } } /**************************************************************************************************/ #ifdef WITH_DMALLOC static void XbaeAllocError(const char *name) { (void) write(2, "Xt Error: ", 10); (void) write(2, name, strlen(name)); (void) write(2, "\n", 1); exit(1); } #define DMALLOC_DISABLE #define DMALLOC_DEFAULT_LINE 0 #define DMALLOC_FUNC_MALLOC 10 /* malloc function called */ #define DMALLOC_FUNC_CALLOC 11 /* calloc function called */ #define DMALLOC_FUNC_REALLOC 12 /* realloc function called */ #define DMALLOC_FUNC_RECALLOC 13 /* recalloc called */ #define DMALLOC_FUNC_MEMALIGN 14 /* memalign function called */ #define DMALLOC_FUNC_VALLOC 15 /* valloc function called */ #define DMALLOC_FUNC_STRDUP 16 /* strdup function called */ #define DMALLOC_FUNC_FREE 17 /* free function called */ #define DMALLOC_FUNC_CFREE 18 /* cfree function called */ /* * For use with dmalloc, a malloc debugging package. * Mimick Xt behaviour ... * NEVER call them directly! */ extern XtPointer _XbaeDebugMalloc(const char *f, int l, Cardinal size) { XtPointer r = NULL; if (size == 0) { size = 1; } #if DMALLOC_VERSION_MAJOR < 5 r = _malloc_leap(f, l, size); #else r = dmalloc_malloc(f, l, size, DMALLOC_FUNC_MALLOC, 0, 0); #endif if (r == NULL) { XbaeAllocError("malloc"); } return r; } extern XtPointer _XbaeDebugCalloc(const char *f, int l, Cardinal count, Cardinal size) { XtPointer r = NULL; if (size == 0 || count == 0) { count = size = 1; } #if DMALLOC_VERSION_MAJOR < 5 r = _calloc_leap(f, l, count, size); #else r = dmalloc_malloc(f, l, count * size, DMALLOC_FUNC_CALLOC, 0, 0); #endif if (r == NULL) { XbaeAllocError("calloc"); } return r; } extern XtPointer _XbaeDebugRealloc(const char *f, int l, XtPointer p, Cardinal size) { XtPointer r = NULL; if (p == NULL) { if (size == 0) { size = 1; } #if DMALLOC_VERSION_MAJOR < 5 r = _malloc_leap(f, l, size); #else r = dmalloc_malloc(f, l, size, DMALLOC_FUNC_REALLOC, 0, 0); #endif } else if (size == 0) { #if DMALLOC_VERSION_MAJOR < 5 _free_leap(f, l, p); #else dmalloc_free(f, l, p, DMALLOC_FUNC_FREE); #endif return NULL; } else { #if DMALLOC_VERSION_MAJOR < 5 r = _realloc_leap(f, l, p, size); #else r = dmalloc_realloc(f, l, p, size, DMALLOC_FUNC_REALLOC, 0); #endif } if (r == NULL) { XbaeAllocError("realloc"); } return r; } extern void _XbaeDebugFree(const char *f, int l, XtPointer p) { if (p) { #if DMALLOC_VERSION_MAJOR < 5 _free_leap(f, l, p); #else dmalloc_free(f, l, p, DMALLOC_FUNC_FREE); #endif } } #define DO_XT_ENTRY_POINTS 1 #if DO_XT_ENTRY_POINTS /* * Provide malloc library replacements for X Window System heap routines * XtCalloc * XtFree * XtMalloc * XtRealloc * so that we can get accurate caller data. * * David Hill */ #if 0 #include "/home/danny/src/dmalloc/dmalloc-5.0.2/return.h" #endif #ifndef GET_RET_ADDR #define GET_RET_ADDR(file) do { file = "unknown";} while (0) #endif #ifdef XtMalloc #undef XtMalloc #endif char *XtMalloc(unsigned size) { char *file; GET_RET_ADDR(file); return _XbaeDebugMalloc(file, DMALLOC_DEFAULT_LINE, size); } #ifdef XtCalloc #undef XtCalloc #endif char *XtCalloc(unsigned num_elements, unsigned size) { char *file; GET_RET_ADDR(file); return _XbaeDebugCalloc(file, DMALLOC_DEFAULT_LINE, num_elements, size); } #ifdef XtRealloc #undef XtRealloc #endif char *XtRealloc(char *ptr, unsigned size) { char *file; GET_RET_ADDR(file); return _XbaeDebugRealloc(file, DMALLOC_DEFAULT_LINE, ptr, size); } #ifdef XtFree #undef XtFree #endif void XtFree(char *ptr) { char *file; GET_RET_ADDR(file); _XbaeDebugFree(file, DMALLOC_DEFAULT_LINE, ptr); } #endif /* DO_XT_ENTRY_POINTS */ #else static void XbaeAllocError(const char *name) { fprintf(stderr,"Xbae Error: Xbae was not compiled with memory allocation" "debugging but %s was called. Your linking is broken\n", name); exit(1); } extern XtPointer _XbaeDebugMalloc(const char *f, int l, Cardinal size) { XbaeAllocError("_XbaeDebugMalloc"); return NULL; } extern XtPointer _XbaeDebugCalloc(const char *f, int l, Cardinal count, Cardinal size) { XbaeAllocError("_XbaeDebugCalloc"); return NULL; } extern XtPointer _XbaeDebugRealloc(const char *f, int l, XtPointer p, Cardinal size) { XbaeAllocError("_XbaeDebugRealloc"); return NULL; } extern void _XbaeDebugFree(const char *f, int l, XtPointer p) { XbaeAllocError("_XbaeDebugFree"); } #endif /* WITH_DMALLOC */ xbae-4.60.4/src/Public.c0000644000076400007640000025626310433373176011653 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Public.c,v 1.97 2006/05/16 19:59:53 tobiasoed Exp $ */ /* * Public.c created by Andrew Lister (7 August, 1995) */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define XBAE_CHECK_CLASS(w) xbaeCheckClass(w, __FUNCTION__) #define XBAE_CHECK_ROW(w, row) xbaeCheckRow(w, row, __FUNCTION__) #define XBAE_CHECK_COLUMN(w, column) xbaeCheckColumn(w, column, __FUNCTION__) /**********************************************************************************************/ Widget XbaeCreateMatrix(Widget parent, String name, ArgList args, Cardinal ac) { return XtCreateWidget(name, xbaeMatrixWidgetClass, parent, args, ac); } /**********************************************************************************************/ /* * The following 2 functions are here to provide information about the * version of this library - since we may often build it as a shared/dynamic * library it's important to have this builtin */ const char *XbaeGetVersionTxt(void) { return XbaeVersionTxt; } int XbaeGetVersionNum(void) { return XbaeVersion; } /* * The following 2 functions contain/return info about the * M*tif/LessTif version this library was built with. * Building against one toolkit and linking on runtime against * another is likely to fail! */ const char *XbaeGetXmVersionTxt(void) { return XmVERSION_STRING; } int XbaeGetXmVersionNum(void) { return XmVersion; } /**********************************************************************************************/ static XbaeMatrixWidget xbaeCheckClass(Widget w, const char *fcn) { XbaeMatrixWidget mw = NULL; if (XtIsSubclass(w, xbaeMatrixWidgetClass)) { mw = (XbaeMatrixWidget) w; } else { char *msg1 = "XbaeMatrix: Not a matrixwidget in "; char *msg2 = XtMalloc(strlen(msg1) + strlen(fcn) + 1); strcpy(msg2, msg1); strcat(msg2, fcn); XtAppWarningMsg(XtWidgetToApplicationContext(w), fcn, "badWidget", "XbaeMatrix", msg2, NULL, 0); } return mw; } static Boolean xbaeCheckRow(XbaeMatrixWidget mw, int row, const char *fcn) { if (row < 0 || row >= mw->matrix.rows) { char *msg1 = "XbaeMatrix: Row out of bounds in "; char *msg2 = XtMalloc(strlen(msg1) + strlen(fcn) + 1); strcpy(msg2, msg1); strcat(msg2, fcn); XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), fcn, "badIndex", "XbaeMatrix", msg2, NULL, 0); return False; } return True; } static Boolean xbaeCheckColumn(XbaeMatrixWidget mw, int column, const char *fcn) { if (column < 0 || column >= mw->matrix.columns) { char *msg1 = "XbaeMatrix: Column out of bounds in "; char *msg2 = XtMalloc(strlen(msg1) + strlen(fcn) + 1); strcpy(msg2, msg1); strcat(msg2, fcn); XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), fcn, "badIndex", "XbaeMatrix", msg2, NULL, 0); return False; } return True; } /**********************************************************************************************/ /* * Public interface to set_cell method */ void XbaeMatrixSetCell(Widget w, int row, int column, const String value) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the set_cell method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.set_cell((XbaeMatrixWidget) w, row, column, value, True); xbaeObjectUnlock(w); } /* * Public interface to edit_cell method */ void XbaeMatrixEditCell(Widget w, int row, int column) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the edit_cell method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.edit_cell((XbaeMatrixWidget) w, NULL, row, column, NULL, 0); xbaeObjectUnlock(w); } /* * Public interface to get_cell method */ String XbaeMatrixGetCell(Widget w, int row, int column) { String s; xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the get_cell method */ s = ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.get_cell((XbaeMatrixWidget) w, row, column); xbaeObjectUnlock(w); return s; } /* * Public interface to commit_edit method */ Boolean XbaeMatrixCommitEdit(Widget w, Boolean unmap) { Boolean b; xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the commit_edit method */ b = ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.commit_edit((XbaeMatrixWidget) w, NULL, unmap); xbaeObjectUnlock(w); return b; } /* * Public interface to cancel_edit method */ void XbaeMatrixCancelEdit(Widget w, Boolean unmap) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the cancel_edit method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.cancel_edit((XbaeMatrixWidget) w, unmap); xbaeObjectUnlock(w); } /* * Public interface to set_show_column_arrows method */ void XbaeMatrixShowColumnArrows(Widget w, int column, Boolean show) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the select_row method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.set_show_column_arrows( (XbaeMatrixWidget) w, column, show); xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Public interface to add_rows method * ONLY use this method for rows with same heights */ void XbaeMatrixAddRows(Widget w, int position, String * rows, String * labels, Pixel * colors, int num_rows) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the add_rows method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.add_rows((XbaeMatrixWidget) w, position, rows, labels, colors, NULL, num_rows); xbaeObjectUnlock(w); } /* * Public interface to add_rows method * This method should be used to support flexible height rows. */ void XbaeMatrixAddVarRows(Widget w, int position, String * rows, String * labels, short *heights, int *max_heights, unsigned char *alignments, unsigned char *label_alignments, Pixel * colors, int num_rows) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the add_rows method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.add_var_rows((XbaeMatrixWidget) w, position, rows, labels, heights, max_heights, alignments, label_alignments, colors, NULL, num_rows); xbaeObjectUnlock(w); } /* * Public interface to delete_rows method */ void XbaeMatrixDeleteRows(Widget w, int position, int num_rows) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the delete_rows method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.delete_rows((XbaeMatrixWidget) w, position, num_rows); xbaeObjectUnlock(w); } /* * Public interface to add_columns method */ void XbaeMatrixAddColumns(Widget w, int position, String * columns, String * labels, short *widths, int *max_lengths, unsigned char *alignments, unsigned char *label_alignments, Pixel * colors, int num_columns) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the add_columns method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.add_columns((XbaeMatrixWidget) w, position, columns, labels, widths, max_lengths, alignments, label_alignments, colors, NULL, num_columns); xbaeObjectUnlock(w); } /* * Public interface to delete_columns method */ void XbaeMatrixDeleteColumns(Widget w, int position, int num_columns) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the delete_columns method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.delete_columns((XbaeMatrixWidget) w, position, num_columns); xbaeObjectUnlock(w); } /**********************************************************************************************/ Pixel XbaeMatrixGetCellColor(Widget w, int row, int column) { XbaeMatrixWidget mw; XbaeMatrixCellValuesStruct cell_values; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return 0; } xbaeGetCellValues(mw, row, column, False, &cell_values); if ((cell_values.drawCB.type & XbaeStringFree) == XbaeStringFree) { XtFree((XtPointer) cell_values.drawCB.string); } xbaeObjectUnlock(w); return cell_values.drawCB.foreground; } Pixel XbaeMatrixGetCellBackground(Widget w, int row, int column) { XbaeMatrixWidget mw; XbaeMatrixCellValuesStruct cell_values; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return 0; } xbaeGetCellValues(mw, row, column, False, &cell_values); if ((cell_values.drawCB.type & XbaeStringFree) == XbaeStringFree) { XtFree((XtPointer) cell_values.drawCB.string); } xbaeObjectUnlock(w); return cell_values.drawCB.background; } /* * Public interface to set_cell_color method */ void XbaeMatrixSetCellColor(Widget w, int row, int column, Pixel color) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the set_cell_color method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.set_cell_color((XbaeMatrixWidget) w, row, column, color, False); xbaeObjectUnlock(w); } /* * Public interface to set_cell_color method */ void XbaeMatrixSetCellBackground(Widget w, int row, int column, Pixel color) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the set_cell_color method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.set_cell_color((XbaeMatrixWidget) w, row, column, color, True); xbaeObjectUnlock(w); } /* * Public interface to set_row_colors method */ void XbaeMatrixSetRowColors(Widget w, int position, Pixel * colors, int num_colors) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the set_row_colors method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.set_row_colors((XbaeMatrixWidget) w, position, colors, num_colors, False); xbaeObjectUnlock(w); } /* * Public interface to set_row_colors method */ void XbaeMatrixSetRowBackgrounds(Widget w, int position, Pixel * colors, int num_colors) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the set_row_colors method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.set_row_colors((XbaeMatrixWidget) w, position, colors, num_colors, True); xbaeObjectUnlock(w); } /* * Public interface to set_column_colors method */ void XbaeMatrixSetColumnColors(Widget w, int position, Pixel * colors, int num_colors) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the set_column_colors method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.set_column_colors((XbaeMatrixWidget) w, position, colors, num_colors, False); xbaeObjectUnlock(w); } /* * Public interface to set_column_colors method */ void XbaeMatrixSetColumnBackgrounds(Widget w, int position, Pixel * colors, int num_colors) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the set_column_colors method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.set_column_colors((XbaeMatrixWidget) w, position, colors, num_colors, True); xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Public interface to select_cell method */ void XbaeMatrixSelectCell(Widget w, int row, int column) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the select_cell method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.select_cell((XbaeMatrixWidget) w, row, column); xbaeObjectUnlock(w); } /* * Public interface to select_row method */ void XbaeMatrixSelectRow(Widget w, int row) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the select_row method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.select_row((XbaeMatrixWidget) w, row); xbaeObjectUnlock(w); } /* * Public interface to select_column method */ void XbaeMatrixSelectColumn(Widget w, int column) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the select_column method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.select_column((XbaeMatrixWidget) w, column); xbaeObjectUnlock(w); } /* * Public interface to select_all method */ void XbaeMatrixSelectAll(Widget w) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the deselect_all method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.select_all((XbaeMatrixWidget) w); xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Public interface to deselect_cell method */ void XbaeMatrixDeselectCell(Widget w, int row, int column) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the deselect_cell method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.deselect_cell((XbaeMatrixWidget) w, row, column); xbaeObjectUnlock(w); } /* * Public interface to deselect_row method */ void XbaeMatrixDeselectRow(Widget w, int row) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the deselect_row method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.deselect_row((XbaeMatrixWidget) w, row); xbaeObjectUnlock(w); } /* * Public interface to deselect_column method */ void XbaeMatrixDeselectColumn(Widget w, int column) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the deselect_column method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.deselect_column((XbaeMatrixWidget) w, column); xbaeObjectUnlock(w); } /* * Public interface to deselect_all method */ void XbaeMatrixDeselectAll(Widget w) { xbaeObjectLock(w); /* * Make sure w is a Matrix or a subclass */ XtCheckSubclass(w, xbaeMatrixWidgetClass, NULL); /* * Call the deselect_all method */ ((XbaeMatrixWidgetClass) XtClass(w))->matrix_class.deselect_all((XbaeMatrixWidget) w); xbaeObjectUnlock(w); } /**********************************************************************************************/ void XbaeMatrixUnderlineCell(Widget w, int row, int column) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } /* If no cells have been underlined or deunderlined yet, allocate memory */ if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * If the cell is not already underlined, underline it and redraw it */ if (!mw->matrix.per_cell[row][column].underlined) { mw->matrix.per_cell[row][column].underlined = True; if (xbaeIsCellVisible(mw, row, column)) { xbaeDrawCell(mw, row, column); } } xbaeObjectUnlock(w); } void XbaeMatrixUnderlineRow(Widget w, int row) { int j, lc, rc; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } /* If no cells have been underlined or deunderlined yet, allocate memory */ if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * If the row is not visible, there's no need to redraw - but, we do * need to update the underlined cell resource */ if (!xbaeIsRowVisible(mw, row)) { for (j = 0; j < mw->matrix.columns; j++) { mw->matrix.per_cell[row][j].underlined = True; } } else { /* * For each cell in the row, if the cell is not already underlined, * underline it and redraw it */ xbaeGetVisibleColumns(mw, &lc, &rc); for (j = 0; j < mw->matrix.columns; j++) { if (!mw->matrix.per_cell[row][j].underlined) { mw->matrix.per_cell[row][j].underlined = True; if ((j >= lc && j <= rc) || IS_FIXED_COLUMN(mw, j)) { xbaeDrawCell(mw, row, j); } } } } xbaeObjectUnlock(w); } void XbaeMatrixUnderlineColumn(Widget w, int column) { int i, tr, br; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } /* If no cells have been underlined or deunderlined yet, allocate memory */ if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * No need to redraw unless the column is visible */ if (!xbaeIsColumnVisible(mw, column)) { for (i = 0; i < mw->matrix.rows; i++) { mw->matrix.per_cell[i][column].underlined = True; } } else { /* * For each cell in the column, if the cell is not already underlined, * underline it and redraw it */ xbaeGetVisibleRows(mw, &tr, &br); for (i = 0; i < mw->matrix.rows; i++) { if (!mw->matrix.per_cell[i][column].underlined) { mw->matrix.per_cell[i][column].underlined = True; if ((i >= tr && i <= br) || IS_FIXED_ROW(mw, i)) { xbaeDrawCell(mw, i, column); } } } } xbaeObjectUnlock(w); } /**********************************************************************************************/ void XbaeMatrixDeunderlineCell(Widget w, int row, int column) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (mw->matrix.per_cell) { xbaeObjectUnlock(w); return; } /* * If the cell is already underlined, deunderline it and redraw it */ if (mw->matrix.per_cell[row][column].underlined) { mw->matrix.per_cell[row][column].underlined = False; if (xbaeIsCellVisible(mw, row, column)) { xbaeDrawCell(mw, row, column); } } xbaeObjectUnlock(w); } void XbaeMatrixDeunderlineRow(Widget w, int row) { int j, lc, rc; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } if (mw->matrix.per_cell) { xbaeObjectUnlock(w); return; } /* * If the row is not visible, there's no need to redraw - but, we do * need to update the underlined cell resource */ if (!xbaeIsRowVisible(mw, row)) { for (j = 0; j < mw->matrix.columns; j++) { mw->matrix.per_cell[row][j].underlined = False; } } else { /* * For each cell in the row, if the cell is not already underlined, * underline it and redraw it */ xbaeGetVisibleColumns(mw, &lc, &rc); for (j = 0; j < mw->matrix.columns; j++) { if (mw->matrix.per_cell[row][j].underlined) { mw->matrix.per_cell[row][j].underlined = False; if ((j >= lc && j <= rc) || IS_FIXED_COLUMN(mw, j)) { xbaeDrawCell(mw, row, j); } } } } xbaeObjectUnlock(w); } void XbaeMatrixDeunderlineColumn(Widget w, int column) { int i, tr, br; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (mw->matrix.per_cell) { xbaeObjectUnlock(w); return; } /* * No need to redraw unless the column is visible */ if (!xbaeIsColumnVisible(mw, column)) { for (i = 0; i < mw->matrix.rows; i++) { mw->matrix.per_cell[i][column].underlined = False; } } else { /* * For each cell in the column, if the cell is already underlined, * deunderline it and redraw it */ xbaeGetVisibleRows(mw, &tr, &br); for (i = 0; i < mw->matrix.rows; i++) { if (mw->matrix.per_cell[i][column].underlined) { mw->matrix.per_cell[i][column].underlined = False; if ((i >= tr && i <= br) || IS_FIXED_ROW(mw, i)) { xbaeDrawCell(mw, i, column); } } } } xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Help the user know what row & column he is in given an x & y (via an event). * Return the clip region on success, 0 on failure. */ int XbaeMatrixGetEventRowColumn(Widget w, XEvent * event, int *row, int *column) { int x, y, clip_region; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return 0; } clip_region = xbaeEventToRowColumn(w, event, row, column, &x, &y); xbaeObjectUnlock(w); return clip_region; } /* * Public interface for xbaeEventToXY() */ Boolean XbaeMatrixEventToXY(Widget w, XEvent * event, int *x, int *y) { int row, column; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return False; } if (xbaeEventToRowColumn(w, event, &row, &column, x, y)) { *x += xbaeColumnToMatrixX(mw, column); *y += xbaeRowToMatrixY(mw, row); } /* Tobias: FIXME: Using xbaeEventToMatrixXY instead of the old xbaeEventToXY * changes this functions semantics and may break 3rd party code. * I'm not sure if it's worth fixing as the old semantics are unusable (cell isn't returned) */ xbaeObjectUnlock(w); return True; } /* * Public interface for xbaeRowColToXY(). From Philip Aston * (philipa@parallax.co.uk) */ Boolean XbaeMatrixRowColToXY(Widget w, int row, int column, int *x, int *y) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return False; } xbaeRowColToClipXY(mw, row, column, x, y); xbaeObjectUnlock(w); return True; } /**********************************************************************************************/ /* * Help the programmer to know what row & column we are currently at. */ void XbaeMatrixGetCurrentCell(Widget w, int *row, int *column) { XbaeMatrixWidget mw; int current_row, current_column; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); /* * Make sure we return something valid. * At least Grace depends on it... */ if (current_row >= 0 && current_row < mw->matrix.rows) { *row = current_row; } else { *row = xbaeTopRow(mw); } if (current_column >= 0 && current_column < mw->matrix.columns) { *column = current_column; } else { *column = xbaeLeftColumn(mw); } xbaeObjectUnlock(w); } /* * Set current cell */ void XbaeMatrixSetCurrentCellPosition(Widget w, int row, int column) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } XtVaSetValues(TextField(mw), XmNattachRow, row, XmNattachColumn, column, NULL); xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Allow the programmer to call the Expose method directly. This should only * be needed in drawcellCB mode. */ void XbaeMatrixRefresh(Widget w) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } if (!mw->matrix.disable_redisplay && XtIsRealized(w)) { xbaeRefresh(mw, True); if (mw->matrix.text_field_is_mapped) { xbaeUpdateTextField(mw, True); } } xbaeObjectUnlock(w); } /* * Public interface for redrawing one cell */ void XbaeMatrixRefreshCell(Widget w, int row, int column) { XbaeMatrixWidget mw; int current_row, current_column; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (xbaeIsCellVisible(mw, row, column)) { xbaeDrawCell(mw, row, column); } XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); if(mw->matrix.text_field_is_mapped && row == current_row && column == current_column) { xbaeUpdateTextField(mw, True); } xbaeObjectUnlock(w); } /* * Redraw an entire column */ void XbaeMatrixRefreshColumn(Widget w, int column) { int row, tr, br; XbaeMatrixWidget mw; int current_column; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } /* we attempt to be mildly efficient about this */ if (xbaeIsColumnVisible(mw, column)) { xbaeGetVisibleRows(mw, &tr, &br); for (row = 0; row < mw->matrix.rows; row++) { if ((row >= tr && row <= br) || IS_FIXED_ROW(mw, row)) { xbaeDrawCell(mw, row, column); } } } XtVaGetValues(TextField(mw), XmNattachColumn, ¤t_column, NULL); if(mw->matrix.text_field_is_mapped && column == current_column) { xbaeUpdateTextField(mw, True); } xbaeObjectUnlock(w); } /* * Redraw an entire row */ void XbaeMatrixRefreshRow(Widget w, int row) { int column, lc, rc; XbaeMatrixWidget mw; int current_row; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } /* we attempt to be mildly efficient about this */ if (xbaeIsRowVisible(mw, row)) { xbaeGetVisibleColumns(mw, &lc, &rc); for (column = 0; column < mw->matrix.columns; column++) { if ((column >= lc && column <= rc) || IS_FIXED_COLUMN(mw, column)) { xbaeDrawCell(mw, row, column); } } } XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, NULL); if(mw->matrix.text_field_is_mapped && row == current_row) { xbaeUpdateTextField(mw, True); } xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Get per-cell user data */ XtPointer XbaeMatrixGetCellUserData(Widget w, int row, int column) { XtPointer data; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return NULL; } if (mw->matrix.per_cell) { data = mw->matrix.per_cell[row][column].user_data; } else { data = NULL; } xbaeObjectUnlock(w); return data; } /* * Set per-cell user data */ void XbaeMatrixSetCellUserData(Widget w, int row, int column, XtPointer data) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); mw->matrix.per_cell[row][column].user_data = data; xbaeObjectUnlock(w); } /* * Get per-row user data */ XtPointer XbaeMatrixGetRowUserData(Widget w, int row) { XtPointer data; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return NULL; } if (mw->matrix.row_user_data) data = mw->matrix.row_user_data[row]; else { data = NULL; } xbaeObjectUnlock(w); return data; } /* * Set per-row user data */ void XbaeMatrixSetRowUserData(Widget w, int row, XtPointer data) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.row_user_data) { mw->matrix.row_user_data = (XtPointer *) XtCalloc(mw->matrix.rows, sizeof(XtPointer)); } mw->matrix.row_user_data[row] = data; xbaeObjectUnlock(w); } /* * Get per-column user data */ XtPointer XbaeMatrixGetColumnUserData(Widget w, int column) { XtPointer data; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return NULL; } if (mw->matrix.column_user_data) data = mw->matrix.column_user_data[column]; else { data = NULL; } xbaeObjectUnlock(w); return data; } /* * Set per-column user data */ void XbaeMatrixSetColumnUserData(Widget w, int column, XtPointer data) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.column_user_data) { mw->matrix.column_user_data = (XtPointer *) XtCalloc(mw->matrix.columns, sizeof(XtPointer)); } mw->matrix.column_user_data[column] = data; xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * ARCAD SYSTEMHAUS */ int XbaeMatrixGetCellPixmap(Widget w, int row, int column, Pixmap * pixmap, Pixmap * mask) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return -1; } if (mw->matrix.per_cell) { *pixmap = mw->matrix.per_cell[row][column].pixmap; *mask = mw->matrix.per_cell[row][column].mask; xbaeObjectUnlock(w); return 0; } xbaeObjectUnlock(w); return -1; } void XbaeMatrixSetCellPixmap(Widget w, int row, int column, Pixmap pixmap, Pixmap mask) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); mw->matrix.per_cell[row][column].pixmap = pixmap; mw->matrix.per_cell[row][column].mask = mask; if (xbaeIsCellVisible(mw, row, column)) xbaeDrawCell(mw, row, column); xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Set per-cell widget */ void XbaeMatrixSetCellWidget(Widget w, int row, int column, Widget widget) { XbaeMatrixWidget mw; Widget old; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (widget && XmIsGadget(widget)) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "SetCellWidget", "child is a gadget", "XbaeMatrix", "XbaeMatrix: the child is a gadget - currently unsupported", NULL, 0); xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) { xbaeCreatePerCell(mw); } old = mw->matrix.per_cell[row][column].widget; if (old != widget) { mw->matrix.per_cell[row][column].widget = widget; xbaeSetInitialFocus(mw); /* * If the matrix is not yet realized we don't have to move windows arround */ if (XtIsRealized((Widget) mw)) { /* * Obscure the (former) cell widget */ if (old) { xbaeHideCellWidget(mw, old); } /* * If we're just removing a cell widget, we're done */ if (widget) { /* * If the TextField happens to be in this cell, hide it */ int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); if ( mw->matrix.text_field_is_mapped && row == current_row && column == current_column) { xbaeHideTextField(mw); } /* * Make sure the widget is realized before trying to set it's position */ if(!XtIsRealized(widget)) XtRealizeWidget(widget); xbaePositionCellWidget(mw, row, column); } } } xbaeObjectUnlock(w); } Widget XbaeMatrixGetCellWidget(Widget w, int row, int column) { Widget r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return NULL; } if (mw->matrix.per_cell) { r = mw->matrix.per_cell[row][column].widget; } else { r = NULL; } xbaeObjectUnlock(w); return r; } /**********************************************************************************************/ void XbaeMatrixSetCellTag(Widget w, int row, int column, XmStringTag tag) { XrmQuark qtag; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) { xbaeCreatePerCell(mw); } /* * Quarkify the tag and set the cells qtag to it */ if (tag) { qtag = XrmStringToQuark(tag); } else { qtag = NULLQUARK; } if (mw->matrix.per_cell[row][column].qtag != qtag) { int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); mw->matrix.per_cell[row][column].qtag = qtag; if (xbaeIsCellVisible(mw, row, column)) { xbaeDrawCell(mw, row, column); } if ( mw->matrix.text_field_is_mapped && row == current_row && column == current_column) { /* * Update the font the TextField uses */ xbaeUpdateTextFieldFont(mw, qtag); /* * we need to reset the size of the TextField as the above has adverse effects */ xbaePositionTextField(mw); } } xbaeObjectUnlock(w); } XmStringTag XbaeMatrixGetCellTag(Widget w, int row, int column) { XmStringTag tag; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return NULL; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return NULL; } tag = XrmQuarkToString(mw->matrix.per_cell[row][column].qtag); xbaeObjectUnlock(w); return tag; } /**********************************************************************************************/ Boolean XbaeMatrixIsCellSelected(Widget w, int row, int column) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return False; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return False; } if (!mw->matrix.per_cell[row][column].selected) { xbaeObjectUnlock(w); return False; } xbaeObjectUnlock(w); return True; } Boolean XbaeMatrixIsRowSelected(Widget w, int row) { int col; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return False; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return False; } /* * Check all the cells in the row */ for (col = 0; col < mw->matrix.columns; col++) { if (!mw->matrix.per_cell[row][col].selected) { xbaeObjectUnlock(w); return False; } } xbaeObjectUnlock(w); return True; } Boolean XbaeMatrixIsColumnSelected(Widget w, int column) { int row; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return False; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return False; } /* * Check all the cells in the row */ for (row = 0; row < mw->matrix.rows; row++) { if (!mw->matrix.per_cell[row][column].selected) { xbaeObjectUnlock(w); return False; } } xbaeObjectUnlock(w); return True; } int XbaeMatrixFirstSelectedRow(Widget w) { int i; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return -1; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return -1; } /* * Linear search for first selected */ for (i = 0; i < mw->matrix.rows; i++){ if (XbaeMatrixIsRowSelected(w, i)) { xbaeObjectUnlock(w); return i; } } xbaeObjectUnlock(w); return -1; } int XbaeMatrixFirstSelectedColumn(Widget w) { int i; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return -1; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return -1; } /* * Linear search for first selected */ for (i = 0; i < mw->matrix.columns; i++){ if (XbaeMatrixIsColumnSelected(w, i)) { xbaeObjectUnlock(w); return i; } } xbaeObjectUnlock(w); return -1; } void XbaeMatrixFirstSelectedCell(Widget w, int *row, int *column) { int i, j; XbaeMatrixWidget mw; *row = -1; *column = -1; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return; } for (i = 0; i < mw->matrix.rows; i++){ for (j = 0; j < mw->matrix.columns; j++){ if (mw->matrix.per_cell[i][j].selected) { *row = i; *column = j; xbaeObjectUnlock(w); return; } } } xbaeObjectUnlock(w); } int XbaeMatrixGetNumSelected(Widget w) { int i; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return 0; } i = mw->matrix.num_selected_cells; xbaeObjectUnlock(w); return i; } int XbaeMatrixNumColumns(Widget w) { int i; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return 0; } i = mw->matrix.columns; xbaeObjectUnlock(w); return i; } int XbaeMatrixNumRows(Widget w) { int i; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return 0; } i = mw->matrix.rows; xbaeObjectUnlock(w); return i; } /**********************************************************************************************/ void XbaeMatrixSetCellShadow(Widget w, int row, int column, unsigned char shadow_type) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * Change the shadow and redraw the cell */ if (mw->matrix.per_cell[row][column].shadow_type != shadow_type) { mw->matrix.per_cell[row][column].shadow_type = shadow_type; if (xbaeIsCellVisible(mw, row, column)) { xbaeDrawCell(mw, row, column); } } xbaeObjectUnlock(w); } void XbaeMatrixSetRowShadow(Widget w, int row, unsigned char shadow_type) { XbaeMatrixWidget mw; int r; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.row_shadow_types) { mw->matrix.row_shadow_types = (unsigned char *) XtMalloc(mw->matrix.rows * sizeof *mw->matrix.row_shadow_types); for(r = 0; r < mw->matrix.rows; r++) { mw->matrix.row_shadow_types[r] = 0; } } if (mw->matrix.row_shadow_types[row] != shadow_type) { mw->matrix.row_shadow_types[row] = shadow_type; if (IN_GRID_ROW_MODE(mw) && xbaeIsRowVisible(mw, row)) { XbaeMatrixRefreshRow((Widget) mw, row); } } xbaeObjectUnlock(w); } void XbaeMatrixSetColumnShadow(Widget w, int column, unsigned char shadow_type) { XbaeMatrixWidget mw; int c; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.column_shadow_types) { mw->matrix.column_shadow_types = (unsigned char *) XtMalloc(mw->matrix.columns * sizeof *mw->matrix.column_shadow_types); for(c = 0; c < mw->matrix.rows; c++) { mw->matrix.column_shadow_types[c] = 0; } } if (mw->matrix.column_shadow_types[column] != shadow_type) { mw->matrix.column_shadow_types[column] = shadow_type; if (IN_GRID_COLUMN_MODE(mw) && xbaeIsColumnVisible(mw, column)) { XbaeMatrixRefreshColumn((Widget) mw, column); } } xbaeObjectUnlock(w); } /**********************************************************************************************/ void XbaeMatrixUnhighlightAll(Widget w) { int row, column; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return; } for (row = 0; row < mw->matrix.rows; row++) { for (column = 0; column < mw->matrix.columns; column++) { /* * If the cell is visible and highlighted */ if (mw->matrix.per_cell[row][column].highlighted) { unsigned char new_hl = HighlightNone; if (xbaeIsCellVisible(mw, row, column)) xbaeChangeHighlight(mw, row, column, new_hl); mw->matrix.per_cell[row][column].highlighted = new_hl; } } } xbaeObjectUnlock(w); } void XbaeMatrixHighlightCell(Widget w, int row, int column) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } /* * Scroll the cell onto the screen */ if (mw->matrix.scroll_select) xbaeMakeCellVisible(mw, row, column); if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * If the cell is not already highlighted */ if (!(mw->matrix.per_cell[row][column].highlighted & HighlightCell)) { unsigned char new_hl = mw->matrix.per_cell[row][column].highlighted | HighlightCell; if (xbaeIsCellVisible(mw, row, column)) xbaeChangeHighlight(mw, row, column, new_hl); mw->matrix.per_cell[row][column].highlighted = new_hl; } xbaeObjectUnlock(w); } void XbaeMatrixUnhighlightCell(Widget w, int row, int column) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return; } if (mw->matrix.per_cell[row][column].highlighted & HighlightCell) { unsigned char new_hl = mw->matrix.per_cell[row][column].highlighted & ~HighlightCell; if (xbaeIsCellVisible(mw, row, column)) xbaeChangeHighlight(mw, row, column, new_hl); mw->matrix.per_cell[row][column].highlighted = new_hl; } xbaeObjectUnlock(w); } void XbaeMatrixHighlightRow(Widget w, int row) { int column; Boolean visible; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * Scroll the row onto the screen */ if (mw->matrix.scroll_select) xbaeMakeRowVisible(mw, row); /* * For each cell in the row, if the cell is not already highlighted, * highlight it and redraw it if it is visible */ visible = xbaeIsRowVisible(mw, row); for (column = 0; column < mw->matrix.columns; column++) { if (!(mw->matrix.per_cell[row][column].highlighted & HighlightRow)) { unsigned char new_hl = mw->matrix.per_cell[row][column].highlighted | HighlightRow; if (visible && xbaeIsColumnVisible(mw, column)) xbaeChangeHighlight(mw, row, column, new_hl); mw->matrix.per_cell[row][column].highlighted = new_hl; } } xbaeObjectUnlock(w); } void XbaeMatrixUnhighlightRow(Widget w, int row) { int column; Boolean visible; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return; } visible = xbaeIsRowVisible(mw, row); /* * For each cell in the row, if the cell is highlighted, * unhighlight it and redraw it if it is visible */ for (column = 0; column < mw->matrix.columns; column++) { if (mw->matrix.per_cell[row][column].highlighted & HighlightRow) { unsigned char new_hl = mw->matrix.per_cell[row][column].highlighted & ~HighlightRow; if (visible && xbaeIsColumnVisible(mw, column)) xbaeChangeHighlight(mw, row, column, new_hl); mw->matrix.per_cell[row][column].highlighted = new_hl; } } xbaeObjectUnlock(w); } void XbaeMatrixHighlightColumn(Widget w, int column) { int row; Boolean visible; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * Scroll the row onto the screen */ if (mw->matrix.scroll_select) xbaeMakeColumnVisible(mw, column); /* * For each cell in the column, if the cell is not already highlighted, * highlight it and redraw it if it is visible */ visible = xbaeIsColumnVisible(mw, column); for (row = 0; row < mw->matrix.rows; row++) { if (!(mw->matrix.per_cell[row][column].highlighted & HighlightColumn)) { unsigned char new_hl = mw->matrix.per_cell[row][column].highlighted | HighlightColumn; if (visible && xbaeIsRowVisible(mw, row)) xbaeChangeHighlight(mw, row, column, new_hl); mw->matrix.per_cell[row][column].highlighted = new_hl; } } xbaeObjectUnlock(w); } void XbaeMatrixUnhighlightColumn(Widget w, int column) { int row; Boolean visible; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (!mw->matrix.per_cell) { xbaeObjectUnlock(w); return; } visible = xbaeIsColumnVisible(mw, column); /* * For each cell in the row, if the cell is highlighted, * unhighlight it and redraw it if it is visible. */ for (row = 0; row < mw->matrix.rows; row++) { if (mw->matrix.per_cell[row][column].highlighted & HighlightColumn) { unsigned char new_hl = mw->matrix.per_cell[row][column].highlighted & ~HighlightColumn; if (visible && xbaeIsRowVisible(mw, row)) xbaeChangeHighlight(mw, row, column, new_hl); mw->matrix.per_cell[row][column].highlighted = new_hl; } } xbaeObjectUnlock(w); } /**********************************************************************************************/ void XbaeMatrixDisableRedisplay(Widget w) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } mw->matrix.disable_redisplay++; xbaeObjectUnlock(w); } void XbaeMatrixEnableRedisplay(Widget w, Boolean redisplay) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } if (mw->matrix.disable_redisplay) mw->matrix.disable_redisplay--; #undef FORCE_REDISPLAY_IF_TRUE #ifndef FORCE_REDISPLAY_IF_TRUE if (redisplay && mw->matrix.disable_redisplay == 0) XbaeMatrixRefresh(w); #else if (redisplay) { mw->matrix.disable_redisplay = 0; XbaeMatrixRefresh(w); } #endif xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Public interface for xbaeIsCellVisible() */ Boolean XbaeMatrixIsCellVisible(Widget w, int row, int column) { Boolean r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return False; } r = xbaeIsCellVisible(mw, row, column); xbaeObjectUnlock(w); return r; } /* * Public interface for xbaeIsRowVisible() */ Boolean XbaeMatrixIsRowVisible(Widget w, int row) { Boolean r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return False; } r = xbaeIsRowVisible(mw, row); xbaeObjectUnlock(w); return r; } /* * Public interface for xbaeIsColumnVisible() */ Boolean XbaeMatrixIsColumnVisible(Widget w, int column) { Boolean r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return False; } r = xbaeIsColumnVisible(mw, column); xbaeObjectUnlock(w); return r; } /* * This routine returns the number of rows that are visible in the matrix. */ int XbaeMatrixVisibleRows(Widget w) { int top_row; int bottom_row; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return 0; } xbaeGetVisibleRows(mw, &top_row, &bottom_row); xbaeObjectUnlock(w); return bottom_row - top_row + 1; } /* * This routine returns the number of columns that are visible in the matrix. */ int XbaeMatrixVisibleColumns(Widget w) { int left_column; int right_column; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return 0; } xbaeGetVisibleColumns(mw, &left_column, &right_column); xbaeObjectUnlock(w); return right_column - left_column + 1; } /* * This routine returns the range of cells that are visible in the matrix. */ void XbaeMatrixVisibleCells(Widget w, int *top_row, int *bottom_row, int *left_column, int *right_column) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } xbaeGetVisibleRows(mw, top_row, bottom_row); xbaeGetVisibleColumns(mw, left_column, right_column); xbaeObjectUnlock(w); } /* * Public interface for xbaeMakeCellVisible() */ void XbaeMatrixMakeCellVisible(Widget w, int row, int column) { XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row) || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } xbaeMakeCellVisible(mw, row, column); xbaeObjectUnlock(w); } /**********************************************************************************************/ /* * Get the label of the column passed here. */ String XbaeMatrixGetColumnLabel(Widget w, int column) { String r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return NULL; } if (!mw->matrix.column_labels) { r = NULL; } else { r = mw->matrix.column_labels[column]; } xbaeObjectUnlock(w); return r; } XmString XbaeMatrixGetXmColumnLabel(Widget w, int column) { XmString r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return NULL; } if (!mw->matrix.xmcolumn_labels) { r = NULL; } else { r = mw->matrix.xmcolumn_labels[column]; } xbaeObjectUnlock(w); return r; } /* * Get the label of the row passed here. */ String XbaeMatrixGetRowLabel(Widget w, int row) { String r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return NULL; } if (!mw->matrix.row_labels) { r = NULL; } else { r = mw->matrix.row_labels[row]; } xbaeObjectUnlock(w); return r; } XmString XbaeMatrixGetXmRowLabel(Widget w, int row) { XmString r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return NULL; } if (!mw->matrix.xmrow_labels) { r = NULL; } else { r = mw->matrix.xmrow_labels[row]; } xbaeObjectUnlock(w); return r; } void XbaeMatrixSetColumnLabel(Widget w, int column, String value) { XbaeMatrixWidget mw; int column_label_height; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } column_label_height = COLUMN_LABEL_HEIGHT(mw); if (!mw->matrix.column_labels) { /* * We have no labels so far. Create empty ones for all the columns. */ int c; mw->matrix.column_labels = (String *) XtMalloc(mw->matrix.columns * sizeof(String)); for (c = 0; c < mw->matrix.columns; c++) { mw->matrix.column_labels[c] = NULL; } } else if (mw->matrix.column_labels[column]) { /* * Free the memory that was used by the old label. */ XtFree((char *) mw->matrix.column_labels[column]); } /* * Copy the new value and update column_label_maxlines. */ mw->matrix.column_labels[column] = (value == NULL) ? NULL : XtNewString(value); mw->matrix.column_label_maxlines = xbaeCalculateLabelMaxLines(mw->matrix.column_labels, mw->matrix.xmcolumn_labels, mw->matrix.columns); /* * If COLUMN_LABEL_HEIGHT changed, redraw the whole matrix * else redraw only the label that was changed */ if (!mw->matrix.disable_redisplay && XtIsRealized(w)) { if (column_label_height != COLUMN_LABEL_HEIGHT(mw)) { xbaeRefresh(mw, True); } else if (xbaeIsColumnVisible(mw, column)) { xbaeDrawColumnLabel(mw, column, False); } } xbaeObjectUnlock(w); } void XbaeMatrixSetXmColumnLabel(Widget w, int column, XmString value) { XbaeMatrixWidget mw; int column_label_height; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } column_label_height = COLUMN_LABEL_HEIGHT(mw); if (!mw->matrix.xmcolumn_labels) { /* * We have no labels so far. Create empty ones for all the columns. */ int c; mw->matrix.xmcolumn_labels = (XmString *) XtMalloc(mw->matrix.columns * sizeof(XmString)); for (c = 0; c < mw->matrix.columns; c++) { mw->matrix.xmcolumn_labels[c] = NULL; } } else if (mw->matrix.column_labels[column]) { /* * Free the memory that was used by the old label. */ XmStringFree(mw->matrix.xmcolumn_labels[column]); } /* * Copy the new value and update column_label_maxlines. */ mw->matrix.xmcolumn_labels[column] = (value == NULL) ? NULL : XmStringCopy(value); mw->matrix.column_label_maxlines = xbaeCalculateLabelMaxLines(mw->matrix.column_labels, mw->matrix.xmcolumn_labels, mw->matrix.columns); /* * If COLUMN_LABEL_HEIGHT changed, redraw the whole matrix * else redraw only the label that was changed */ if (!mw->matrix.disable_redisplay && XtIsRealized(w)) { if (column_label_height != COLUMN_LABEL_HEIGHT(mw)) { xbaeRefresh(mw, True); } else if (xbaeIsColumnVisible(mw, column)) { xbaeDrawColumnLabel(mw, column, False); } } xbaeObjectUnlock(w); } void XbaeMatrixSetRowLabel(Widget w, int row, String value) { XbaeMatrixWidget mw; int row_label_width; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } row_label_width = ROW_LABEL_WIDTH(mw); if (!mw->matrix.row_labels) { /* * We have no labels so far. Create empty ones for all the rows. */ int r; mw->matrix.row_labels = (String *) XtMalloc(mw->matrix.rows * sizeof(String)); for (r = 0; r < mw->matrix.rows; r++) { mw->matrix.row_labels[r] = NULL; } } else if (mw->matrix.row_labels[row]) { /* * Free the memory that was used by the old label. */ XtFree((XtPointer) mw->matrix.row_labels[row]); } /* * Copy the new value and update row_label_maxlength. */ mw->matrix.row_labels[row] = (value == NULL) ? NULL : XtNewString(value); mw->matrix.row_label_maxlength = xbaeCalculateLabelMaxLength(mw, mw->matrix.row_labels, mw->matrix.xmrow_labels, mw->matrix.rows); /* * If ROW_LABEL_WIDTH changed, redraw the whole matrix * else redraw only the label that was changed */ if (!mw->matrix.disable_redisplay && XtIsRealized(w)) { if (row_label_width != ROW_LABEL_WIDTH(mw)) { xbaeRefresh(mw, True); } else if (xbaeIsRowVisible(mw, row)) { xbaeDrawRowLabel(mw, row, False); } } xbaeObjectUnlock(w); } void XbaeMatrixSetXmRowLabel(Widget w, int row, XmString value) { XbaeMatrixWidget mw; int row_label_width; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } row_label_width = ROW_LABEL_WIDTH(mw); if (!mw->matrix.xmrow_labels) { /* * We have no labels so far. Create empty ones for all the rows. */ int r; mw->matrix.xmrow_labels = (XmString *) XtMalloc(mw->matrix.rows * sizeof(XmString)); for (r = 0; r < mw->matrix.rows; r++) { mw->matrix.xmrow_labels[r] = NULL; } } else if (mw->matrix.xmrow_labels[row]) { /* * Free the memory that was used by the old label. */ XmStringFree(mw->matrix.xmrow_labels[row]); } /* * Copy the new value and update row_label_maxlength. */ mw->matrix.xmrow_labels[row] = (value == NULL) ? NULL : XmStringCopy(value); mw->matrix.row_label_maxlength = xbaeCalculateLabelMaxLength(mw, mw->matrix.row_labels, mw->matrix.xmrow_labels, mw->matrix.rows); /* * If ROW_LABEL_WIDTH changed, redraw the whole matrix * else redraw only the label that was changed */ if (!mw->matrix.disable_redisplay && XtIsRealized(w)) { if (row_label_width != ROW_LABEL_WIDTH(mw)) { xbaeRefresh(mw, True); } else if (xbaeIsRowVisible(mw, row)) { xbaeDrawRowLabel(mw, row, False); } } xbaeObjectUnlock(w); } /**********************************************************************************************/ void XbaeMatrixSetColumnWidth(Widget w, int column, int width) { XbaeMatrixWidget mw; int current_column; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return; } if (width < 0) { mw->matrix.column_widths[column] = DEFAULT_COLUMN_WIDTH(mw); } else { mw->matrix.column_widths[column] = width; } /* * Hide the TextField if the cell that was edited was hidden */ XtVaGetValues(TextField(mw), XmNattachColumn, ¤t_column, NULL); if (mw->matrix.column_widths[current_column] == 0) { XtVaSetValues(TextField(mw), XmNattachRow, -1, XmNattachColumn, -1, NULL); if (mw->matrix.text_field_is_mapped) { xbaeHideTextField(mw); } } xbaeGetColumnPositions(mw); if (!mw->matrix.disable_redisplay && XtIsRealized(w)) { xbaeRefresh(mw, True); } xbaeObjectUnlock(w); } int XbaeMatrixGetColumnWidth(Widget w, int column) { int r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_COLUMN(mw, column)) { xbaeObjectUnlock(w); return 0; } r = mw->matrix.column_widths[column]; xbaeObjectUnlock(w); return r; } void XbaeMatrixSetRowHeight(Widget w, int row, int height) { XbaeMatrixWidget mw; int current_row; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return; } if (height < 0) { mw->matrix.row_heights[row] = DEFAULT_ROW_HEIGHT(mw); } else { mw->matrix.row_heights[row] = height; } /* * Hide the TextField if the cell that was edited was hidden */ XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, NULL); if (mw->matrix.row_heights[current_row] == 0) { XtVaSetValues(TextField(mw), XmNattachRow, -1, XmNattachColumn, -1, NULL); if (mw->matrix.text_field_is_mapped) { xbaeHideTextField(mw); } } xbaeGetRowPositions(mw); if (!mw->matrix.disable_redisplay && XtIsRealized(w)) { xbaeRefresh(mw, True); } xbaeObjectUnlock(w); } int XbaeMatrixGetRowHeight(Widget w, int row) { int r; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL || !XBAE_CHECK_ROW(mw, row)) { xbaeObjectUnlock(w); return 0; } r = mw->matrix.row_heights[row]; xbaeObjectUnlock(w); return r; } /**********************************************************************************************/ struct sort_common { Widget w; int (*proc)(Widget, int, int, void *); void *user_data; }; struct sort_index { int index; struct sort_common *common; }; static int compare(const void *a, const void *b) { const struct sort_index *sort_index1 = a; const struct sort_index *sort_index2 = b; const struct sort_common *common = sort_index1->common; return common->proc(common->w, sort_index1->index, sort_index2->index, common->user_data); } void *reorder(void *array, size_t size, int n, struct sort_index *sort_indices) { void *ordered_array = NULL; if (array) { int i; ordered_array = XtMalloc(n * size); for(i = 0; i < n; i++) { memcpy((char *) ordered_array + size * i, (char *) array + size * sort_indices[i].index, size); } XtFree(array); } return ordered_array; } void XbaeMatrixSortRows(Widget w, int (*proc)(Widget, int, int, void *), void *user_data) { int row; int n_rows; struct sort_common common; struct sort_index *row_indices; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } if (mw->matrix.rows == 0 || mw->matrix.columns == 0 || mw->matrix.per_cell == NULL) { xbaeObjectUnlock(w); return; } n_rows = mw->matrix.rows; common.w = w; common.proc = proc; common.user_data = user_data; row_indices = (struct sort_index *) XtMalloc(n_rows * sizeof *row_indices); for(row = 0; row < n_rows; row++) { row_indices[row].index = row; row_indices[row].common = &common; } qsort(row_indices, n_rows, sizeof *row_indices, compare); mw->matrix.per_cell = reorder(mw->matrix.per_cell, sizeof *mw->matrix.per_cell, n_rows, row_indices); mw->matrix.row_button_labels = reorder(mw->matrix.row_button_labels, sizeof *mw->matrix.row_button_labels, n_rows, row_indices); mw->matrix.row_user_data = reorder(mw->matrix.row_user_data, sizeof *mw->matrix.row_user_data, n_rows, row_indices); mw->matrix.row_shadow_types = reorder(mw->matrix.row_shadow_types, sizeof *mw->matrix.row_shadow_types, n_rows, row_indices); mw->matrix.xmrow_labels = reorder(mw->matrix.xmrow_labels, sizeof *mw->matrix.xmrow_labels, n_rows, row_indices); mw->matrix.row_labels = reorder(mw->matrix.row_labels, sizeof *mw->matrix.row_labels, n_rows, row_indices); mw->matrix.row_heights = reorder(mw->matrix.row_heights, sizeof *mw->matrix.row_heights, n_rows, row_indices); XtFree((XtPointer) row_indices); xbaeGetRowPositions(mw); XbaeMatrixRefresh(w); xbaeObjectUnlock(w); } void XbaeMatrixSortColumns(Widget w, int (*proc)(Widget, int, int, void *), void *user_data) { int row, column; int n_rows, n_columns; struct sort_common common; struct sort_index *column_indices; XbaeMatrixWidget mw; xbaeObjectLock(w); mw = XBAE_CHECK_CLASS(w); if (mw == NULL) { xbaeObjectUnlock(w); return; } if (mw->matrix.rows == 0 || mw->matrix.columns == 0 || mw->matrix.per_cell == NULL) { xbaeObjectUnlock(w); return; } n_rows = mw->matrix.rows; n_columns = mw->matrix.columns; common.w = w; common.proc = proc; common.user_data = user_data; column_indices = (struct sort_index *) XtMalloc(n_columns * sizeof *column_indices); for(column = 0; column < n_columns; column++) { column_indices[column].index = column; column_indices[column].common = &common; } qsort(column_indices, n_columns, sizeof *column_indices, compare); for(row = 0; row < n_rows; row++) { mw->matrix.per_cell[row] = reorder(mw->matrix.per_cell[row], sizeof *mw->matrix.per_cell[row], n_columns, column_indices); } mw->matrix.column_alignments = reorder(mw->matrix.column_alignments, sizeof *mw->matrix.column_alignments, n_columns, column_indices); mw->matrix.column_label_alignments = reorder(mw->matrix.column_label_alignments, sizeof *mw->matrix.column_label_alignments, n_columns, column_indices); mw->matrix.column_font_bold = reorder(mw->matrix.column_font_bold, sizeof *mw->matrix.column_font_bold, n_columns, column_indices); mw->matrix.show_column_arrows = reorder(mw->matrix.show_column_arrows, sizeof *mw->matrix.show_column_arrows, n_columns, column_indices); mw->matrix.column_max_lengths = reorder(mw->matrix.column_max_lengths, sizeof *mw->matrix.column_max_lengths, n_columns, column_indices); mw->matrix.column_button_labels = reorder(mw->matrix.column_button_labels, sizeof *mw->matrix.column_button_labels, n_columns, column_indices); mw->matrix.column_user_data = reorder(mw->matrix.column_user_data, sizeof *mw->matrix.column_user_data, n_columns, column_indices); mw->matrix.column_shadow_types = reorder(mw->matrix.column_shadow_types, sizeof *mw->matrix.column_shadow_types, n_columns, column_indices); mw->matrix.xmcolumn_labels = reorder(mw->matrix.xmcolumn_labels, sizeof *mw->matrix.xmcolumn_labels, n_columns, column_indices); mw->matrix.column_labels = reorder(mw->matrix.column_labels, sizeof *mw->matrix.column_labels, n_columns, column_indices); mw->matrix.column_widths = reorder(mw->matrix.column_widths, sizeof *mw->matrix.column_widths, n_columns, column_indices); XtFree((XtPointer) column_indices); xbaeGetColumnPositions(mw); XbaeMatrixRefresh(w); xbaeObjectUnlock(w); } xbae-4.60.4/src/Input.c0000664000076400007640000011535410136277237011532 00000000000000/* * Copyright (c) 1999 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of the author not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of the author. * * THE AUTHOR MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL THE AUTHOR OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * Author: Andrew Lister * * $Id: Input.c,v 1.29 2004/10/22 21:41:51 dannybackx Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #ifdef WIN32 #define EXTERNALREF externalref __declspec(dllexport) #else #define EXTERNALREF /* nothing */ #endif #define CHAR_ALPHA 'a' /* Alphabetic characters only */ #define CHAR_BOTH 'b' /* Both - either character or digit */ #define CHAR_CHARACTER 'c' /* Any character */ #define CHAR_DIGIT 'd' /* Digits only */ #define CHAR_SOPTION '[' /* Start optional sequence */ #define CHAR_EOPTION ']' /* End optional sequence */ #define CHAR_UPPER 'U' /* Uppercase character */ #define CHAR_LOWER 'L' /* Lowercase character */ #define CHAR_ESCAPE '\\' /* Escape character */ #define CHAR_OR '|' /* separator between optional chars */ #define IS_LITERAL(c) (((c) != CHAR_ALPHA && \ (c) != CHAR_BOTH && \ (c) != CHAR_CHARACTER && \ (c) != CHAR_DIGIT && \ (c) != CHAR_SOPTION && \ (c) != CHAR_EOPTION && \ (c) != CHAR_UPPER && \ (c) != CHAR_LOWER && \ (c) != CHAR_OR) || \ (c) == CHAR_ESCAPE) /* Declaration of Actions */ static void ToggleOverwriteACT(Widget, XEvent *, String *, Cardinal * nparams); static void validate(Widget, XtPointer, XtPointer); /* Declaration of Methods */ static void Initialize(Widget, Widget, ArgList, Cardinal *); static Boolean SetValues(Widget, Widget, Widget, ArgList, Cardinal *); static void Destroy(Widget); /* Utility routines */ static void parsePattern(XbaeInputWidget, String); static Boolean match(XbaeInputWidget, char *, Boolean); /* Internal callbacks */ static void checkInput(Widget, XtPointer, XtPointer); static char defaultTranslations[] = "osfInsert : ToggleOverwrite()\n\ KP_Insert : ToggleOverwrite()"; static XtActionsRec actions[] = { {"ToggleOverwrite", ToggleOverwriteACT}, }; #define offset(field) XtOffsetOf(XbaeInputRec, field) static XtResource resources[] = { {XmNalignment, XmCAlignment, XmRAlignment, sizeof(unsigned char), offset(input.alignment), XmRImmediate, (XtPointer) XmALIGNMENT_BEGINNING}, {XmNautoFill, XmCBoolean, XmRBoolean, sizeof(Boolean), offset(input.auto_fill), XmRImmediate, (XtPointer) False} , {XmNconvertCase, XmCBoolean, XmRBoolean, sizeof(Boolean), offset(input.convert_case), XmRImmediate, (XtPointer) True} , {XmNoverwriteMode, XmCBoolean, XmRBoolean, sizeof(Boolean), offset(input.overwrite_mode), XmRImmediate, (XtPointer) False} , {XmNpattern, XmCString, XmRString, sizeof(String), offset(input.pattern), XmRImmediate, (XtPointer) NULL} , {XmNvalidateCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(input.validate_callback), XmRCallback, (XtPointer) NULL} }; static XmPrimitiveClassExtRec primitiveClassExtRec = { NULL, /* next_extension */ NULLQUARK, /* record_type */ XmPrimitiveClassExtVersion, /* version */ sizeof(XmPrimitiveClassExtRec), /* record_size */ XmInheritBaselineProc, /* widget_baseline */ XmInheritDisplayRectProc, /* widget_display_rect */ (XmWidgetMarginsProc) _XtInherit /* widget_margins */ }; XbaeInputClassRec xbaeInputClassRec = { { /* core_class fields */ (WidgetClass) & xmTextClassRec, /* superclass */ "XbaeInput", /* class_name */ sizeof(XbaeInputRec), /* widget_size */ NULL, /* class_initialize */ NULL, /* class_part_initialize */ False, /* class_inited */ (XtInitProc) Initialize, /* initialize */ NULL, /* initialize_hook */ XtInheritRealize, /* realize */ actions, /* actions */ XtNumber(actions), /* num_actions */ resources, /* resources */ XtNumber(resources), /* num_resources */ NULLQUARK, /* xrm_class */ True, /* compress_motion */ XtExposeCompressMaximal, /* compress_exposure */ True, /* compress_enterleave */ False, /* visible_interest */ (XtWidgetProc) Destroy, /* destroy */ XtInheritResize, /* resize */ XtInheritExpose, /* expose */ (XtSetValuesFunc) SetValues, /* set_values */ NULL, /* set_values_hook */ XtInheritSetValuesAlmost, /* set_values_almost */ NULL, /* get_values_hook */ XtInheritAcceptFocus, /* accept_focus */ XtVersion, /* version */ NULL, /* callback_private */ XtInheritTranslations, /* tm_table */ XtInheritQueryGeometry, /* query_geometry */ XtInheritDisplayAccelerator, /* display_accelerator */ NULL /* extension */ } , { /* Primitive class */ XmInheritBorderHighlight, /* border_highlight */ XmInheritBorderUnhighlight, /* border_unhighlight */ defaultTranslations, /* translations */ NULL, /* arm_and_activate */ NULL, /* syn resources */ 0, /* num_syn_resources */ (XtPointer) & primitiveClassExtRec, /* extension */ } , { /* Text class */ NULL, /* extension */ } , { /* Input class */ NULL, /* extension */ } }; EXTERNALREF WidgetClass xbaeInputWidgetClass = (WidgetClass) & xbaeInputClassRec; /* * Action routines */ static void validate(Widget w, XtPointer cd, XtPointer cb) { XmAnyCallbackStruct *cbs = (XmAnyCallbackStruct *) cb; XmTextVerifyCallbackStruct *vcbs = (XmTextVerifyCallbackStruct *) cb; XbaeInputWidget iw = (XbaeInputWidget) w; XbaeInputValidateCallbackStruct call_data; String pattern = NULL; String value; Boolean ret; if (!iw->input.pattern) { DEBUGOUT(_XbaeDebug(__FILE__, w, "Nothing to validate\n")); return; } DEBUGOUT(_XbaeDebug(__FILE__, w, "Validate ...\n")); value = XmTextGetString(w); ret = match(iw, value, True); if (iw->input.auto_fill && iw->input.literal_pending) { /* * Fill in any literals at the end of the string */ int i, j = strlen(value); value = XtRealloc(value, (Cardinal) (strlen(value) + 1 + iw->input.literal_count)); for (i = 0; i < iw->input.literal_count; i++) { if (*iw->input.literal_pending == CHAR_ESCAPE) iw->input.literal_pending++; value[i + j] = *iw->input.literal_pending; iw->input.literal_pending++; } value[i + j] = '\0'; XmTextSetString(w, value); } /* * Check that the string matches exactly with the pattern */ call_data.doit = ret; if (iw->input.validate_callback) { if (iw->input.pattern) pattern = XtNewString(iw->input.pattern); else pattern = NULL; call_data.reason = cbs->reason; call_data.event = cbs->event; call_data.pattern = pattern; call_data.value = value; XtCallCallbackList(w, iw->input.validate_callback, (XtPointer) & call_data); } if (cbs->reason == XmCR_LOSING_FOCUS) vcbs->doit = call_data.doit; if (!call_data.doit) { XBell(XtDisplay(w), 0); DEBUGOUT(_XbaeDebug(__FILE__, w, "ring ring\n")); XmProcessTraversal(w, XmTRAVERSE_CURRENT); if (cbs->reason == XmCR_ACTIVATE) XmProcessTraversal(w, XmTRAVERSE_CURRENT); else { /* XmCR_LOSING_FOCUS */ /* * Should handle what's required - ringing the bell, preventing * traversal, etc by setting the XmTextVerifyCallbackStruct's * doit flag */ vcbs->doit = call_data.doit; } } else if (iw->input.validate_callback && call_data.value != value) /* changed in callback */ { XtFree(value); value = call_data.value; XmTextSetString(w, value); } if (pattern) XtFree(pattern); if (value) XtFree(value); } static void ToggleOverwriteACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeInputWidget iw = (XbaeInputWidget) w; DEBUGOUT(_XbaeDebug(__FILE__, w, "Toggle\n")); if (iw->input.overwrite_mode) iw->input.overwrite_mode = False; else iw->input.overwrite_mode = True; XtCallActionProc(w, "toggle-overstrike", NULL, NULL, 0); } static void Initialize(Widget request, Widget new, ArgList args, Cardinal * num_args) { XbaeInputWidget iw = (XbaeInputWidget) new; iw->input.literal_pending = NULL; iw->input.literal_count = 0; iw->input.last_insert = 0; /* * Check for a pattern associated with the text field */ if (iw->input.pattern) { iw->input.pattern = XtNewString(iw->input.pattern); parsePattern(iw, iw->input.pattern); XtAddCallback(new, XmNmodifyVerifyCallback, checkInput, NULL); } else { iw->input.pattern_length = 0; iw->input.pattern = NULL; } /* * By default, overwrite mode is off on the text field. By calling * the text widget's action routine it will be turned on. */ if (iw->input.overwrite_mode == True) { DEBUGOUT(_XbaeDebug(__FILE__, new, "Initialize: toggle-overstrike\n")); XtCallActionProc(new, "toggle-overstrike", NULL, NULL, 0); } XtAddCallback(new, XmNlosingFocusCallback, validate, NULL); XtAddCallback(new, XmNactivateCallback, validate, NULL); } static Boolean SetValues(Widget current, Widget request, Widget new, ArgList args, Cardinal * num_args) { XbaeInputWidget c = (XbaeInputWidget) current; XbaeInputWidget n = (XbaeInputWidget) new; #define current(field) (c->input.field) #define new(field) (n->input.field) #define NE(field) (current(field) != new(field)) #define EQ(field) (current(field) == new(field)) if (NE(pattern)) { if (new(pattern) == NULL) XtRemoveCallback(new, XmNmodifyVerifyCallback, checkInput, NULL); else new(pattern) = XtNewString(new(pattern)); if (current(pattern) == NULL) XtAddCallback(new, XmNmodifyVerifyCallback, checkInput, NULL); else XtFree(current(pattern)); parsePattern(n, new(pattern)); } if (NE(overwrite_mode)) XtCallActionProc(new, "toggle-overstrike", NULL, NULL, 0); if (NE(auto_fill)) { /* * Call match to set any pending literals. The string up to the * insertion position is what needs to be checked. */ char *text; XmTextPosition pos = XmTextGetCursorPosition(new); text = XmTextGetString(new); if (text && *text) { *(text + pos) = 0; match(n, text, False); } else parsePattern(n, new(pattern)); XtFree(text); } return False; #undef Current #undef New #undef NE #undef EQ } static void Destroy(Widget w) { XbaeInputWidget iw = (XbaeInputWidget) w; if (iw->input.pattern) XtFree(iw->input.pattern); } static void parsePattern(XbaeInputWidget iw, String pattern) { char *ptr = pattern; Boolean optional = False; iw->input.pattern_length = 0; if (!ptr || !*ptr) return; while (*ptr) { if (*ptr == CHAR_SOPTION) { if (optional) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) iw), "pattern", "badPattern", "XbaeInput", "XbaeInput: Nested optionals in pattern", (String *) NULL, (Cardinal *) NULL); break; } /* * If there is an optional character, then that character * does not need to be counted as part of the length */ optional = True; } else if (*ptr == CHAR_EOPTION) { if (!optional) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) iw), "pattern", "badPattern", "XbaeInput", "XbaeInput: Error in pattern", (String *) NULL, (Cardinal *) NULL); break; } optional = False; } else { /* * If the first character is a literal, set literal_pending * to True */ if (ptr == pattern && iw->input.pattern_length == 0 && IS_LITERAL(*ptr)) { char *orig = ptr; if (*ptr == CHAR_ESCAPE) ptr++; iw->input.literal_pending = ptr; iw->input.literal_count = 1; ptr++; while (*ptr && IS_LITERAL(*ptr)) { if (*ptr == CHAR_ESCAPE) ptr++; iw->input.literal_count++; ptr++; } ptr = orig; } iw->input.pattern_length++; } ptr++; } XtVaSetValues((Widget) iw, XmNmaxLength, iw->input.pattern_length, NULL); } static Boolean match(XbaeInputWidget iw, char *string, Boolean exact) { char *tptr, *sptr, *ntptr; char *lastopt = NULL; /* last optional block */ char *lastreq = NULL; /* last required block */ int optional = 0; /*int pend_rew = 0; */ Boolean equal = True; int escaped; int set_lastopt = 0; tptr = iw->input.pattern; sptr = string; DEBUGOUT(_XbaeDebug (__FILE__, (Widget) iw, "checking '%s' against '%s'\n", string ? string : "(null)", iw->input.pattern ? iw->input.pattern : "(null)")); if (!tptr || !sptr || !*tptr || !*sptr) { /* check for leading literals */ if (tptr) { if (IS_LITERAL(*tptr)) { if (*tptr == CHAR_ESCAPE) tptr++; iw->input.literal_pending = tptr++; iw->input.literal_count = 1; while (*tptr && IS_LITERAL(*tptr)) { if (*tptr == CHAR_ESCAPE) tptr++; iw->input.literal_count++; tptr++; } } } /* * No pattern or no string - must match! */ return True; } while (*sptr && *tptr) { escaped = 0; do { ntptr = tptr + 1; /* next tptr */ switch (*tptr) { case CHAR_SOPTION: /* start of optional sequence */ optional = 1; /*if (!lastopt) *//* XXX -cg */ /* Trouble is with this removed we don't rewind far enough back should another thing fail further along. Also presents problems for autofill since the position of the filled chars may move! Need either another loop which rewinds or a stack of lastopt pointers which can be popped. Thus the beauty of recursion. */ /*lastopt = sptr; */ lastopt = NULL; set_lastopt = 1; break; case CHAR_EOPTION: /* start of optional sequence */ optional = 0; if (*(tptr + 1) != CHAR_SOPTION) lastreq = tptr + 1; set_lastopt = 0; break; case CHAR_ALPHA: /* alphabetic */ equal = (isalpha(*sptr) == 0) ? False : True; if (equal && set_lastopt) lastopt = sptr; set_lastopt = 0; break; case CHAR_BOTH: /* both: alphabetic or digit */ equal = (isalnum(*sptr) == 0) ? False : True; if (equal && set_lastopt) lastopt = sptr; set_lastopt = 0; break; case CHAR_CHARACTER: /* any character */ equal = True; if (equal && set_lastopt) lastopt = sptr; set_lastopt = 0; break; case CHAR_DIGIT: /* any digit */ equal = (isdigit(*sptr) == 0) ? False : True; if (equal && set_lastopt) lastopt = sptr; set_lastopt = 0; break; case CHAR_UPPER: if (iw->input.convert_case && islower(*sptr)) *sptr = toupper(*sptr); equal = ((isalpha(*sptr) != 0) && isupper(*sptr)); if (equal && set_lastopt) lastopt = sptr; set_lastopt = 0; break; case CHAR_LOWER: if (iw->input.convert_case && isupper(*sptr)) *sptr = tolower(*sptr); equal = ((isalpha(*sptr) != 0) && islower(*sptr)); if (equal && set_lastopt) lastopt = sptr; set_lastopt = 0; break; case CHAR_OR: /* If tptr is | then we already had success on the previous char so skip it and then next. */ if (*ntptr == CHAR_ESCAPE) ntptr++; tptr = ntptr + 1; /*equal = False; */ continue; case CHAR_ESCAPE: tptr++; ntptr++; escaped = 1; /* And fall through to literal */ default: /* treat as a literal */ equal = (*sptr == *tptr); if (equal && set_lastopt) lastopt = sptr; set_lastopt = 0; break; } } while (!equal && *ntptr == CHAR_OR && (tptr = ntptr + 1)); if (!lastreq && !optional) lastreq = tptr; if (!equal) { #ifdef DEBUG int z, w; char *z1; puts("string failed at:"); for (z1 = string, z = 0; *z1; z1++, z++) { if (z1 == sptr) w = z; putchar(*z1); } putchar('\n'); for (z = 0; z < w; z++) putchar(' '); puts("^"); puts("pattern was at:"); for (z1 = iw->input.pattern, z = 0; *z1; z1++, z++) { if (z1 == tptr) w = z; putchar(*z1); } putchar('\n'); for (z = 0; z < w; z++) putchar(' '); puts("^"); printf("opt %d, lastopt %s\n", optional, lastopt ? lastopt : "(null)"); #endif if (optional) { /* * Discard the optional part and move forward to the * required bit, if there is one - if there isn't one * it is a failure */ while (*tptr && (*tptr != CHAR_EOPTION || *(tptr - 1) == CHAR_ESCAPE)) tptr++; if (!*tptr) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) iw), "XbaeInput", "InputParenthesisMismatch", "", "Mismatched parentheses", NULL, 0); } else { tptr++; /* move past the ']' */ #ifdef OLD if (!lastopt) { equal = False; break; } #endif /* rewind if necessary */ if (lastopt) { /*if (pend_rew) */ { #ifdef DEBUG int z, w, w1; char *z1; puts("Rewinding:"); for (z1 = string, z = 0; *z1; z1++, z++) { if (z1 == sptr) w = z; if (z1 == lastopt) w1 = z; putchar(*z1); } putchar('\n'); for (z = 0; z < w; z++) { if (z == w1) putchar('^'); else putchar(' '); } puts("<"); #endif sptr = lastopt; lastopt = NULL; /*pend_rew = 0; */ } /* else { #ifdef DEBUG puts("rewind pending..."); #endif pend_rew = 1; } */ } equal = True; /* hope for the best! */ /* if (*tptr == CHAR_SOPTION) lastopt = tptr; else*/ } optional = 0; } /* else if (pend_rew) { #ifdef DEBUG int z, w, w1; char *z1; puts("Rewinding:"); for (z1 = string, z = 0; *z1; z1++, z++) { if (z1 == sptr) w = z; if (z1 == lastopt) w1 = z; putchar(*z1); } putchar('\n'); for (z = 0; z < w; z++) { if (z == w1) putchar('^'); else putchar(' '); } puts("<"); #endif sptr = lastopt; lastopt = NULL; pend_rew = 0; } */ else { /* * Failed in a required part. Here, if there was a * previous optional part, that needs to be thrown away * and the section checked again */ if (lastreq && lastopt) { sptr = lastopt; tptr = lastreq; lastopt = NULL; } else { equal = False; break; } } continue; } /* if (!equal) */ if (escaped || (*tptr != CHAR_EOPTION && *tptr != CHAR_SOPTION)) { sptr++; } tptr++; } /* skip over the remain optional part which has been matched */ /* XXX don't know whether optional blocks should be treated need to match entirely if exact is true. If this is the case, we should only skip over CHAR_OR inside the optional. This code was more complicated however, so I didn't bother. -cg */ while (optional && *tptr) { if (*tptr == CHAR_ESCAPE) tptr++; else if (*tptr == CHAR_EOPTION) optional = 0; tptr++; } /* * Determine whether any (and how many) literals are about to be inserted */ iw->input.literal_count = 0; iw->input.literal_pending = NULL; while (*tptr && IS_LITERAL(*tptr) && equal) { if (*tptr == CHAR_ESCAPE) tptr++; if (iw->input.literal_count == 0) iw->input.literal_pending = tptr; iw->input.literal_count++; tptr++; } /* * Ignore any trailing optional bits */ while (*tptr && *tptr == CHAR_SOPTION) { while (*tptr != CHAR_EOPTION) tptr++; tptr++; } /* XXX Might have to skip literals again here for final valid check, not to set literal_pending/literal_count though, unless we want to fill all trailing literals upon final validation, even if they span an optional bit. */ if (*sptr && !*tptr) { #ifdef DEBUG printf("Couldn't fit all chars into pattern. Sorry about that\n"); #endif equal = False; } if (*tptr && !*sptr && exact) equal = False; #ifdef DEBUG printf("----\n"); #endif return equal; } static void checkInput(Widget w, XtPointer cd, XtPointer cb) { XbaeInputWidget iw = (XbaeInputWidget) w; XmTextVerifyCallbackStruct *cbs = (XmTextVerifyCallbackStruct *) cb; int i, j, pos; int length; char *text; /* * Ignore events generated by convenience routines */ if (!cbs->event) { DEBUGOUT(_XbaeDebug(__FILE__, w, "checkInput: no event\n")); return; } /* * Was it a backspace? */ if (cbs->startPos < cbs->currInsert || cbs->text->length == 0 || !cbs->text->ptr || *cbs->text->ptr == 0) { /* * Fix by Anphong Nguyen : * codes added to move the cursor back one position, instead of deleting * the character because in overstriking mode, user uses backspace key * to move the cursor to overwrite the text, not to delete the character * then inserting a new value */ if (iw->input.overwrite_mode == True) { XmTextSetInsertionPosition((Widget) iw, (cbs->currInsert - 1)); cbs->doit = False; } /* * Allow a backspace or delete to do it's bit. */ DEBUGOUT(_XbaeDebug(__FILE__, w, "CheckInput backspace\n")); return; } /* * This is pretty lame but Motif doesn't seem to call the modifyVerifyCB * if the text is pasted from the clipboard. The logic to insert * characters below should handle it if pasting worked correctly. */ if (cbs->text->length > 1) { cbs->doit = False; DEBUGOUT(_XbaeDebug(__FILE__, w, "CheckInput paste ?\n")); return; } /* * Has the length exceeded the pattern? */ if (cbs->text->length + cbs->startPos > iw->input.pattern_length) { cbs->doit = False; DEBUGOUT(_XbaeDebug(__FILE__, w, "CheckInput too long\n")); return; } /* * Otherwise, something was inserted... */ /* * Construct what the string looks like at the moment (+1 for NUL char) */ text = XmTextGetString(w); pos = cbs->startPos; DEBUGOUT(_XbaeDebug(__FILE__, w, "checkInput(%s)\n", text)); /* * Copy the characters forward if inserting or at end of string. * Include the NUL terminator in the move. */ if (pos >= (length = strlen(text)) || iw->input.overwrite_mode == False) { /* * The new length will be the current length of the string + 1 for * a NUL + the length of the newly inserted string */ length += 1 + cbs->text->length; text = XtRealloc((void *) text, length); for (j = length - 1; j > pos; j--) text[j] = text[j - 1]; } /* * If the insertion point has changed or we are overwriting chars, * any pending literals may also have changed */ if (iw->input.last_insert != pos || (pos < (int) strlen(text) && iw->input.overwrite_mode == True)) { char *buf = XtNewString(text); buf[pos] = 0; match(iw, buf, False); XtFree(buf); } /* * The string needs to reflect what the string will look like * after the text has been inserted so a bit of mucking about is * needed to get that */ for (i = 0; i < cbs->text->length; i++, pos++) { if (iw->input.auto_fill && iw->input.literal_pending && cbs->text->ptr[i] != *iw->input.literal_pending) { int k; for (k = 0; k < iw->input.literal_count; k++) { /* * If in insert mode or at the end of the string, * extra space needs to be added */ if (!iw->input.overwrite_mode || pos >= (int) strlen(text)) { length++; text = XtRealloc((void *) text, length); for (j = length - 1; j > pos; j--) text[j] = text[j - 1]; } /* * The callback's ptr will always need to be changed though */ cbs->text->length++; cbs->text->ptr = XtRealloc((void *) cbs->text->ptr, cbs->text->length + 1); for (j = cbs->text->length; j > i; j--) cbs->text->ptr[j] = cbs->text->ptr[j - 1]; if (iw->input.overwrite_mode) cbs->endPos++; /* (void)BCOPY(cbs->text->ptr + i, cbs->text->ptr + i + 1, cbs->text->length - i);*/ cbs->text->ptr[i] = *iw->input.literal_pending; text[pos] = *iw->input.literal_pending; pos++; i++; iw->input.literal_pending++; if (*iw->input.literal_pending == CHAR_ESCAPE) iw->input.literal_pending++; } } text[pos] = cbs->text->ptr[i]; if (!match(iw, text, False)) { cbs->doit = False; DEBUGOUT(_XbaeDebug (__FILE__, w, "checkInput no match(%s) pat [%s]\n", text, iw->input.pattern)); XtFree(text); return; } /* * match() may change the current character so it needs to * be copied back */ cbs->text->ptr[i] = text[pos]; } iw->input.last_insert = pos; XtFree(text); DEBUGOUT(_XbaeDebug(__FILE__, w, "checkInput return\n")); } Widget XbaeCreateInput(Widget parent, String name, ArgList args, Cardinal ac) { return XtCreateWidget(name, xbaeInputWidgetClass, parent, args, ac); } xbae-4.60.4/src/Actions.c0000644000076400007640000021445110432427471012023 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Actions.c,v 1.114 2006/05/16 19:59:53 tobiasoed Exp $ */ #define VERBOSE_SLIDE /* * Actions.c created by Andrew Lister (7 August, 1995) */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef XlibSpecificationRelease #define XrmPermStringToQuark XrmStringToQuark #endif /* One of DRAW_RESIZE_LINE and DRAW_RESIZE_SHADOW must be defined. */ #if !defined(DRAW_RESIZE_LINE) && !defined(DRAW_RESIZE_SHADOW) #define DRAW_RESIZE_SHADOW #endif #ifndef DEFAULT_SCROLL_SPEED #define DEFAULT_SCROLL_SPEED 30 #endif /* * This is the number of pixels that you can 'miss' the cell edge when * trying to resize a row or column. */ #ifndef XBAE_RESIZE_FUZZ #define XBAE_RESIZE_FUZZ 4 #endif typedef struct { XbaeMatrixWidget mw; XtIntervalId timerID; XtAppContext app_context; void (*fcn)(XtPointer data); Boolean grabbed; int pointer_x; int pointer_y; } XbaeMatrixPositionStruct; typedef struct { XbaeMatrixPositionStruct pos; Boolean resize_row; Boolean resize_column; int row; int column; int currentx; int currenty; short *columnWidths, *rowHeights; } XbaeMatrixResizeStruct; typedef struct { XbaeMatrixPositionStruct pos; Boolean pressed; int initial_region; int label_row; int label_column; int distx; int disty; } XbaeMatrixButtonPressedStruct; typedef struct { XbaeMatrixPositionStruct pos; XEvent *event; Cardinal num_params; String *params; int initial_region; int last_row; int last_column; int distx; int disty; } XbaeMatrixScrollStruct; static int DoubleClick(XbaeMatrixWidget, XEvent *, int, int); static void DrawSlideRow(XbaeMatrixWidget, int); static void DrawSlideColumn(XbaeMatrixWidget, int); static void slideResize(XtPointer); static void scrollSelect(XtPointer); static void scrollLabel(XtPointer); static void handleMotionEvent(Widget, XtPointer, XEvent *, Boolean *); static void callSelectCellCallbacks(XbaeMatrixWidget, XEvent *, int, int, String *, Cardinal); /**************************************************************************************************/ static int DoubleClick(XbaeMatrixWidget mw, XEvent * event, int row, int column) { /* A double click in this instance is two clicks in the same cell in a time period < double_click_interval */ Time current_time; unsigned long delta; static int ret = 0; static int lastButton = 0; if (event->type == ButtonRelease) { /* If the button is released, store the current location and time - next time through, if it's a button press event, we check for double click */ mw->matrix.last_row = row; mw->matrix.last_column = column; if (ret) /* just had a double click */ mw->matrix.last_click_time = (Time) 0; else mw->matrix.last_click_time = event->xbutton.time; ret = 0; lastButton = event->xbutton.button; return ret; } current_time = event->xbutton.time; delta = current_time - mw->matrix.last_click_time; if (row == mw->matrix.last_row && column == mw->matrix.last_column && delta < (unsigned long) mw->matrix.double_click_interval && event->xbutton.button == lastButton) { ret = 1; } else { ret = 0; } return ret; } /* ARGSUSED */ void xbaeDefaultActionACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; int x, y; int row, column; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "defaultActionACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to DefaultAction action", NULL, 0); return; } if (!mw->matrix.default_action_callback) { return; } if (!xbaeEventToRowColumn(w, event, &row, &column, &x, &y)) { return; } DEBUGOUT(_XbaeDebug (__FILE__, w, "xbaeDefaultActionACT(x %d, y %d) on %s with button %s\n", x, y, mw == (XbaeMatrixWidget) w ? "matrix" : "other", event->type == ButtonRelease ? "release" : "press")); if (DoubleClick(mw, event, row, column)) { XbaeMatrixDefaultActionCallbackStruct call_data; call_data.reason = XbaeDefaultActionReason; call_data.event = event; call_data.row = row; call_data.column = column; XtCallCallbackList((Widget) mw, mw->matrix.default_action_callback, (XtPointer) & call_data); } } /**************************************************************************************************/ static void callTraverseCellCallbacks(XbaeMatrixWidget mw, XEvent * event, int *row, int *column, String param, XrmQuark qparam) { /* * Call the traverseCellCallback to allow the application to * perform custom traversal. */ XbaeMatrixTraverseCellCallbackStruct call_data; call_data.reason = XbaeTraverseCellReason; call_data.event = event; call_data.next_row = *row; call_data.next_column = *column; call_data.fixed_rows = mw->matrix.fixed_rows; call_data.fixed_columns = mw->matrix.fixed_columns; call_data.trailing_fixed_rows = mw->matrix.trailing_fixed_rows; call_data.trailing_fixed_columns = mw->matrix.trailing_fixed_columns; call_data.num_rows = mw->matrix.rows; call_data.num_columns = mw->matrix.columns; call_data.param = param; call_data.qparam = qparam; XtVaGetValues(TextField(mw), XmNattachRow, &call_data.row, XmNattachColumn, &call_data.column, NULL); XtCallCallbackList((Widget) mw, mw->matrix.traverse_cell_callback, (XtPointer) & call_data); *row = call_data.next_row; *column = call_data.next_column; } /* * Action to edit cell. */ void xbaeEditCellACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; XbaeMatrixWidgetClass mwc; int x, y; int row, column; XrmQuark q; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "editCellACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to EditCell action", NULL, 0); return; } if (!xbaeEventToRowColumn(w, event, &row, &column, &x, &y)) { return; } /* * Make sure we have a single parm */ if (*nparams != 1) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "editCellACT", "badParms", "XbaeMatrix", "XbaeMatrix: Wrong params passed to EditCell action, needs 1", NULL, 0); return; } /* * Quarkify the string param */ q = XrmStringToQuark(params[0]); mwc = (XbaeMatrixWidgetClass) XtClass(mw); if (q == mwc->matrix_class.QPointer) { if (row < 0 || column < 0 || (IS_FIXED(mw, row, column) && !mw->matrix.traverse_fixed)) { return; } } else { /* * Make sure row/column are sane */ int next_row, first_row, last_row; int next_column, first_column, last_column; if (row < 0 || row >= mw->matrix.rows) { row = xbaeTopRow(mw); } if (column < 0 || column >= mw->matrix.columns) { column = xbaeLeftColumn(mw); } next_row = row; next_column = column; if (mw->matrix.traverse_fixed) { first_row = 0; first_column = 0; last_row = mw->matrix.rows - 1; last_column = mw->matrix.columns - 1; } else { first_row = mw->matrix.fixed_rows; first_column = mw->matrix.fixed_columns; last_row = TRAILING_ROW_ORIGIN(mw) - 1; last_column = TRAILING_COLUMN_ORIGIN(mw) - 1; } if (q == mwc->matrix_class.QRight) { /* * If we are in the lower right corner, stay there. * Otherwise move over a column. If we move off to the right of the * final column to which traversing is allowed then move down a row * and back to the first column to which traversing is allowed. */ for(next_column++; next_column <= last_column && COLUMN_WIDTH(mw, next_column) == 0; next_column++) ; if (next_column > last_column) { for(next_row++; next_row <= last_row && ROW_HEIGHT(mw, next_row) == 0; next_row++) ; if (next_row <= last_row) { for(next_column = first_column; next_column <= last_column && COLUMN_WIDTH(mw, next_column) == 0; next_column++) ; } } } else if (q == mwc->matrix_class.QLeft) { /* * If we are in the upper left corner, stay there. * Otherwise move back a column. If we move before the first column * to which traversing is allowed, move up a row and over to the last * column to which traversing is allowed. */ for(next_column--; next_column >= first_column && COLUMN_WIDTH(mw, next_column) == 0; next_column--) ; if (next_column < first_column) { for(next_row--; next_row >= first_row && ROW_HEIGHT(mw, next_row) == 0; next_row--) ; if (next_row >= first_row) { for(next_column = last_column; next_column >= first_column && COLUMN_WIDTH(mw, next_column) == 0; next_column--) ; } } } else if (q == mwc->matrix_class.QDown) { for(next_row++; next_row <= last_row && ROW_HEIGHT(mw, next_row) == 0; next_row++) ; if (next_row > last_row) { for(next_row = first_row; next_row <= last_row && ROW_HEIGHT(mw, next_row) == 0; next_row++) ; } } else if (q == mwc->matrix_class.QUp) { for(next_row--; next_row >= first_row && ROW_HEIGHT(mw, next_row) == 0; next_row--) ; if (next_row < first_row) { for(next_row = last_row; next_row >= first_row && ROW_HEIGHT(mw, next_row) == 0; next_row--) ; } } if(next_row >= first_row && next_row <= last_row && next_column >= first_column && next_column <= last_column) { row = next_row; column = next_column; } } /* * Call the traverseCellCallback to allow the application to * perform custom traversal. */ if (mw->matrix.traverse_cell_callback) { callTraverseCellCallbacks(mw, event, &row, &column, params[0], q); } ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.edit_cell(mw, event, row, column, params, *nparams); } /* * Action to unmap the textField and discard any edits made */ /* ARGSUSED */ void xbaeCancelEditACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; Boolean unmap; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "cancelEditACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to CancelEdit action", NULL, 0); return; } /* * Make sure we have a single param */ if (*nparams != 1) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "cancelEditACT", "badParms", "XbaeMatrix", "XbaeMatrix: Wrong params passed to CancelEdit action, needs 1", NULL, 0); return; } /* * Validate our param */ if (!strcmp(params[0], "True")) unmap = True; else if (!strcmp(params[0], "False")) unmap = False; else { XtAppWarningMsg(XtWidgetToApplicationContext(w), "cancelEditACT", "badParm", "XbaeMatrix", "XbaeMatrix: Bad parameter for CancelEdit action", NULL, 0); return; } if (!mw->matrix.text_field_is_mapped) { /* * The TextField is not visible, call ManagerParentCancel */ XtCallActionProc((Widget) mw, "ManagerParentCancel", event, params, *nparams); } else { /* * The TextField is visible, call the cancel_edit method */ ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.cancel_edit(mw, unmap); } } /* * Action save any edits made and unmap the textField if params[0] is True */ /* ARGSUSED */ void xbaeCommitEditACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; Boolean unmap; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "commitEditACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to CommitEdit action", NULL, 0); return; } /* * Make sure we have a single param */ if (*nparams != 1) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "commitEditACT", "badParms", "XbaeMatrix", "XbaeMatrix: Wrong params for CommitEdit action, needs 1", NULL, 0); return; } /* * Validate our param */ if (!strcmp(params[0], "True")) unmap = True; else if (!strcmp(params[0], "False")) unmap = False; else { XtAppWarningMsg(XtWidgetToApplicationContext(w), "commitEditACT", "badParm", "XbaeMatrix", "XbaeMatrix: Bad parameter for CommitEdit action", NULL, 0); return; } if (!mw->matrix.text_field_is_mapped) { /* * The TextField is not visible, call ManagerParentActivate */ XtCallActionProc((Widget) mw, "ManagerParentActivate", event, params, *nparams); } else { /* * The TextField is visible, call the commit_edit method */ ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.commit_edit(mw, event, unmap); } } /* ARGSUSED */ void xbaePageDownACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; char *down = "0"; int vert_origin; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "pageDownACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to PageDown action", NULL, 0); return; } if (!XtIsManaged(VertScrollChild(mw))) return; /* * Save the vert_origin - if scrolling occurs, the text widget needs * to be moved */ vert_origin = VERT_ORIGIN(mw); XtCallActionProc(VertScrollChild(mw), "PageDownOrRight", event, &down, 1); if (VERT_ORIGIN(mw) != vert_origin) { /* * Position the cursor at the top most non fixed row if there was * a page down */ int row = xbaeTopRow(mw); int column; XrmQuark qparam = ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.QPageDown; XtVaGetValues(TextField(mw), XmNattachColumn, &column, NULL); if (mw->matrix.traverse_cell_callback) { callTraverseCellCallbacks(mw, event, &row, &column, XrmQuarkToString(qparam), qparam); } ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.edit_cell(mw, event, row, column, params, *nparams); } } /* ARGSUSED */ void xbaePageUpACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; char *up = "0"; int vert_origin; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "pageUpACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to PageUp action", NULL, 0); return; } if (!XtIsManaged(VertScrollChild(mw))) return; /* * Save the vert_origin - if scrolling occurs, the text widget needs * to be moved */ vert_origin = VERT_ORIGIN(mw); XtCallActionProc(VertScrollChild(mw), "PageUpOrLeft", event, &up, 1); if (VERT_ORIGIN(mw) != vert_origin) { /* * Position the cursor at the top most non fixed row if there was * a page up */ int row = xbaeTopRow(mw); int column; XrmQuark qparam = ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.QPageUp; XtVaGetValues(TextField(mw), XmNattachColumn, &column, NULL); if (mw->matrix.traverse_cell_callback) { callTraverseCellCallbacks(mw, event, &row, &column, XrmQuarkToString(qparam), qparam); } ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.edit_cell(mw, event, row, column, params, *nparams); } } /**************************************************************************************************/ /* ARGSUSED */ void xbaeHandleTrackingACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixTrackCellCallbackStruct call_data; XbaeMatrixWidget mw; int x, y; int row, column; DEBUGOUT(_XbaeDebug (__FILE__, w, "%s(x %d y %d)\n", __FUNCTION__, event->xbutton.x, event->xbutton.y)); /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "handleTrackingACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to HandleTracking action", NULL, 0); return; } if (!mw->matrix.track_cell_callback) return; xbaeEventToRowColumn(w, event, &row, &column, &x, &y); /* FIXME: pointer_xy used to be relative to the matrix. */ call_data.pointer_x = x; call_data.pointer_y = y; if ((column != mw->matrix.prev_column) || (row != mw->matrix.prev_row)) { call_data.reason = XbaeTrackCellReason; call_data.event = event; call_data.prev_row = mw->matrix.prev_row; call_data.prev_column = mw->matrix.prev_column; call_data.row = row; call_data.column = column; /* printf ("%s %s %d XY:%d %d RC: %d %d\n", * __FILE__,__FUNCTION__,__LINE__,x, y, row, column); */ XtCallCallbackList((Widget) mw, mw->matrix.track_cell_callback, (XtPointer) & call_data); /* * Merken */ mw->matrix.prev_column = column; mw->matrix.prev_row = row; } } /* * Action to process a drag out */ void xbaeProcessDragACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; XbaeMatrixCellValuesStruct cell_values; int x, y; int row, column; XbaeMatrixProcessDragCallbackStruct call_data; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "processDragACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to ProcessDrag action", NULL, 0); return; } if (!mw->matrix.process_drag_callback) return; if (!xbaeEventToRowColumn(w, event, &row, &column, &x, &y) || row < 0 || column < 0) { return; } xbaeGetCellValues(mw, row, column, False, &cell_values); call_data.type = cell_values.drawCB.type; call_data.string = cell_values.drawCB.string; call_data.pixmap = cell_values.drawCB.pixmap; call_data.mask = cell_values.drawCB.mask; call_data.reason = XbaeProcessDragReason; call_data.event = event; call_data.row = row; call_data.column = column; call_data.num_params = *nparams; call_data.params = params; XtCallCallbackList((Widget) mw, mw->matrix.process_drag_callback, (XtPointer) &call_data); if ((cell_values.drawCB.type & XbaeStringFree) == XbaeStringFree) { XtFree((XtPointer) cell_values.drawCB.string); } } void xbaeScrollRowsACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; int step; String end; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "scrollRowsAct", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to ScrollRows action", NULL, 0); return; } if (*nparams == 1) { step = strtol(params[0],&end,0); } if (*nparams != 1 || end == params[0]) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "scrollRowsAct", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad parameter passed to ScrollRows action", NULL, 0); return; } xbaeScrollRows(mw, step); } void xbaeScrollColumnsACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; int step; String end; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "scrollColumnsAct", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to ScrollColumns action", NULL, 0); return; } if (*nparams == 1) { step = strtol(params[0],&end,0); } if (*nparams != 1 || end == params[0]) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "scrollColumnssAct", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad parameter passed to ScrollColumns action", NULL, 0); return; } xbaeScrollColumns(mw, step); } /* ARGSUSED */ /* * Dean Phillips needs xbaeTraversePrev/NextACT because ManagerGadgetNext/PrevTabGroup() * cause NutCracker's Motif implementation to crash. */ void xbaeTraverseNextACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "traverseNextACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to TraverseNext action", NULL, 0); return; } XmProcessTraversal(TextField(mw), XmTRAVERSE_NEXT_TAB_GROUP); } /* ARGSUSED */ void xbaeTraversePrevACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "traversePrevACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to TraversePrev action", NULL, 0); return; } XmProcessTraversal(TextField(mw), XmTRAVERSE_PREV_TAB_GROUP); } /**************************************************************************************************/ /* gets called on mouse events */ static void handleMotionEvent(Widget w, XtPointer data, XEvent * event, Boolean * cont) { XbaeMatrixPositionStruct *pos = (XbaeMatrixPositionStruct *) data; if (pos->timerID) { XtRemoveTimeOut(pos->timerID); pos->timerID = 0; } if (event->type == ButtonRelease) { DEBUGOUT(_XbaeDebug(__FILE__, w, "handleMotionEvent ButtonRelease\n")); pos->grabbed = False; } else if (event->type == MotionNotify) { DEBUGOUT(_XbaeDebug(__FILE__, w, "handleMotionEvent MotionNotify\n")); pos->pointer_x = event->xmotion.x; pos->pointer_y = event->xmotion.y; pos->fcn(data); } } void waitForButtonRelease(XbaeMatrixWidget mw, Cursor cursor, XbaeMatrixPositionStruct *pos, void (*fcn)(XtPointer)) { unsigned long event_mask = ButtonReleaseMask | PointerMotionMask; Widget w = (Widget) mw; pos->mw = mw; pos->grabbed = True; pos->timerID = 0; pos->app_context = XtWidgetToApplicationContext(w); pos->fcn = fcn; XtAddEventHandler(w, event_mask, True, handleMotionEvent, (XtPointer) pos); XGrabPointer(XtDisplay(w), XtWindow(w), False, event_mask, GrabModeAsync, GrabModeAsync, None, cursor, CurrentTime); while (pos->grabbed) XtAppProcessEvent(pos->app_context, XtIMAll); XUngrabPointer(XtDisplay(w), CurrentTime); XtRemoveEventHandler(w, event_mask, True, handleMotionEvent, (XtPointer) pos); } /**************************************************************************************************/ #ifdef DRAW_RESIZE_LINE #define RESIZE_SIZE 0 #define DRAW_RESIZE(mw, display, win, dbg, x, y, w, h) \ XDrawLine(display, win, mw->matrix.draw_gc, x, y, x + w, y + h) #endif #ifdef DRAW_RESIZE_SHADOW /* These values derived through that age-old process of what looks good to me */ #define RESIZE_SIZE 4 #define DRAW_RESIZE(mw, display, win, dbg, x, y, w, h) \ DRAW_SHADOW(display, win, dbg, \ mw->matrix.resize_top_shadow_gc, \ mw->matrix.resize_bottom_shadow_gc, RESIZE_SIZE / 2, x, y, w, h, XmSHADOW_OUT) #endif static void DrawSlideColumn(XbaeMatrixWidget mw, int x) { Display *display = XtDisplay(mw); /* * Draw On the matrix */ DRAW_RESIZE(mw, display, XtWindow(mw), "win", x, HORIZ_SB_OFFSET(mw), RESIZE_SIZE, VISIBLE_NON_FIXED_HEIGHT(mw) + VISIBLE_FIXED_ROW_HEIGHT(mw) + VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw)); /* * Draw on the clips */ if (x >= FIXED_COLUMN_POSITION(mw) && x < FIXED_COLUMN_POSITION(mw) + VISIBLE_FIXED_COLUMN_WIDTH(mw)) { if (XtIsManaged(LeftClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(LeftClip(mw)), "LeftClip", x - FIXED_COLUMN_POSITION(mw), 0, RESIZE_SIZE, LeftClip(mw)->core.height); } } else if (x >= TRAILING_FIXED_COLUMN_POSITION(mw) && x < TRAILING_FIXED_COLUMN_POSITION(mw) + VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw)) { if (XtIsManaged(RightClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(RightClip(mw)), "RightClip", x - TRAILING_FIXED_COLUMN_POSITION(mw), 0, RESIZE_SIZE, RightClip(mw)->core.height); } } else if (x >= NON_FIXED_COLUMN_POSITION(mw) && x < NON_FIXED_COLUMN_POSITION(mw) + VISIBLE_NON_FIXED_WIDTH(mw)) { if (XtIsManaged(CenterClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(CenterClip(mw)), "CenterClip", x - NON_FIXED_COLUMN_POSITION(mw), 0, RESIZE_SIZE, CenterClip(mw)->core.height); } if (XtIsManaged(TopClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(TopClip(mw)), "TopClip", x - NON_FIXED_COLUMN_POSITION(mw), 0, RESIZE_SIZE, TopClip(mw)->core.height); } if (XtIsManaged(BottomClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(BottomClip(mw)), "BottomClip", x - NON_FIXED_COLUMN_POSITION(mw), 0, RESIZE_SIZE, BottomClip(mw)->core.height); } if (XtIsManaged(ColumnLabelClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(ColumnLabelClip(mw)), "ColumnLabelClip", x - NON_FIXED_COLUMN_POSITION(mw), 0, RESIZE_SIZE, ColumnLabelClip(mw)->core.height); } } } /* Derived from DrawSlideColumn */ static void DrawSlideRow(XbaeMatrixWidget mw, int y) { Display *display = XtDisplay(mw); /* * Draw On the matrix */ DRAW_RESIZE(mw, display, XtWindow(mw), "win", VERT_SB_OFFSET(mw), y, VISIBLE_NON_FIXED_WIDTH(mw) + VISIBLE_FIXED_COLUMN_WIDTH(mw) + VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw), RESIZE_SIZE); /* * Draw on the clips */ if (y >= FIXED_ROW_POSITION(mw) && y < FIXED_ROW_POSITION(mw) + VISIBLE_FIXED_ROW_HEIGHT(mw)) { if (XtIsManaged(TopClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(TopClip(mw)), "TopClip", 0, y - FIXED_ROW_POSITION(mw), TopClip(mw)->core.width, RESIZE_SIZE); } } else if (y >= TRAILING_FIXED_ROW_POSITION(mw) && y < TRAILING_FIXED_ROW_POSITION(mw) + VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw)) { if (XtIsManaged(BottomClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(BottomClip(mw)), "BottomClip", 0, y - TRAILING_FIXED_ROW_POSITION(mw), BottomClip(mw)->core.width, RESIZE_SIZE); } } else if (y >= NON_FIXED_ROW_POSITION(mw) && y < NON_FIXED_ROW_POSITION(mw) + VISIBLE_NON_FIXED_HEIGHT(mw)) { if (XtIsManaged(CenterClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(CenterClip(mw)), "CenterClip", 0, y - NON_FIXED_ROW_POSITION(mw), CenterClip(mw)->core.width, RESIZE_SIZE); } if (XtIsManaged(LeftClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(LeftClip(mw)), "LeftClip", 0, y - NON_FIXED_ROW_POSITION(mw), LeftClip(mw)->core.width, RESIZE_SIZE); } if (XtIsManaged(RightClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(RightClip(mw)), "RightClip", 0, y - NON_FIXED_ROW_POSITION(mw), RightClip(mw)->core.width, RESIZE_SIZE); } if (XtIsManaged(RowLabelClip(mw))) { DRAW_RESIZE(mw, display, XtWindow(RowLabelClip(mw)), "RowLabelClip", 0, y - NON_FIXED_ROW_POSITION(mw), RowLabelClip(mw)->core.width, RESIZE_SIZE); } } } static void MoveSlide(XbaeMatrixWidget mw, int event_pos, int *current_pos, short *current_size, Boolean size_in_pixels, int font_size, int smallest_allowed, void (*DrawSlide)(XbaeMatrixWidget, int)) { int new_size, new_pos, delta; /* * Calculate the new size and the new position of the slider */ if (size_in_pixels) { delta = event_pos - *current_pos; if (*current_size + delta < smallest_allowed) { /* Must keep the size greate than smallest_allowed */ delta = smallest_allowed - *current_size; } new_size = *current_size + delta; new_pos = *current_pos + delta; } else { delta = (event_pos - *current_pos) / font_size; if (*current_size + delta < 1) { /* Must keep the size at least on character big */ delta = 1 - *current_size; } new_size = *current_size + delta; new_pos = *current_pos + delta * font_size; } /* * If the new size is different from the old one, move the slider and update its position */ if (new_size != *current_size) { /* erase the old marker */ DrawSlide(mw, *current_pos); /* Save the new size of the row and the position of the marker */ *current_size = new_size; *current_pos = new_pos; /* Draw the marker line in the new location */ DrawSlide(mw, *current_pos); } } static void slideResize(XtPointer data) { XbaeMatrixResizeStruct *rd = (XbaeMatrixResizeStruct *) data; XbaeMatrixWidget mw = rd->pos.mw; /* * SGO: implemented a limit so that cells can't be smaller than 1 character */ int ROW_MINIMUM_HEIGHT = (mw->matrix.row_height_in_pixels) ? 2 * CELL_BORDER_HEIGHT(mw) + TEXT_HEIGHT(mw) : 1; int COLUMN_MINIMUM_WIDTH = (mw->matrix.column_width_in_pixels) ? 2 * CELL_BORDER_WIDTH(mw) + CELL_FONT_WIDTH(mw) : 1; if (rd->resize_row) { MoveSlide(mw, rd->pos.pointer_y, &rd->currenty, &rd->rowHeights[rd->row], mw->matrix.row_height_in_pixels, TEXT_HEIGHT(mw), ROW_MINIMUM_HEIGHT, DrawSlideRow); } if (rd->resize_column) { MoveSlide(mw, rd->pos.pointer_x, &rd->currentx, &rd->columnWidths[rd->column], mw->matrix.column_width_in_pixels, CELL_FONT_WIDTH(mw), COLUMN_MINIMUM_WIDTH, DrawSlideColumn); } } /* ARGSUSED */ void xbaeResizeColumnsACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; int x, y; int start_row, start_column; int i; XbaeMatrixResizeStruct resizeData; #ifdef DRAW_RESIZE_LINE XGCValues save, values; unsigned long gcmask; #endif Display *display = XtDisplay(w); int fuzzy = XBAE_RESIZE_FUZZ; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "resizeColumnsACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to ResizeColumns action", NULL, 0); return; } if (!xbaeEventToRowColumn(w, event, &start_row, &start_column, &x, &y)) { return; } DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "xbaeResizeColumnsACT: x %d y %d, row %d col %d\n", x, y, start_row, start_column)); /* * Figure out what the fuzzyness is */ if (mw->matrix.cell_shadow_thickness > fuzzy) { fuzzy = mw->matrix.cell_shadow_thickness; } /* * Figure out if we're resizing a row and/or a column */ resizeData.resize_row = False; if (mw->matrix.allow_row_resize) { if (y <= fuzzy) { /* * The click is at the top edge of the row: resize the first non hidden * row above */ for(resizeData.row = start_row - 1; resizeData.row >= 0 && mw->matrix.row_heights[resizeData.row] == 0; resizeData.row--) ; resizeData.resize_row = (resizeData.row >= 0); /* Can't resize the column labels */ } else if (ROW_HEIGHT(mw, start_row) - y <= fuzzy) { /* * The click is at the bottom edge of a row */ resizeData.row = start_row; resizeData.resize_row = (resizeData.row >= 0); /* Can't resize the column labels */ } } resizeData.resize_column = False; if (mw->matrix.allow_column_resize) { if (x <= fuzzy) { /* * The click is at the left edge of the column: resize the first non hidden * column to the left */ for(resizeData.column = start_column - 1; resizeData.column >= 0 && mw->matrix.column_widths[resizeData.column] == 0; resizeData.column--) ; resizeData.resize_column = (resizeData.column >= 0); /* Can't resize the row labels */ } else if (COLUMN_WIDTH(mw, start_column) - x <= fuzzy) { /* * The click is at the right edge of a column */ resizeData.column = start_column; resizeData.resize_column = (resizeData.column >= 0); /* Can't resize the row labels */ } } if (resizeData.resize_row || resizeData.resize_column) { /* * Make it here and it's time to start the fun stuff! */ Boolean haveText, haveHSB, haveVSB, resized_rows, resized_columns; haveText = mw->matrix.text_field_is_mapped; if (haveText) { int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); /* * Say goodbye to the TextField -> it only gets in the way! */ xbaeHideTextField(mw); /* * Redraw the cell that had the text field in it or it might stay blank */ xbaeDrawCell(mw, current_row, current_column); } #ifdef DRAW_RESIZE_LINE /* * Flush the commit events out to the server. Otherwise, our changes * to the GCs below have a bad effect. */ XSync(display, False); gcmask = GCForeground | GCBackground | GCFunction | GCPlaneMask | GCLineWidth; XGetGCValues(display, mw->matrix.draw_gc, gcmask, &save); values.foreground = mw->core.background_pixel; values.background = mw->manager.foreground; values.function = GXxor; values.plane_mask = AllPlanes; values.line_width = 3; XChangeGC(display, mw->matrix.draw_gc, gcmask, &values); #endif haveHSB = False; if (resizeData.resize_row) { if (XtIsManaged(HorizScrollChild(mw)) && !SCROLLBAR_LEFT(mw)) { /* * Say goodbye to the Horizontal ScrollBar -> it only gets in the way! */ haveHSB = True; XtUnmanageChild(HorizScrollChild(mw)); } /* Copy the rowHeight array */ resizeData.rowHeights = (short *) XtMalloc(mw->matrix.rows * sizeof(short)); for (i = 0; i < mw->matrix.rows; i++) resizeData.rowHeights[i] = mw->matrix.row_heights[i]; DrawSlideRow(mw, event->xbutton.y); } haveVSB = False; if (resizeData.resize_column) { if (XtIsManaged(VertScrollChild(mw)) && !SCROLLBAR_TOP(mw)) { /* * Say goodbye to the Vertical ScrollBar -> it only gets in the way! */ haveVSB = True; XtUnmanageChild(VertScrollChild(mw)); } /* Copy the columnWidth array */ resizeData.columnWidths = (short *) XtMalloc(mw->matrix.columns * sizeof(short)); for (i = 0; i < mw->matrix.columns; i++) resizeData.columnWidths[i] = mw->matrix.column_widths[i]; DrawSlideColumn(mw, event->xbutton.x); } /* Create the cursor */ if (mw->matrix.cursor) { XFreeCursor(display, mw->matrix.cursor); } if (resizeData.resize_row && resizeData.resize_column) { mw->matrix.cursor = XCreateFontCursor(display, XC_sizing); } else if (resizeData.resize_row) { mw->matrix.cursor = XCreateFontCursor(display, XC_sb_v_double_arrow); } else if (resizeData.resize_column) { mw->matrix.cursor = XCreateFontCursor(display, XC_sb_h_double_arrow); } resizeData.currentx = event->xbutton.x; resizeData.currenty = event->xbutton.y; waitForButtonRelease(mw, mw->matrix.cursor, &resizeData.pos, slideResize); resized_rows = False; if (resizeData.resize_row) { /* * Erase the slider */ DrawSlideRow(mw, resizeData.currenty); if (mw->matrix.resize_row_callback) { XbaeMatrixResizeRowCallbackStruct call_data; call_data.reason = XbaeResizeRowReason; call_data.event = event; call_data.row = start_row; call_data.column = start_column; call_data.which = resizeData.row; call_data.rows = mw->matrix.rows; call_data.row_heights = resizeData.rowHeights; XtCallCallbackList((Widget) mw, mw->matrix.resize_row_callback, (XtPointer) & call_data); } for (i = 0; !resized_rows && i < mw->matrix.rows; i++) { resized_rows = (resizeData.rowHeights[i] != mw->matrix.row_heights[i]); } } resized_columns = False; if (resizeData.resize_column) { /* * Erase the slider */ DrawSlideColumn(mw, resizeData.currentx); if (mw->matrix.resize_column_callback) { XbaeMatrixResizeColumnCallbackStruct call_data; call_data.reason = XbaeResizeColumnReason; call_data.event = event; call_data.row = start_row; call_data.column = start_column; call_data.which = resizeData.column; call_data.columns = mw->matrix.columns; call_data.column_widths = resizeData.columnWidths; XtCallCallbackList((Widget) mw, mw->matrix.resize_column_callback, (XtPointer) & call_data); } for (i = 0; !resized_columns && i < mw->matrix.columns; i++) { resized_columns = (resizeData.columnWidths[i] != mw->matrix.column_widths[i]); } } #ifdef DRAW_RESIZE_LINE XChangeGC(display, mw->matrix.draw_gc, gcmask, &save); #endif /* * Make sure everything is handled correctly with SetValues */ if (resized_rows && resized_columns) { XtVaSetValues((Widget) mw, XmNrowHeights, resizeData.rowHeights, XmNcolumnWidths, resizeData.columnWidths, NULL); } else if (resized_rows) { XtVaSetValues((Widget) mw, XmNrowHeights, resizeData.rowHeights, NULL); } else if (resized_columns) { XtVaSetValues((Widget) mw, XmNcolumnWidths, resizeData.columnWidths, NULL); } else { /* * Since we don't call SetValues in this case, we must remanage the * scrollbars if we unmanaged them. */ if (haveHSB) { XtManageChild(HorizScrollChild(mw)); } if (haveVSB) { XtManageChild(VertScrollChild(mw)); } } if (resizeData.resize_row) { XtFree((XtPointer) resizeData.rowHeights); } if (resizeData.resize_column) { XtFree((XtPointer) resizeData.columnWidths); } if (haveText) { xbaePositionTextField(mw); } } } /**************************************************************************************************/ /*ARGSUSED*/ static void scrollLabel(XtPointer data) { XbaeMatrixButtonPressedStruct *buttonData = (XbaeMatrixButtonPressedStruct *) data; XbaeMatrixPositionStruct *pos = &buttonData->pos; XbaeMatrixWidget mw = pos->mw; Boolean scrolling = False; Boolean pressed; int row, column; int x = pos->pointer_x; int y = pos->pointer_y; if (!pos->grabbed) return; if (!pos->timerID) { /* * We are called following a pointer motion. Recalculate the distance * the pointer is out of the scrollable region */ buttonData->disty = 0; if (buttonData->initial_region & CLIP_VISIBLE_HEIGHT) { if (y < NON_FIXED_ROW_POSITION(mw)) { buttonData->disty = y - NON_FIXED_ROW_POSITION(mw); } else if (y > NON_FIXED_ROW_POSITION(mw) + VISIBLE_NON_FIXED_HEIGHT(mw) - 1) { buttonData->disty = y - (NON_FIXED_ROW_POSITION(mw) + VISIBLE_NON_FIXED_HEIGHT(mw) - 1); } } buttonData->distx = 0; if (buttonData->initial_region & CLIP_VISIBLE_WIDTH) { if (x < NON_FIXED_COLUMN_POSITION(mw)) { buttonData->distx = x - NON_FIXED_COLUMN_POSITION(mw); } else if (x > NON_FIXED_COLUMN_POSITION(mw) + VISIBLE_NON_FIXED_WIDTH(mw) - 1) { buttonData->distx = x - (NON_FIXED_COLUMN_POSITION(mw) + VISIBLE_NON_FIXED_WIDTH(mw) - 1); } } } /* * If we are off the originial clip widget and there are cells that could * be scrolled into view do so. */ if (buttonData->initial_region & CLIP_VISIBLE_HEIGHT) { if (buttonData->disty < 0) { xbaeScrollRows(mw, buttonData->disty); scrolling = True; } else if (buttonData->disty > 0) { xbaeScrollRows(mw, buttonData->disty); scrolling = True; } } if (buttonData->initial_region & CLIP_VISIBLE_WIDTH) { if (buttonData->distx < 0) { xbaeScrollColumns(mw, buttonData->distx); scrolling = True; } else if (buttonData->distx > 0) { xbaeScrollColumns(mw, buttonData->distx); scrolling = True; } } /* * If the status of whether or not the button should be pressed has * changed, redraw the appropriate visual */ xbaeMatrixXYToRowCol(mw, &x, &y, &row, &column); pressed = (row == buttonData->label_row && column == buttonData->label_column); if (pressed != buttonData->pressed) { if (buttonData->label_column == -1) xbaeDrawRowLabel(mw, buttonData->label_row, pressed); else if (buttonData->label_row == -1) xbaeDrawColumnLabel(mw, buttonData->label_column, pressed); /* And set our struct's pressed member to the current setting */ buttonData->pressed = pressed; } if (scrolling) { /* * Flush the updates out to the server so we don't end up * lagging behind too far and end up with a million redraw * requests. Particularly for higher update speeds. */ XFlush(XtDisplay((Widget) mw)); /* * Reschedule this function so it can keep scrolling */ pos->timerID = XtAppAddTimeOut(pos->app_context, DEFAULT_SCROLL_SPEED, (XtTimerCallbackProc) scrollLabel, data); } else { pos->timerID = 0; } } void xbaeLabelACT(Widget w, XEvent * event, String * params, Cardinal * nparams) { XbaeMatrixWidget mw; XbaeMatrixButtonPressedStruct buttonData; int x, y; int row, column, initial_region; DEBUGOUT(_XbaeDebug(__FILE__, w, "xbaeLabelACT()\n")); /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "xbaeLabelACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to Label action", NULL, 0); return; } /* * We are only interested in ButtonPress events - the ButtonRelease * events are handled in the event handler loop below. */ if (event->type != ButtonPress) { return; } initial_region = xbaeEventToRowColumn(w, event, &row, &column, &x, &y); if ( (mw->matrix.button_labels && (initial_region & (CLIP_ROW_LABELS | CLIP_COLUMN_LABELS))) || (mw->matrix.column_button_labels && mw->matrix.column_button_labels[column] && (initial_region & CLIP_COLUMN_LABELS)) || (mw->matrix.row_button_labels && mw->matrix.row_button_labels[row] && (initial_region & CLIP_COLUMN_LABELS))) { if (column == -1) { /* row label */ DEBUGOUT(_XbaeDebug(__FILE__, w, "Action in row label\n")); xbaeDrawRowLabel(mw, row, True); } else if (row == -1) { /* Column label */ DEBUGOUT(_XbaeDebug(__FILE__, w, "Action in column label\n")); xbaeDrawColumnLabel(mw, column, True); } /* Action stations! */ buttonData.label_row = row; buttonData.label_column = column; buttonData.pressed = True; buttonData.initial_region = initial_region; buttonData.distx = 0; buttonData.disty = 0; waitForButtonRelease(mw, None, &buttonData.pos, scrollLabel); if (buttonData.pressed) { /* * If the button is still pressed, it has been released in the * same button that was pressed. "Unpress" it and call the * callbacks */ if (column == -1) { xbaeDrawRowLabel(mw, row, False); } else if (row == -1) { xbaeDrawColumnLabel(mw, column, False); } if (mw->matrix.label_activate_callback) { XbaeMatrixLabelActivateCallbackStruct call_data; call_data.reason = XbaeLabelActivateReason; call_data.event = event; call_data.row_label = (column == -1); call_data.row = row; call_data.column = column; if (column == -1) call_data.label = mw->matrix.row_labels[row]; else call_data.label = mw->matrix.column_labels[column]; XtCallCallbackList((Widget) mw, mw->matrix.label_activate_callback, (XtPointer) & call_data); } } } } /**************************************************************************************************/ static void callSelectCellCallbacks(XbaeMatrixWidget mw, XEvent * event, int row, int column, String * params, Cardinal num_params) { XbaeMatrixSelectCellCallbackStruct call_data; call_data.reason = XbaeSelectCellReason; call_data.event = event; call_data.row = row; call_data.column = column; call_data.num_params = num_params; call_data.params = params; call_data.cells = NULL; /* mw->matrix.cells */ call_data.selected_cells = NULL; /* mw->matrix.selected_cells */ /* * Need to create a new structure and pass this to the callback. * Before the PER_CELL change, this was an easy action because * we could pass an existing structure. Now we need to build * it especially for this callback. */ XtCallCallbackList((Widget) mw, mw->matrix.select_cell_callback, (XtPointer) & call_data); } static void scrollSelect(XtPointer data) { XbaeMatrixScrollStruct *ss = (XbaeMatrixScrollStruct *) data; XbaeMatrixPositionStruct *pos = &ss->pos; XbaeMatrixWidget mw = pos->mw; Boolean scrolling = False; int row, column, next_row, next_column, current_row_region, current_column_region; int x = pos->pointer_x; int y = pos->pointer_y; if (!pos->grabbed) return; if (!pos->timerID) { /* * We are called following a pointer motion. Recalculate the distance * the pointer is out of the scrollable region */ ss->disty = 0; if (ss->initial_region & CLIP_VISIBLE_HEIGHT) { if (y < NON_FIXED_ROW_POSITION(mw)) { ss->disty = y - NON_FIXED_ROW_POSITION(mw); } else if (y > NON_FIXED_ROW_POSITION(mw) + VISIBLE_NON_FIXED_HEIGHT(mw) - 1) { ss->disty = y - (NON_FIXED_ROW_POSITION(mw) + VISIBLE_NON_FIXED_HEIGHT(mw) - 1); } } ss->distx = 0; if (ss->initial_region & CLIP_VISIBLE_WIDTH) { if (x < NON_FIXED_COLUMN_POSITION(mw)) { ss->distx = x - NON_FIXED_COLUMN_POSITION(mw); } else if (x > NON_FIXED_COLUMN_POSITION(mw) + VISIBLE_NON_FIXED_WIDTH(mw) - 1) { ss->distx = x - (NON_FIXED_COLUMN_POSITION(mw) + VISIBLE_NON_FIXED_WIDTH(mw) - 1); } } } /* * If we are off the originial clip widget and there are cells that could * be scrolled into view do so. */ next_row = ss->last_row; if (ss->initial_region & CLIP_VISIBLE_HEIGHT) { if (ss->disty < 0) { xbaeScrollRows(mw, ss->disty); next_row = xbaeTopRow(mw); scrolling = True; } else if (ss->disty > 0) { xbaeScrollRows(mw, ss->disty); next_row = xbaeBottomRow(mw); scrolling = True; } } next_column = ss->last_column; if (ss->initial_region & CLIP_VISIBLE_WIDTH) { if (ss->distx < 0) { xbaeScrollColumns(mw, ss->distx); next_column = xbaeLeftColumn(mw); scrolling = True; } else if (ss->distx > 0) { xbaeScrollColumns(mw, ss->distx); next_column = xbaeRightColumn(mw); scrolling = True; } } /* * Figure out what cell to select next */ current_row_region = xbaeMatrixYtoRow(mw, &y, &row); current_column_region = xbaeMatrixXtoColumn(mw, &x, &column); if (current_row_region & ss->initial_region) { next_row = row; } if (current_column_region & ss->initial_region) { next_column = column; } /* * If we are not over the same cell as the last time arround, * call the selectCellCB */ if ((next_row != ss->last_row || next_column != ss->last_column) && ( mw->matrix.selection_policy == XmMULTIPLE_SELECT || mw->matrix.selection_policy == XmEXTENDED_SELECT)) { //Boolean old_scroll_select = mw->matrix.scroll_select; //mw->matrix.scroll_select = False; callSelectCellCallbacks(mw, ss->event, next_row, next_column, ss->params, ss->num_params); //mw->matrix.scroll_select = old_scroll_select; ss->last_row = next_row; ss->last_column = next_column; } if (scrolling) { /* * Flush the updates out to the server so we don't end up * lagging behind too far and end up with a million redraw * requests. Particularly for higher update speeds. */ XFlush(XtDisplay((Widget) mw)); /* * Reschedule this function so it can keep scrolling */ pos->timerID = XtAppAddTimeOut(pos->app_context, DEFAULT_SCROLL_SPEED, (XtTimerCallbackProc) scrollSelect, data); } else { pos->timerID = 0; } } /* ARGSUSED */ void xbaeSelectCellACT(Widget w, XEvent * event, String * params, Cardinal * num_params) { XbaeMatrixWidget mw; int x, y; int row, column, initial_region; XbaeMatrixScrollStruct scrollData; /* * Get the Matrix widget. w could be the TextField one of the * cellWidgets or the Matrix itself */ mw = xbaeEventToMatrixWidget(w, event); if (!mw) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "xbaeSelectCellACT", "badWidget", "XbaeMatrix", "XbaeMatrix: Bad widget passed to SelectCell action", NULL, 0); return; } initial_region = xbaeEventToRowColumn(w, event, &row, &column, &x, &y); if (initial_region == 0) { return; } /* * Call our select_cell callbacks */ if (mw->matrix.select_cell_callback) { callSelectCellCallbacks(mw, event, row, column, params, *num_params); } /* * When the click was in a label don't scroll select */ if (initial_region & (CLIP_ROW_LABELS | CLIP_COLUMN_LABELS)) { return; } /* * If it's not a buttonPress event, don't start scrolling */ if (event->type != ButtonPress) { return; } /* * If the first parameter isn't "Pointer", don't scroll select */ if (*num_params == 0 || strcmp(params[0], "PointerExtend") != 0) { return; } scrollData.event = event; scrollData.num_params = *num_params; scrollData.params = params; scrollData.initial_region = initial_region; scrollData.last_row = row; scrollData.last_column = column; scrollData.distx = 0; scrollData.disty = 0; params[0] += sizeof("Pointer") - 1; waitForButtonRelease(mw, None, &scrollData.pos, scrollSelect); params[0] -= sizeof("Pointer") - 1; } void xbaeHandleMotionACT(Widget w, XEvent * event, String * params, Cardinal * nparams){ /* The work here is now done in selectCellAction. This function * is here only so people don't get warnings about missing actions */ } xbae-4.60.4/src/Utils.c0000644000076400007640000013101610432427471011516 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Utils.c,v 1.123 2006/05/16 19:59:53 tobiasoed Exp $ */ /* * Utils.c created by Andrew Lister (7 August, 1995) */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #include static int xbaeRowClip(XbaeMatrixWidget mw, int row) { int clip; if (row == -1) { clip = CLIP_COLUMN_LABELS; } else if (IS_LEADING_FIXED_ROW(mw, row)) { clip = CLIP_FIXED_ROWS; } else if (IS_TRAILING_FIXED_ROW(mw, row)) { clip = CLIP_TRAILING_FIXED_ROWS; } else { clip = CLIP_VISIBLE_HEIGHT; } return clip; } static int xbaeColumnClip(XbaeMatrixWidget mw, int column) { int clip; if (column == -1) { clip = CLIP_ROW_LABELS; } else if (IS_LEADING_FIXED_COLUMN(mw, column)) { clip = CLIP_FIXED_COLUMNS; } else if (IS_TRAILING_FIXED_COLUMN(mw, column)) { clip = CLIP_TRAILING_FIXED_COLUMNS; } else { clip = CLIP_VISIBLE_WIDTH; } return clip; } static int xbaeCellClip(XbaeMatrixWidget mw, int row, int column) { return xbaeRowClip(mw, row) | xbaeColumnClip(mw, column); } /* * Returns the widget to which a cell belongs, i.e. the matrix, or one * or one of the extra clips which handle the fixed row/col cells/labels */ static Widget xbaeGetCellClip(XbaeMatrixWidget mw, int row, int column) { int clip = xbaeCellClip(mw, row, column); Widget w; switch (clip) { case CLIP_VISIBLE_WIDTH | CLIP_VISIBLE_HEIGHT: /* not fixed at all - on center clip */ w = CenterClip(mw); break; case CLIP_FIXED_COLUMNS | CLIP_VISIBLE_HEIGHT: /* fixed col only - on left clip */ w = LeftClip(mw); break; case CLIP_TRAILING_FIXED_COLUMNS | CLIP_VISIBLE_HEIGHT: /* fixed trailing col only - on right clip */ w = RightClip(mw); break; case CLIP_ROW_LABELS | CLIP_VISIBLE_HEIGHT: /* non fixed row labels - on row label clip */ w = RowLabelClip(mw); break; case CLIP_FIXED_ROWS | CLIP_VISIBLE_WIDTH: /* fixed row only - on top clip */ w = TopClip(mw); break; case CLIP_TRAILING_FIXED_ROWS | CLIP_VISIBLE_WIDTH: /* fixed trailing row only - on bottom clip */ w = BottomClip(mw); break; case CLIP_COLUMN_LABELS | CLIP_VISIBLE_WIDTH: /* non fixed column labels - on column label clip */ w = ColumnLabelClip(mw); break; default: /* total fixed cell/labels - on parent matrix window */ w = (Widget) mw; break; } assert(w); return w; } /* * Cache the virtual position of each row/column */ static void xbaeGetPosition(int n, Boolean size_in_pixels, short *sizes, int *positions, int font_size, int border_size) { int i, pos; if (size_in_pixels) { for (i = 0, pos = 0; i < n; i++) { positions[i] = pos; pos += sizes[i]; } } else { for (i = 0, pos = 0; i < n; i++) { positions[i] = pos; if (sizes[i] != 0) { pos += sizes[i] * font_size + 2 * border_size; } } } /* Tobias: The positions arrays are one element longer than * the number of columns/rows in the matrix. We need to initialze * the last element so wo can calculate sizes safely from the * the difference of any two positions */ positions[n] = pos; } void xbaeGetColumnPositions(XbaeMatrixWidget mw) { xbaeGetPosition(mw->matrix.columns, mw->matrix.column_width_in_pixels, mw->matrix.column_widths, mw->matrix.column_positions, CELL_FONT_WIDTH(mw), CELL_BORDER_WIDTH(mw)); } void xbaeGetRowPositions(XbaeMatrixWidget mw) { xbaeGetPosition(mw->matrix.rows, mw->matrix.row_height_in_pixels, mw->matrix.row_heights, mw->matrix.row_positions, TEXT_HEIGHT(mw), CELL_BORDER_HEIGHT(mw)); } static int xbaeCheckPosition(int n, Boolean size_in_pixels, short *sizes, int *positions, int font_size, int border_size, int j) { int i, pos; if (size_in_pixels == True) { for (i = 0, pos = 0; i < n; pos += sizes[i], i++) { assert(positions[i] == pos); } } else { for (i = 0, pos = 0; i < n; pos += sizes[i] * font_size + 2 * border_size, i++) { assert(positions[i] == pos); } } assert(positions[n] == pos); assert(j >= 0 && j <= n); return positions[j]; } int xbaeCheckColumnPosition(XbaeMatrixWidget mw, int column) { return xbaeCheckPosition(mw->matrix.columns, mw->matrix.column_width_in_pixels, mw->matrix.column_widths, mw->matrix.column_positions, CELL_FONT_WIDTH(mw), CELL_BORDER_WIDTH(mw), column); } int xbaeCheckRowPosition(XbaeMatrixWidget mw, int row) { return xbaeCheckPosition(mw->matrix.rows, mw->matrix.row_height_in_pixels, mw->matrix.row_heights, mw->matrix.row_positions, TEXT_HEIGHT(mw), CELL_BORDER_HEIGHT(mw), row); } /* * Find where a virtual coordinate falls by (binary) searching the positions array */ static int findPosition(int *positions, int start, int end, int pos) { int middle; /* Tobias: Neither of the conditions should ever be true. If they are there is a bug somewhere * up the call stack. So far I found three. The rest of xbae tries to fix problems instead of failing * so we do the same here to keep up with the debugging fun. */ if (pos < positions[start]) { DEBUGOUT(_XbaeDebug (__FILE__, NULL, "pos[start=%d]=%d pos[end=%d]=%d pos=%d\n", start, positions[start], end, positions[end], pos)); return start; } else if (pos > positions[end] - 1) { DEBUGOUT(_XbaeDebug (__FILE__, NULL, "pos[start=%d]=%d pos[end=%d]=%d pos=%d\n", start, positions[start], end, positions[end], pos)); return end - 1; } for (;;) { middle = (start + end) / 2; if (positions[middle] > pos) { end = middle; } else if (positions[middle + 1] - 1 < pos) { start = middle; } else { break; } } return middle; } static int xbaeXtoCol(XbaeMatrixWidget mw, int x) { return findPosition(mw->matrix.column_positions, 0, mw->matrix.columns, x); } static int xbaeYtoRow(XbaeMatrixWidget mw, int y) { return findPosition(mw->matrix.row_positions, 0, mw->matrix.rows, y); } /* * Return the top and bottom-most visible non-fixed row */ int xbaeTopRow(XbaeMatrixWidget mw) { return xbaeYtoRow(mw, FIXED_ROW_HEIGHT(mw) + VERT_ORIGIN(mw)); } int xbaeBottomRow(XbaeMatrixWidget mw) { return xbaeYtoRow(mw, FIXED_ROW_HEIGHT(mw) + VERT_ORIGIN(mw) + VISIBLE_NON_FIXED_HEIGHT(mw) - 1); } void xbaeGetVisibleRows(XbaeMatrixWidget mw, int *top_row, int *bottom_row) { *top_row = xbaeTopRow(mw); *bottom_row = xbaeBottomRow(mw); } /* * Return the left and right-most visible non-fixed column */ int xbaeLeftColumn(XbaeMatrixWidget mw) { return xbaeXtoCol(mw, FIXED_COLUMN_WIDTH(mw) + HORIZ_ORIGIN(mw)); } int xbaeRightColumn(XbaeMatrixWidget mw) { return xbaeXtoCol(mw, FIXED_COLUMN_WIDTH(mw) + HORIZ_ORIGIN(mw) + VISIBLE_NON_FIXED_WIDTH(mw) - 1); } void xbaeGetVisibleColumns(XbaeMatrixWidget mw, int *left_column, int *right_column) { *left_column = xbaeLeftColumn(mw); *right_column = xbaeRightColumn(mw); } /* * Return the top and bottom row and left and right column of * the visible non-fixed cells */ void xbaeGetVisibleCells(XbaeMatrixWidget mw, int *top_row, int *bottom_row, int *left_column, int *right_column) { xbaeGetVisibleRows(mw, top_row, bottom_row); xbaeGetVisibleColumns(mw, left_column, right_column); } /* * Try to make a row/column top/left row/column. The row/column is relative to * fixed_rows/columns - so 0 would be the first non-fixed row/column. * If we can't make it the top row/left column, make it as close as possible. */ int xbaeCalculateVertOrigin(XbaeMatrixWidget mw, int top_row) { if (NON_FIXED_HEIGHT(mw) < VISIBLE_NON_FIXED_HEIGHT(mw)) { return 0; } else if (ROW_POSITION(mw, TRAILING_ROW_ORIGIN(mw)) - ROW_POSITION(mw, mw->matrix.fixed_rows + top_row) < VISIBLE_NON_FIXED_HEIGHT(mw)) { return NON_FIXED_HEIGHT(mw) - VISIBLE_NON_FIXED_HEIGHT(mw); } else { return ROW_POSITION(mw, mw->matrix.fixed_rows + top_row) - FIXED_ROW_HEIGHT(mw); } } int xbaeCalculateHorizOrigin(XbaeMatrixWidget mw, int left_column) { if (NON_FIXED_WIDTH(mw) < VISIBLE_NON_FIXED_WIDTH(mw)) { return 0; } else if (COLUMN_POSITION(mw, TRAILING_COLUMN_ORIGIN(mw)) - COLUMN_POSITION(mw, mw->matrix.fixed_columns + left_column) < VISIBLE_NON_FIXED_WIDTH(mw)) { return NON_FIXED_WIDTH(mw) - VISIBLE_NON_FIXED_WIDTH(mw); } else { return COLUMN_POSITION(mw, mw->matrix.fixed_columns + left_column) - FIXED_COLUMN_WIDTH(mw); } } /* * Return True if a row is visible on the screen (not scrolled totally off) */ Boolean xbaeIsRowVisible(XbaeMatrixWidget mw, int row) { /* * If we are not in a fixed row or trailing fixed row, * see if we are on the screen vertically * (fixed rows are always on the screen) */ if (!IS_FIXED_ROW(mw, row)) { /* SGO: used same method as IsColumnVisible */ int y; y = ROW_POSITION(mw, row) - ROW_POSITION(mw, mw->matrix.fixed_rows) - VERT_ORIGIN(mw); if (y + ROW_HEIGHT(mw, row) > 0 && y < VISIBLE_NON_FIXED_HEIGHT(mw)) return True; } else return True; return False; } /* * Return True if a column is visible on the screen (not scrolled totally off) */ Boolean xbaeIsColumnVisible(XbaeMatrixWidget mw, int column) { /* * If we are not in a fixed column, see if we are on the screen * horizontally (fixed columns are always on the screen) */ if (!IS_FIXED_COLUMN(mw, column)) { int x; /* * Calculate the x position of the column relative to the clip */ x = COLUMN_POSITION(mw, column) - COLUMN_POSITION(mw, mw->matrix.fixed_columns) - HORIZ_ORIGIN(mw); /* * Check if we are visible horizontally */ if (x + COLUMN_WIDTH(mw, column) > 0 && x < VISIBLE_NON_FIXED_WIDTH(mw)) return True; } else return True; return False; } /* * Return True if a cell is visible on the screen (not scrolled totally off) */ Boolean xbaeIsCellVisible(XbaeMatrixWidget mw, int row, int column) { return xbaeIsRowVisible(mw, row) && xbaeIsColumnVisible(mw, column); } /* * Scroll a row so it is visible on the screen. */ void xbaeMakeRowVisible(XbaeMatrixWidget mw, int row) { int value, slider_size, increment, page_increment, y, vert_value; /* * If we are in a fixed column, we are already visible. */ if (IS_FIXED_ROW(mw, row)) return; /* * Calculate the y position of this row */ y = ROW_POSITION(mw, row) - ROW_POSITION(mw, mw->matrix.fixed_rows); /* * Figure out the new value of the VSB to scroll this cell * onto the screen. If the whole cell won't fit, scroll so its * top edge is visible. */ if (y < VERT_ORIGIN(mw) || ROW_HEIGHT(mw, row) >= VISIBLE_NON_FIXED_HEIGHT(mw)) { vert_value = y; } else if (y + ROW_HEIGHT(mw, row) > VISIBLE_NON_FIXED_HEIGHT(mw) + VERT_ORIGIN(mw)) { vert_value = y + ROW_HEIGHT(mw, row) - VISIBLE_NON_FIXED_HEIGHT(mw); } else { vert_value = VERT_ORIGIN(mw); } /* * Give the VSB the new value and pass a flag to make it * call our scroll callbacks */ if (vert_value != VERT_ORIGIN(mw)) { XmScrollBarGetValues(VertScrollChild(mw), &value, &slider_size, &increment, &page_increment); XmScrollBarSetValues(VertScrollChild(mw), vert_value, slider_size, increment, page_increment, True); } } /* * Scroll a column so it is visible on the screen. */ void xbaeMakeColumnVisible(XbaeMatrixWidget mw, int column) { int value, slider_size, increment, page_increment, x, horiz_value; /* * If we are in a fixed column, we are already visible. */ if (IS_FIXED_COLUMN(mw, column)) return; /* * Calculate the x position of this column */ x = COLUMN_POSITION(mw, column) - COLUMN_POSITION(mw, mw->matrix.fixed_columns); /* * Figure out the new value of the HSB to scroll this cell * onto the screen. If the whole cell won't fit, scroll so its * left edge is visible. */ if (x < HORIZ_ORIGIN(mw) || COLUMN_WIDTH(mw, column) >= VISIBLE_NON_FIXED_WIDTH(mw)) { horiz_value = x; } else if (x + COLUMN_WIDTH(mw, column) > VISIBLE_NON_FIXED_WIDTH(mw) + HORIZ_ORIGIN(mw)) { horiz_value = x + COLUMN_WIDTH(mw, column) - VISIBLE_NON_FIXED_WIDTH(mw); } else { horiz_value = HORIZ_ORIGIN(mw); } /* * Give the HSB the new value and pass a flag to make it * call our scroll callbacks */ if (horiz_value != HORIZ_ORIGIN(mw)) { XmScrollBarGetValues(HorizScrollChild(mw), &value, &slider_size, &increment, &page_increment); XmScrollBarSetValues(HorizScrollChild(mw), horiz_value, slider_size, increment, page_increment, True); } } /* * Scrolls a fixed or non-fixed cell so it is visible on the screen. */ void xbaeMakeCellVisible(XbaeMatrixWidget mw, int row, int column) { if (!xbaeIsRowVisible(mw, row)) xbaeMakeRowVisible(mw, row); if (!xbaeIsColumnVisible(mw, column)) xbaeMakeColumnVisible(mw, column); } void xbaeComputeSize(XbaeMatrixWidget mw, Boolean compute_width, Boolean compute_height) { int full_width = TOTAL_WIDTH(mw) + ROW_LABEL_WIDTH(mw) + 2 * mw->manager.shadow_thickness; int full_height = TOTAL_HEIGHT(mw) + COLUMN_LABEL_HEIGHT(mw) + 2 * mw->manager.shadow_thickness; int width, height; /* * Calculate our width. * If visible_columns is set, then base it on that. * Otherwise, if the compute_width flag is set, then we are full width. * Otherwise we keep whatever width we are. */ DEBUGOUT(_XbaeDebug(__FILE__, (Widget) mw, "xbaeComputeSize compute_width = %s compute_height = %s\n" " visible_columns = %d visible_rows = %d\n" " width = %d height =%d\n" " full_width = %d full_height = %d\n", compute_width ? "True" : "False", compute_height ? "True" : "False", mw->matrix.visible_columns, mw->matrix.visible_rows, mw->core.width, mw->core.height, full_width, full_height)); if (mw->matrix.visible_columns) { width = ROW_LABEL_WIDTH(mw) + 2 * mw->manager.shadow_thickness + FIXED_COLUMN_WIDTH(mw) + TRAILING_FIXED_COLUMN_WIDTH(mw) + NON_FIXED_WIDTH(mw) * mw->matrix.visible_columns / (mw->matrix.columns - mw->matrix.fixed_columns - mw->matrix.trailing_fixed_columns); } else if (compute_width) { width = full_width; } else { width = mw->core.width; } /* * Calculate our height. * If visible_rows is set, then base it on that. * Otherwise, if the compute_height flag is set, then we are full height. * Otherwise we keep whatever height we are. */ if (mw->matrix.visible_rows) { height = COLUMN_LABEL_HEIGHT(mw) + 2 * mw->manager.shadow_thickness + FIXED_ROW_HEIGHT(mw) + TRAILING_FIXED_ROW_HEIGHT(mw) + NON_FIXED_HEIGHT(mw) * mw->matrix.visible_rows / (mw->matrix.rows - mw->matrix.fixed_rows - mw->matrix.trailing_fixed_rows); } else if (compute_height) { height = full_height; } else { height = mw->core.height; } /* * If we are allowed to modify our height and we need to display a hsb * include it's size in the computation */ if ( (compute_height || mw->matrix.visible_rows) && ( (mw->matrix.hsb_display_policy == XmDISPLAY_STATIC) || (mw->matrix.hsb_display_policy == XmDISPLAY_AS_NEEDED && width < full_width))) height += HORIZ_SB_HEIGHT(mw); /* * If we are allowed to modify our width and we need to display a vsb * include it's size in the computation */ if ( (compute_width || mw->matrix.visible_columns) && ( (mw->matrix.vsb_display_policy == XmDISPLAY_STATIC) || (mw->matrix.vsb_display_policy == XmDISPLAY_AS_NEEDED && height < full_height))) width += VERT_SB_WIDTH(mw); /* * Store our calculated size. */ mw->core.width = width; mw->core.height = height; /* * Save our calculated size for use in our query_geometry method. * This is the size we really want to be (not necessarily the size * we will end up being). */ mw->matrix.desired_width = width; mw->matrix.desired_height = height; DEBUGOUT(_XbaeDebug(__FILE__, (Widget) mw, "xbaeComputeSize -> w %d h %d\n", width, height)); } /* * Return the length of the longest line in string */ static int xbaeMaxLen(String string) { char *nl; int max_len = 0; /* * Get the length of the longest line terminated by \n */ while ((nl = strchr(string, '\n')) != NULL) { int len = nl - string; if (len > max_len) { max_len = len; } string = nl + 1; } /* * If the last line wasn't terminated with a \n take it into account */ if (*string != '\0') { int len = strlen(string); if (len > max_len) { max_len = len; } } return max_len; } /* * Return the number of lines in string */ static int xbaeCountLines(String string) { char *nl; int n_lines = 0; /* * Count the number of lines terminated by \n */ while ((nl = strchr(string, '\n')) != NULL) { n_lines++; string = nl + 1; } /* * If the last line wasn't terminated by a \n take it into account */ if (*string != '\0') { n_lines++; } return n_lines; } /* * Return the length of the longest line of all row_labels */ int xbaeCalculateLabelMaxLength(XbaeMatrixWidget mw, String *labels, XmString *xmlabels, int n_labels) { int i; int max_len = 0; /* * Determine the length of the longest row label */ if (labels || xmlabels) { for (i = 0; i < n_labels; i++) { int len = 0; if (xmlabels && xmlabels[i]) { #if XmVERSION >= 2 int width = XmStringWidth((mw->matrix.render_table) ? mw->matrix.render_table : (mw->matrix.label_font_list) ? mw->matrix.label_font_list : mw->matrix.font_list, xmlabels[i]); #else int width = XmStringWidth((mw->matrix.label_font_list) ? mw->matrix.label_font_list : mw->matrix.font_list, xmlabels[i]); #endif len = width / LABEL_FONT_WIDTH(mw) + ((width % LABEL_FONT_WIDTH(mw)) > 0); } else if (labels && labels[i]) { len = xbaeMaxLen(labels[i]); } if (len > max_len) { max_len = len; } } } return max_len; } /* * Return the maximum number of lines in labels */ int xbaeCalculateLabelMaxLines(String *labels, XmString *xmlabels, int n_labels) { int i; int max_lines = 0; if (labels || xmlabels) { for(i = 0; i < n_labels; i++) { int n_lines = 0; if (xmlabels && xmlabels[i]) { n_lines = XmStringLineCount(xmlabels[i]); } else if (labels && labels[i]) { n_lines = xbaeCountLines(labels[i]); } if (n_lines > max_lines) { max_lines = n_lines; } } } return max_lines; } /* * Convert a matrix window x position to a column. * Return the clip region if x falls in a column or a row label. If so adjust x so that it's * relative to the column/label. If not return 0 and leave x alone */ int xbaeMatrixXtoColumn(XbaeMatrixWidget mw, int *x, int *column) { if (*x >= VERT_SB_OFFSET(mw) && *x < VERT_SB_OFFSET(mw) + ROW_LABEL_WIDTH(mw)) { /* In the row labels */ *column = -1; *x -= VERT_SB_OFFSET(mw); return CLIP_ROW_LABELS; } else if (*x >= FIXED_COLUMN_POSITION(mw) && *x < FIXED_COLUMN_POSITION(mw) + VISIBLE_FIXED_COLUMN_WIDTH(mw)) { /* In the fixed columns */ *x -= FIXED_COLUMN_POSITION(mw); if(*x >= COLUMN_POSITION(mw, mw->matrix.fixed_columns)) { /* We are in the horizontal fill */ *column = mw->matrix.fixed_columns - 1; } else { /* Get the column it corresponds to */ *column = xbaeXtoCol(mw, *x); } *x -= COLUMN_POSITION(mw, *column); return CLIP_FIXED_COLUMNS; } else if (*x >= TRAILING_FIXED_COLUMN_POSITION(mw) && *x < TRAILING_FIXED_COLUMN_POSITION(mw) + VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw)) { /* In the trailing fixed columns */ *x -= TRAILING_FIXED_COLUMN_POSITION(mw) - COLUMN_POSITION(mw, TRAILING_COLUMN_ORIGIN(mw)); if(*x >= COLUMN_POSITION(mw, mw->matrix.columns)) { /* We are in the horizontal fill */ *column = mw->matrix.columns - 1; } else { /* Get the column it corresponds to */ *column = xbaeXtoCol(mw, *x); } *x -= COLUMN_POSITION(mw, *column); return CLIP_TRAILING_FIXED_COLUMNS; } else if (*x >= NON_FIXED_COLUMN_POSITION(mw) && *x < NON_FIXED_COLUMN_POSITION(mw) + VISIBLE_NON_FIXED_WIDTH(mw)) { /* In the non fixed columns */ *x -= NON_FIXED_COLUMN_POSITION(mw) - HORIZ_ORIGIN(mw) - FIXED_COLUMN_WIDTH(mw); if(*x >= COLUMN_POSITION(mw, TRAILING_COLUMN_ORIGIN(mw))) { /* We are in the horizontal fill */ *column = TRAILING_COLUMN_ORIGIN(mw) - 1; } else { /* Get the column it corresponds to */ *column = xbaeXtoCol(mw, *x); } *x -= COLUMN_POSITION(mw, *column); return CLIP_VISIBLE_WIDTH; } *column = -2; return 0; } /* * Convert a matrix window y position to a row. * Return the clip region if y falls in a row or a column label. If so adjust y so that it's * relative to the row/label. If not return 0 and leave y alone */ int xbaeMatrixYtoRow(XbaeMatrixWidget mw, int *y, int *row) { if (*y >= HORIZ_SB_OFFSET(mw) && *y < HORIZ_SB_OFFSET(mw) + COLUMN_LABEL_HEIGHT(mw)) { /* In the column labels */ *row = -1; *y -= HORIZ_SB_OFFSET(mw); return CLIP_COLUMN_LABELS; } else if (*y >= FIXED_ROW_POSITION(mw) && *y < FIXED_ROW_POSITION(mw) + VISIBLE_FIXED_ROW_HEIGHT(mw)) { /* In the fixed rows */ *y -= FIXED_ROW_POSITION(mw); if (*y >= ROW_POSITION(mw, mw->matrix.fixed_rows)) { /* We are in the vertical fill */ *row = mw->matrix.fixed_rows - 1; } else { /* Get the row it corresponds to */ *row = xbaeYtoRow(mw, *y); } *y -= ROW_POSITION(mw, *row); return CLIP_FIXED_ROWS; } else if (*y >= TRAILING_FIXED_ROW_POSITION(mw) && *y < TRAILING_FIXED_ROW_POSITION(mw) + VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw)) { /* In the trailing fixed rows */ *y -= TRAILING_FIXED_ROW_POSITION(mw) - ROW_POSITION(mw, TRAILING_ROW_ORIGIN(mw)); if (*y >= ROW_POSITION(mw, mw->matrix.rows)) { /* We are in the vertical fill */ *row = mw->matrix.rows - 1; } else { /* Get the row it corresponds to */ *row = xbaeYtoRow(mw, *y); } *y -= ROW_POSITION(mw, *row); return CLIP_TRAILING_FIXED_ROWS; } else if (*y >= NON_FIXED_ROW_POSITION(mw) && *y < NON_FIXED_ROW_POSITION(mw) + VISIBLE_NON_FIXED_HEIGHT(mw)) { /* In the non fixed rows */ *y -= NON_FIXED_ROW_POSITION(mw) - VERT_ORIGIN(mw) - FIXED_ROW_HEIGHT(mw); if (*y >= ROW_POSITION(mw, TRAILING_ROW_ORIGIN(mw))) { /* We are in the vertical fill */ *row = TRAILING_ROW_ORIGIN(mw) - 1; } else { /* Get the row it corresponds to */ *row = xbaeYtoRow(mw, *y); } *y -= ROW_POSITION(mw, *row); return CLIP_VISIBLE_HEIGHT; } *row = -2; return 0; } /* * Convert a matrix window x, y to a row, column pair. * Return the clip region if x, y falls in a cell or a label. If so adjust x * and y so they are relative to the cell/label. If not return 0 and leave * x and y alone. */ /* ARGSUSED */ int xbaeMatrixXYToRowCol(XbaeMatrixWidget mw, int *x, int *y, int *row, int *column) { int ret_x = *x; int ret_y = *y; int row_region = xbaeMatrixYtoRow(mw, &ret_y, row); int column_region = xbaeMatrixXtoColumn(mw, &ret_x, column); if (row_region == 0 || column_region == 0 || (row_region == CLIP_COLUMN_LABELS && column_region == CLIP_ROW_LABELS)) { /* Not a cell nor a label */ *row = -1; *column = -1; return 0; } *x = ret_x; *y = ret_y; return row_region | column_region; } int xbaeEventToRowColumn(Widget w, XEvent * event, int *row, int *column, int *x, int *y) { XbaeMatrixWidget mw; switch (event->type) { case KeyPress: case KeyRelease: *x = 0; *y = 0; break; case ButtonPress: case ButtonRelease: *x = event->xbutton.x; *y = event->xbutton.y; break; case MotionNotify: *x = event->xmotion.x; *y = event->xmotion.y; break; default: return 0; } if (XtIsSubclass(w, xbaeMatrixWidgetClass)) { /* The event occured in the matrix widget */ mw = (XbaeMatrixWidget) w; return xbaeMatrixXYToRowCol(mw, x, y, row, column); } else { /* * The event didn't occur in a matrix widget. Find an ancestor that is the child + of a matrix widget */ while (XtParent(w) != NULL && !XtIsSubclass(XtParent(w), xbaeMatrixWidgetClass)) { *x += w->core.x; *y += w->core.y; w = XtParent(w); } mw = (XbaeMatrixWidget) XtParent(w); if (mw != NULL) { XtVaGetValues(w, XmNattachRow, row, XmNattachColumn, column, NULL); return (*row == -1 || *column ==-1) ? 0 : xbaeCellClip(mw, *row, *column); } } return 0; } /* * Convert the coordinates in an event to coordinates relative to the matrix window */ XbaeMatrixWidget xbaeEventToMatrixXY(Widget w, XEvent * event, int *x, int *y) { XbaeMatrixWidget mw; *x = 0; *y = 0; if (XtIsSubclass(w, xbaeMatrixWidgetClass)) { mw = (XbaeMatrixWidget) w; } else if (XtParent(w) && XtIsSubclass(XtParent(w), xbaeMatrixWidgetClass) && w == TextField((XbaeMatrixWidget) XtParent(w))) { int current_row, current_column; mw = (XbaeMatrixWidget) XtParent(w); XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); *x = xbaeColumnToMatrixX(mw, current_column); *y = xbaeRowToMatrixY(mw, current_row); } else { do { *x += w->core.x; *y += w->core.y; w = XtParent(w); } while (w && !XtIsSubclass(w, xbaeMatrixWidgetClass)); mw = (XbaeMatrixWidget) w; } switch (event->type) { case KeyPress: case KeyRelease: break; case ButtonPress: case ButtonRelease: *x += event->xbutton.x; *y += event->xbutton.y; break; case MotionNotify: *x += event->xmotion.x; *y += event->xmotion.y; break; default: return NULL; } return mw; } /* * Find the matrix widget by walking the Widget tree */ XbaeMatrixWidget xbaeEventToMatrixWidget(Widget w, XEvent *event) { while (w != NULL && !XtIsSubclass(w, xbaeMatrixWidgetClass)) { w = XtParent(w); } return (XbaeMatrixWidget) w; } /* * Convert a row/column cell position to the x/y of its upper left corner * wrt the matrix window */ int xbaeColumnToMatrixX(XbaeMatrixWidget mw, int column) { int x; if (column == -1) { x = VERT_SB_OFFSET(mw); } else if (IS_LEADING_FIXED_COLUMN(mw, column)) { x = FIXED_COLUMN_POSITION(mw) + COLUMN_POSITION(mw, column); } else if (IS_TRAILING_FIXED_COLUMN(mw, column)) { x = TRAILING_FIXED_COLUMN_POSITION(mw) + COLUMN_POSITION(mw, column) - COLUMN_POSITION(mw, TRAILING_COLUMN_ORIGIN(mw)); } else { x = NON_FIXED_COLUMN_POSITION(mw) + COLUMN_POSITION(mw, column) - COLUMN_POSITION(mw, mw->matrix.fixed_columns) - HORIZ_ORIGIN(mw); } return x; } int xbaeRowToMatrixY(XbaeMatrixWidget mw, int row) { int y; if (row == -1) { y = HORIZ_SB_OFFSET(mw); } else if (IS_LEADING_FIXED_ROW(mw, row)) { y = FIXED_ROW_POSITION(mw) + ROW_POSITION(mw, row); } else if (IS_TRAILING_FIXED_ROW(mw, row)) { y = TRAILING_FIXED_ROW_POSITION(mw) + ROW_POSITION(mw, row) - ROW_POSITION(mw, TRAILING_ROW_ORIGIN(mw)); } else { y = NON_FIXED_ROW_POSITION(mw) + ROW_POSITION(mw, row) - ROW_POSITION(mw, mw->matrix.fixed_rows) - VERT_ORIGIN(mw); } return y; } /* * Convert a row/column cell position to the x/y of its upper left corner * wrt the window it will be drawn in (either the matrix window for * totally fixed cells/labels, or a clip window for non-fixed). */ Widget xbaeRowColToClipXY(XbaeMatrixWidget mw, int row, int column, int *x, int *y) { Widget w = xbaeGetCellClip(mw, row, column); *x = xbaeColumnToMatrixX(mw, column); *y = xbaeRowToMatrixY(mw, row); if (w != (Widget) mw) { *x -= w->core.x; *y -= w->core.y; } return w; } void xbaePositionWidgetOverCell(XbaeMatrixWidget mw, Widget w, int row, int column) { Widget new_parent = xbaeGetCellClip(mw, row, column); int x = xbaeColumnToMatrixX(mw, column) + mw->matrix.cell_shadow_thickness; int y = xbaeRowToMatrixY(mw, row) + mw->matrix.cell_shadow_thickness; int width = COLUMN_WIDTH(mw, column) - 2 * mw->matrix.cell_shadow_thickness; int height = ROW_HEIGHT(mw, row) - 2 * mw->matrix.cell_shadow_thickness; if (IS_FILL_COLUMN(mw, column) && mw->matrix.horz_fill) { width += EMPTY_WIDTH(mw); } if (IS_FILL_ROW(mw, row) && mw->matrix.vert_fill) { height += EMPTY_HEIGHT(mw); } #if 1 /* This works, but the TextField flickers when scrolling (offset by labelsize + fixed) */ XtConfigureWidget(w, /* position */ x, y, /* size */ width, height, /* bw */ XtBorderWidth(w)); #else /* The TextField doesn't flicker but toggle button cell widgets don't work anymore */ XtResizeWidget(w, /* size */ width, height, /* bw */ XtBorderWidth(w)); #endif XtVaSetValues(w, XmNattachRow, row, XmNattachColumn, column, NULL); if (XtWindow(new_parent)) { if (new_parent != (Widget) mw) { /* The widget is drawn in one of the clip windows */ x -= new_parent->core.x; y -= new_parent->core.y; } XReparentWindow(XtDisplay(mw), XtWindow(w), XtWindow(new_parent), x, y); } } void xbaePositionCellWidget(XbaeMatrixWidget mw, int row, int column) { Widget cellWidget = mw->matrix.per_cell ? mw->matrix.per_cell[row][column].widget : NULL; if (cellWidget && XtIsRealized(cellWidget) && XtIsManaged(cellWidget)) { xbaePositionWidgetOverCell(mw, cellWidget, row, column); } } void xbaePositionTextField(XbaeMatrixWidget mw) { int current_row, current_column; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); xbaePositionWidgetOverCell(mw, TextField(mw), current_row, current_column); /* * The TextField is now visible */ mw->matrix.text_field_is_mapped = True; } void xbaeHideCellWidget(XbaeMatrixWidget mw, Widget w) { Dimension width = XtWidth(w); Dimension height = XtHeight(w); Dimension bw = XtBorderWidth(w); XtVaSetValues(w, XmNattachRow, -1, XmNattachColumn, -1, NULL); XtConfigureWidget(w, /* position */ -1 - width - bw, -1 - height - bw, /* size */ width, height, /* bw */ bw); } void xbaeHideTextField(XbaeMatrixWidget mw) { /* * Let Xt believe the TextField is still visible so we can traverse to it */ XtConfigureWidget(TextField(mw), /* position */ 0, 0, /* size */ 1, 1, /* bw */ XtBorderWidth(TextField(mw))); /* * But have X not show the window */ if (XtIsRealized(TextField(mw))) XReparentWindow(XtDisplay(mw), XtWindow(TextField(mw)), XtWindow(mw), -1, -1); /* * The TextField is now hidden */ mw->matrix.text_field_is_mapped = False; } void xbaeSetInitialFocus(XbaeMatrixWidget mw) { int row = xbaeTopRow(mw); int column = xbaeLeftColumn(mw); Widget widget; if (mw->matrix.per_cell && mw->matrix.per_cell[row][column].widget) { widget = mw->matrix.per_cell[row][column].widget; } else { widget = TextField(mw); } if (widget != mw->manager.initial_focus) { XtVaSetValues((Widget) mw, XmNinitialFocus, widget, NULL); } } void xbaeSaneRectangle(XbaeMatrixWidget mw, XRectangle *rect_p, int rs, int cs, int re, int ce){ int x1,x2,y1,y2; x1 = xbaeColumnToMatrixX(mw, cs); if (!IS_FIXED_COLUMN(mw, cs)) { if(x1 < NON_FIXED_COLUMN_POSITION(mw)) { x1 = NON_FIXED_COLUMN_POSITION(mw); } else if(x1 >= TRAILING_FIXED_COLUMN_POSITION(mw)) { x1 = TRAILING_FIXED_COLUMN_POSITION(mw) - 1; } } x2 = xbaeColumnToMatrixX(mw, ce) + ((ce == -1) ? ROW_LABEL_WIDTH(mw) : COLUMN_WIDTH(mw, ce)) - 1; if (!IS_FIXED_COLUMN(mw, ce)) { if(x2 < NON_FIXED_COLUMN_POSITION(mw)) { x2 = NON_FIXED_COLUMN_POSITION(mw); } else if(x2 >= TRAILING_FIXED_COLUMN_POSITION(mw)) { x2 = TRAILING_FIXED_COLUMN_POSITION(mw) - 1; } } y1 = xbaeRowToMatrixY(mw, rs); if (!IS_FIXED_ROW(mw, rs)) { if(y1 < NON_FIXED_ROW_POSITION(mw)) { y1 = NON_FIXED_ROW_POSITION(mw); } else if(y1 >= TRAILING_FIXED_ROW_POSITION(mw)) { y1 = TRAILING_FIXED_ROW_POSITION(mw) - 1; } } y2 = xbaeRowToMatrixY(mw, re) + ((re == -1) ? COLUMN_LABEL_HEIGHT(mw) : ROW_HEIGHT(mw, re)) - 1; if (!IS_FIXED_ROW(mw, re)) { if(y2 < NON_FIXED_ROW_POSITION(mw)) { y2 = NON_FIXED_ROW_POSITION(mw); } else if(y2 >= TRAILING_FIXED_ROW_POSITION(mw)) { y2 = TRAILING_FIXED_ROW_POSITION(mw) - 1; } } rect_p->x = x1; rect_p->y = y1; rect_p->width = x2 - x1 + 1; rect_p->height = y2 - y1 + 1; } /* * Below are some functions to deal with a multi-threaded environment. * Use these instead of the Xt stuff, to ensure that we can still cope * with X11r5 where this stuff didn't exist. */ #ifdef XtSpecificationRelease #if XtSpecificationRelease > 5 #define R6plus #endif #endif void xbaeObjectLock(Widget w) { #ifdef R6plus if (XmIsGadget(w)) XtAppLock(XtWidgetToApplicationContext(XtParent(w))); else XtAppLock(XtWidgetToApplicationContext(w)); #endif } void xbaeObjectUnlock(Widget w) { #ifdef R6plus if (XmIsGadget(w)) XtAppUnlock(XtWidgetToApplicationContext(XtParent(w))); else XtAppUnlock(XtWidgetToApplicationContext(w)); #endif } void xbaeScrollRows(XbaeMatrixWidget mw, int step) { int value, slider_size, increment, page_increment, limit; XtVaGetValues(VertScrollChild(mw), (step < 0 ? XmNminimum : XmNmaximum), &limit, NULL); XmScrollBarGetValues(VertScrollChild(mw), &value, &slider_size, &increment, &page_increment); if (step < 0) { XmScrollBarSetValues(VertScrollChild(mw), ((value + step < limit) ? limit : value + step), slider_size, increment, page_increment, True); } else { limit -= slider_size; XmScrollBarSetValues(VertScrollChild(mw), ((value + step > limit) ? limit : value + step), slider_size, increment, page_increment, True); } } void xbaeScrollColumns(XbaeMatrixWidget mw, int step) { int value, slider_size, increment, page_increment, limit; XtVaGetValues(HorizScrollChild(mw), (step < 0 ? XmNminimum : XmNmaximum), &limit, NULL); XmScrollBarGetValues(HorizScrollChild(mw), &value, &slider_size, &increment, &page_increment); if (step < 0) { XmScrollBarSetValues(HorizScrollChild(mw), ((value + step < limit) ? limit : value + step), slider_size, increment, page_increment, True); } else { limit -= slider_size; XmScrollBarSetValues(HorizScrollChild(mw), ((value + step > limit) ? limit : value + step), slider_size, increment, page_increment, True); } } xbae-4.60.4/src/XbaeCaption.3.in0000664000076400007640000002635307442431746013160 00000000000000'\" t .\" $Id: XbaeCaption.3.in,v 1.3 2002/03/09 16:10:14 amai Exp $ .. .de cI .IP \fI\\$1\fR 10 .. .de LI .IP \fB\\$1\fR 5 .. .TH XbaeCaption 3x "@VERSION@" "@PACKAGE@" .SH NAME XbaeCaption \- The Bellcore Application Environment (BAE) XbaeCaption widget class. .SH SYNOPSIS #include .SH DESCRIPTION .B XbaeCaption is a simple manager used to associate a label with its single child. The label may be either an .B XmString or a Pixmap and can be displayed in any one of twelve positions around the edge of the child. .B XbaeCaption performs geometry management so that its size always matches its child's size plus the size of the label and label offset. By using .B XbaeCaption with an .B XmFrame child, groups of related widgets can be labeled in a visually appealing manner. .B XbaeCaption is also useful for associating labels with individual .BR XmTextFields . .SS "Classes" .B XbaeCaption inherits behavior and resources from the .BR Core , .BR Composite , .B Constraint and .B XmManager widget classes. .br The class pointer is .BR xbaeCaptionWidgetClass . .br The class name is .BR XbaeCaption . .SS "New Resources" The following table lists the new resources defined by .BR XbaeCaption . The codes in the Access column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XbaeCaption Resource Set _ Name Class Type Default Access = XmNfontList XmCFontList FontList dynamic CSG _ XmNlabelAlignment XmCLabelAlignment XbaeLabelAlignment XbaeAlignmentCenter CSG _ XmNlabelOffset XmCLabelOffset Int 0 CSG _ XmNlabelPixmap XmCLabelPixmap PrimForegroundPixmap XmUNSPECIFIED_PIXMAP CSG _ XmNlabelPosition XmCLabelPosition XbaeLabelPosition XbaePositionLeft CSG _ XmNlabelString XmCXmString XmString widget name CSG _ XmNlabelTextAlignment XmCAlignment Alignment XmALIGNMENT_CENTER CSG _ XmNlabelType XmCLabelType LabelType XmString CSG .TE .sp .LI XmNfontList Specifies the font of the text used in the caption label. If this value is .SM NULL at initialization, it is initialized by looking up the parent hierarchy of the widget for an ancestor that is a subclass of the .BR XmBulletinBoard , .B VendorShell or .B XmMenuShell widget class. If such an ancestor is found, the font list is initialized to the appropriate default font list of the ancestor widget .B XmNdefaultFontList for .B VendorShell and .BR XmMenuShell , .B XmNlabelFontList or .B XmNbuttonFontList for .B XmBulletinBoard. Refer to .B XmFontList(3X) for more information on the creation and structure of a font list. This resource is copied. .LI XmNlabelAlignment Specifies the alignment of the caption label along the side of the caption child. Must be one of the enumerated .B XbaeLabelAlignment types: .BR XbaeAlignmentTopOrLeft , .BR XbaeAlignmentCenter , .BR XbaeAlignmentBottomOrRight . .LI XmNlabelOffset Specifies the offset, in pixels, of the caption label from the caption child. If the offset is negative, then the caption label will overlap the caption child by that many pixels. .LI XmNlabelPixmap Specifies the caption label pixmap when .B XmNlabelType is .BR XmPIXMAP . .LI XmNlabelPosition Specifies on which side of the caption child the caption label should be placed. Must be one of the enumerated .B XbaeLabelPosition types: .BR XbaePositionLeft , .BR XbaePositionRight , .BR XbaePositionTop , .BR XbaePositionBottom . .LI XmNlabelString Specifies the compound string when the .B XmNlabelType is .BR XmSTRING . If this value is .SM NULL, it is initialized by converting the name of the widget to a compound string. Refer to .B XmString(3X) for more information on the creation and structure of compound strings. .LI XmNlabelTextAlignment Specifies the text alignment for the caption label. This resource is only useful for multi line caption labels. Valid values are: .B XmALIGNMENT_BEGINNING left alignment causes the left sides of the lines of text to be vertically aligned. .B XmALIGNMENT_CENTER center alignment causes the centers of the lines of text to be vertically aligned. .B XmALIGNMENT_END right alignment causes the right sides of the lines of text to be vertically aligned. .LI XmNlabelType Specifies the caption label type. Valid values are: .B XmSTRING - the caption label will display the .BR XmNlabelString . .B XmPIXMAP - the caption label will display the .BR XmNlabelPixmap . .PP .SS "Inherited Resources" The following table lists the resources which .B XbaeCaption inherits from it's superclasses .BR XmManager , .B Compositeand .BR Core . For a complete description of each resource, refer to the man page for that superclass. The codes in the "Access" column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .LP .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XmManager Resource Set _ Name Class Type Default Access = XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG _ XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNforeground XmCForeground Pixel dynamic CSG _ XmNhelpCallback XmCCallback Callback NULL CSG _ XmNhighlightColor XmCHighlightColor Pixel dynamic CSG _ XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG _ XmNnavigationType XmCNavigationType XmNavigationType XmTAB_GROUP CSG _ XmNshadowThickness XmCShadowThickness Dimension 2 CSG _ XmNstringDirection XmCStringDirection XmStringDirection dynamic CG _ XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG _ XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG _ XmNtraversalOn XmCTraversalOn Boolean True CSG _ XmNunitType XmCUnitType UnsignedChar dynamic CSG _ XmNuserData XmCUserData Pointer NULL CSG .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . Composite Resource Set = Name Class Type Default Access _ XmNchildren XmCReadOnly WidgetList private G _ XmNinsertPosition XmCInsertPosition Function NULL CSG _ XmNnumChildren XmCReadOnly Cardinal 4 G .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . Core Resource Set = Name Class Type Default Access _ XmNaccelerators XmCAccelerators AcceleratorTable NULL CSG _ XmNancestorSensitive XmCSensitive Boolean dynamic CSG _ XmNbackground XmCBackground Pixel dynamic G _ XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG _ XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderWidth XmCBorderWidth Dimension 0 CSG _ XmNcolormap XmCColormap Colormap dynamic CG _ XmNdepth XmCDepth Int dynamic CG _ XmNdestroyCallback XmCCallback Callback NULL CSG _ XmNheight XmCHeight Dimension dynamic CSG _ XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True CG _ XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG _ XmNscreen XmCScreen Screen dynamic CG _ XmNsensitive XmCSensitive Boolean True CSG _ XmNtranslations XmCTranslations TranslationTable internal CSG _ XmNwidth XmCWidth Dimension dynamic CSG _ XmNx XmCPosition Position 0 CSG _ XmNy XmCPosition Position 0 CSG .TE .sp .SS Translations .B XbaeCaption inherits translations from .BR XmManager . .SS "Type Converters" .sp .PP In addition to the standard type converters registered by Xt and Motif, .B XbaeCaption registers the following additional type converters: .IP \fCCvtStringToLabelAlignment(\|)\fP Converts a String to the enumerated .B XbaeLabelAlignment type. The Strings .BR TopOrLeft , .B Top and .B Left are converted to .BR XbaeAlignmentTopOrLeft . The String .B Center is converted to .BR XbaeAlignmentCenter . The Strings .BR BottomOrRight , .B Bottom and .B Right are converted to .BR XbaeAlignmentBottomOrRight . This converter allows the .B XmNlabelAlignment resource to be specified in a resource file. The converter is case insensitive. .IP \fCCvtStringToLabelPosition(\|)\fP Converts a String to the enumerated .B XbaeLabelPosition type. The String .B Left is converted to .BR XbaePositionLeft . The String .B Right is converted to .BR XbaePositionRight . The String .B Top is converted to .BR XbaePositionTop . The String .B Bottom is converted to .BR XbaePositionBottom . This converter allows the .B XmNlabelPosition resource to be specified in a resource file. The converter is case insensitive. .sp .SS "Public Functions" .sp The following external entry points to .B XbaeCaption class methods are defined: .sp .ne 6 .B XbaeCreateCaption(\|) .PP .RS .TS l s s l l li . Widget XbaeCreateCaption(\|) Widget parent; String name; ArgList arglist; Cardinal argcount; .TE .sp .cI parent Specifies the parent widget ID. .cI name Specifies the name of the created widget .cI arglist Specifies the argument list .cI argcount Specifies the number of attribute/value pairs in the argument list (arglist) .PP .B XbaeCreateCaption(\|) creates an instance of an XbaeCaption widget and returns the associated widget ID. .PP .SS "Virtual Bindings" .sp The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see .BR VirtualBindings(3X) . .SH AUTHOR .B Andrew Wason, Bellcore, Piscataway NJ; author .br (aw@bae.bellcore.com) .sp .B Andrew Lister .br (lister@db.com) .sp .SH RELEASE .sp This document describes XbaeCaption from Xbae Version 4.9. .SH "SEE ALSO" .B Core(3X), Composite(3X), XmManager(3X), XmLabel(3X) .SH "Notice of Limitation" .sp Bellcore, previous and current maintainers of the Xbae widgets (collectively 'authors') provide this information solely to professionals who have the appropriate degree of experience to understand and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. No recommendations as to products or vendors is made or should be implied. .PP While the information contained herein has been prepared from sources deemed to be reliable, the authors reserve the right to revise the information without notice, but have no obligation to do so. Unless the recipient has been expressly granted a license by Bellcore under separate applicable written agreement with Bellcore, no license, expressed or implied, is granted under any patents, copyrights or other intellectual property rights. Use of the information is at your discretion and shall not be deemed an inducement by Bellcore to infringe any existing or later-issued patent, copyrights or other intellectual property right. .PP THE AUTHORS MAKE NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE INFORMATION IS PROVIDED ``AS IS'', AND IN NO EVENT SHALL THE AUTHORS OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION. .PP Copyright 1991 Bellcore. All Rights Reserved. Copyright 1995-99 Andrew Lister All Rights Reserved. .br Copyright 1999-2002 LessTif Developers .sp 3 The above no warranty extends to all additions and contributions. No contributor shall be held liable; this work is provided ``as is''. If this is a problem for you, then don't use this software. xbae-4.60.4/src/Matrix.c0000644000076400007640000037620510433375465011703 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Matrix.c,v 1.212 2006/05/19 17:07:01 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #if XmVERSION >= 2 #include #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef WIN32 #define EXTERNALREF externalref __declspec(dllexport) #else #define EXTERNALREF /* nothing */ #endif /* ** This should have been a compile-time option. ** for backwards compatability reasons with pre 4.50 versions. ** ** Added here, but the default is the same as 4.50.2. ** ** A.J.Fountain, IST, August 2003. */ #ifndef DEFAULT_USE_XBAE_INPUT #define DEFAULT_USE_XBAE_INPUT False #endif /* DEFAULT_USE_XBAE_INPUT */ #ifndef XlibSpecificationRelease #define XrmPermStringToQuark XrmStringToQuark #endif /* * Translations for Matrix. */ static char defaultTranslations[] = " : DefaultAction()\n" " : DefaultAction() Label() EditCell(Pointer)\n" "Shift : ResizeColumns()\n" " : ProcessDrag()\n" #ifdef TRANSLATION_TEST " : CancelEdit(True)\n" #endif " : HandleTracking()\n" " : ScrollRows(-50)\n" " : ScrollRows( 50)\n"; /* * Default translations for XmNtextTranslations resource */ static char default_text_translations[] = #ifdef TRANSLATION_TEST "Meta osfCancel : CancelEdit(True)\n" "Meta osfActivate : CommitEdit(True)\n" "Shift Tab : TraversePrev()\n" "Tab : TraverseNext()\n" #else "Shift ~Ctrl ~Meta ~Alt Tab : EditCell(Left)\n" "~Ctrl ~Meta ~Alt Tab : EditCell(Right)\n" "Shift Ctrl ~Meta ~Alt Tab : TraversePrev()\n" "Ctrl ~Meta ~Alt Tab : TraverseNext()\n" #endif " : DefaultAction()\n" " : DefaultAction() grab-focus()\n" "Ctrl osfUp : EditCell(Up)\n" "Ctrl osfDown : EditCell(Down)\n" "Ctrl osfLeft : EditCell(Left)\n" "Ctrl osfRight : EditCell(Right)\n" "osfCancel : CancelEdit(False)\n" "osfActivate : CommitEdit(False)\n" "~Shift ~Meta ~Alt Return : CommitEdit(False)\n" "osfPageDown : PageDown()\n" "osfPageUp : PageUp()\n"; static char default_dialog_text_translations[] = #ifdef TRANSLATION_TEST "Meta osfCancel : CancelEdit(True)\n" "Meta osfActivate : CommitEdit(True)\n" "Shift Tab : TraversePrev()\n" "Tab : TraverseNext()\n" #else "Shift ~Ctrl ~Meta ~Alt Tab : EditCell(Left)\n" "~Ctrl ~Meta ~Alt Tab : EditCell(Right)\n" "Shift Ctrl ~Meta ~Alt Tab : TraversePrev()\n" "Ctrl ~Meta ~Alt Tab : TraverseNext()\n" #endif " : DefaultAction()\n" " : DefaultAction() grab-focus()\n" "Ctrl osfUp : EditCell(Up)\n" "Ctrl osfDown : EditCell(Down)\n" "Ctrl osfLeft : EditCell(Left)\n" "Ctrl osfRight : EditCell(Right)\n" "osfCancel : CancelEdit(True)\n" "osfActivate : CommitEdit(False)\n" "~Shift ~Meta ~Alt Return : CommitEdit(False)\n" "osfPageDown : PageDown()\n" "osfPageUp : PageUp()\n"; #define offset(field) XtOffsetOf(XbaeMatrixRec, field) static XtResource constraints[] = { {XmNattachRow, XmCPosition, XmRInt, sizeof(int), XtOffsetOf(XbaeMatrixConstraintsRec, row), XmRImmediate, (XtPointer) -1}, {XmNattachColumn, XmCPosition, XmRInt, sizeof(int), XtOffsetOf(XbaeMatrixConstraintsRec, column), XmRImmediate, (XtPointer) -1} }; static XtResource resources[] = { {XmNallowColumnResize, XmCAllowResize, XmRBoolean, sizeof(Boolean), offset(matrix.allow_column_resize), XmRImmediate, (XtPointer) True}, {XmNallowRowResize, XmCAllowResize, XmRBoolean, sizeof(Boolean), offset(matrix.allow_row_resize), XmRImmediate, (XtPointer) True}, {XmNaltRowCount, XmCAltRowCount, XmRInt, sizeof(int), offset(matrix.alt_row_count), XmRImmediate, (XtPointer) 1}, {XmNboldLabels, XmCBoldLabels, XmRBoolean, sizeof(Boolean), offset(matrix.bold_labels), XmRImmediate, (XtPointer) False}, {XmNbuttonLabels, XmCButtonLabels, XmRBoolean, sizeof(Boolean), offset(matrix.button_labels), XmRImmediate, (XtPointer) False}, {XmNbuttonLabelBackground, XmCColor, XmRPixel, sizeof(Pixel), offset(matrix.button_label_background), XmRCallProc, (XtPointer) xbaeCopyBackground}, {XmNcalcCursorPosition, XmCCalcCursorPosition, XmRBoolean, sizeof(Boolean), offset(matrix.calc_cursor_position), XmRImmediate, (XtPointer) False}, {XmNcellHighlightThickness, XmCHighlightThickness, XmRHorizontalDimension, sizeof(Dimension), offset(matrix.cell_highlight_thickness), XmRCallProc, xbaeCopyThickness}, {XmNcellMarginHeight, XmCMarginHeight, XmRVerticalDimension, sizeof(Dimension), offset(matrix.cell_margin_height), XmRCallProc, xbaeCopyMarginSize}, {XmNcellMarginWidth, XmCMarginWidth, XmRHorizontalDimension, sizeof(Dimension), offset(matrix.cell_margin_width), XmRCallProc, xbaeCopyMarginSize}, {XmNcellShadowThickness, XmCShadowThickness, XmRDimension, sizeof(Dimension), offset(matrix.cell_shadow_thickness), XmRImmediate, (XtPointer) 1}, {XmNcellShadowType, XmCShadowType, XmRShadowType, sizeof(unsigned char), offset(matrix.cell_shadow_type), XmRImmediate, (XtPointer) XmSHADOW_OUT}, {XmNclipWindow, XmCClipWindow, XmRWidget, sizeof(Widget), offset(matrix.center_clip), XmRImmediate, (XtPointer) NULL}, {XmNcolumnAlignments, XmCAlignments, XmRAlignmentArray, sizeof(unsigned char *), offset(matrix.column_alignments), XmRImmediate, (XtPointer) NULL}, {XmNcolumnButtonLabels, XmCButtonLabels, XmRBooleanArray, sizeof(Boolean *), offset(matrix.column_button_labels), XmRImmediate, (XtPointer) NULL}, {XmNshowColumnArrows, XmCButtonLabels, XmRBooleanArray, sizeof(Boolean *), offset(matrix.show_column_arrows), XmRImmediate, (XtPointer) NULL}, {XmNcolumnFontBold, XmCButtonLabels, XmRBooleanArray, sizeof(Boolean *), offset(matrix.column_font_bold), XmRImmediate, (XtPointer) NULL}, {XmNcolumnLabelAlignments, XmCAlignments, XmRAlignmentArray, sizeof(unsigned char *), offset(matrix.column_label_alignments), XmRImmediate, (XtPointer) NULL}, {XmNcolumnLabelColor, XmCColor, XmRPixel, sizeof(Pixel), offset(matrix.column_label_color), XmRCallProc, (XtPointer) xbaeCopyForeground}, {XmNcolumnLabels, XmCLabels, XmRStringArray, sizeof(String *), offset(matrix.column_labels), XmRImmediate, (XtPointer) NULL}, {XmNxmColumnLabels, XmCXmLabels, XmRXmStringTable, sizeof(XmString *), offset(matrix.xmcolumn_labels), XmRImmediate, (XtPointer) NULL}, {XmNxmRowLabels, XmCXmLabels, XmRXmStringTable, sizeof(XmString *), offset(matrix.xmrow_labels), XmRImmediate, (XtPointer) NULL}, {XmNcolumnMaxLengths, XmCColumnMaxLengths, XmRMaxLengthArray, sizeof(int *), offset(matrix.column_max_lengths), XmRImmediate, (XtPointer) NULL}, {XmNcolumnShadowTypes, XmCShadowTypes, XmRShadowTypeArray, sizeof(unsigned char *), offset(matrix.column_shadow_types), XmRImmediate, (XtPointer) NULL}, {XmNcolumnUserData, XmCUserDatas, XmRUserDataArray, sizeof(XtPointer *), offset(matrix.column_user_data), XmRImmediate, (XtPointer) NULL}, {XmNcolumnWidths, XmCColumnWidths, XmRWidthArray, sizeof(short *), offset(matrix.column_widths), XmRImmediate, (XtPointer) NULL}, {XmNcolumnWidthInPixels, XmCColumnWidthInPixels, XmRBoolean, sizeof(Boolean), offset(matrix.column_width_in_pixels), XmRImmediate, (XtPointer) False}, {XmNrowHeightInPixels, XmCRowHeightInPixels, XmRBoolean, sizeof(Boolean), offset(matrix.row_height_in_pixels), XmRImmediate, (XtPointer) True}, {XmNcolumns, XmCColumns, XmRInt, sizeof(int), offset(matrix.columns), XmRImmediate, (XtPointer) 1}, {XmNdefaultActionCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.default_action_callback), XmRCallback, (XtPointer) NULL}, {XmNdoubleClickInterval, XmCDoubleClickInterval, XmRInt, sizeof(int), offset(matrix.double_click_interval), XmRCallProc, (XtPointer) xbaeCopyDoubleClick}, {XmNdrawCellCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.draw_cell_callback), XmRCallback, (XtPointer) NULL}, {XmNenterCellCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.enter_cell_callback), XmRCallback, (XtPointer) NULL}, {XmNtrackCellCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.track_cell_callback), XmRCallback, (XtPointer) NULL}, {XmNevenRowBackground, XmCBackground, XmRPixel, sizeof(Pixel), offset(matrix.even_row_background), XmRCallProc, (XtPointer) xbaeCopyBackground}, {XmNfill, XmCFill, XmRBoolean, sizeof(Boolean), offset(matrix.fill), XmRImmediate, (XtPointer) False}, {XmNvertFill, XmCVertFill, XmRBoolean, sizeof(Boolean), offset(matrix.vert_fill), XmRImmediate, (XtPointer) False}, {XmNhorzFill, XmCHorzFill, XmRBoolean, sizeof(Boolean), offset(matrix.horz_fill), XmRImmediate, (XtPointer) False}, {XmNfixedColumns, XmCFixedColumns, XmRDimension, sizeof(Dimension), offset(matrix.fixed_columns), XmRImmediate, (XtPointer) 0}, {XmNfixedRows, XmCFixedRows, XmRDimension, sizeof(Dimension), offset(matrix.fixed_rows), XmRImmediate, (XtPointer) 0}, {XmNfontList, XmCFontList, XmRFontList, sizeof(XmFontList), offset(matrix.font_list), XmRString, (XtPointer) NULL}, #if XmVERSION >= 2 {XmNrenderTable, XmCRenderTable, XmRRenderTable, sizeof(XmRenderTable), offset(matrix.render_table), XmRString, (XtPointer) NULL}, #endif {XmNgridLineColor, XmCColor, XmRPixel, sizeof(Pixel), offset(matrix.grid_line_color), XmRCallProc, (XtPointer) xbaeCopyForeground}, {XmNgridType, XmCGridType, XmRGridType, sizeof(unsigned char), offset(matrix.grid_type), XmRImmediate, (XtPointer) XmGRID_CELL_LINE}, {XmNhorizontalScrollBar, XmCHorizontalScrollBar, XmRWidget, sizeof(Widget), offset(matrix.horizontal_sb), XmRImmediate, (XtPointer) NULL}, {XmNhorizontalScrollBarDisplayPolicy, XmCMatrixScrollBarDisplayPolicy, XmRMatrixScrollBarDisplayPolicy, sizeof(unsigned char), offset(matrix.hsb_display_policy), XmRImmediate, (XtPointer) XmDISPLAY_AS_NEEDED}, {XmNlabelActivateCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.label_activate_callback), XmRCallback, (XtPointer) NULL}, {XmNlabelFont, XmCFontList, XmRFontList, sizeof(XmFontList), offset(matrix.label_font_list), XmRString, (XtPointer) NULL}, {XmNleaveCellCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.leave_cell_callback), XmRCallback, (XtPointer) NULL}, {XmNmodifyVerifyCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.modify_verify_callback), XmRCallback, (XtPointer) NULL}, {XmNoddRowBackground, XmCBackground, XmRPixel, sizeof(Pixel), offset(matrix.odd_row_background), XmRCallProc, (XtPointer) xbaeCopyBackground}, {XmNprocessDragCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.process_drag_callback), XmRCallback, (XtPointer) NULL}, /* Resize callback resource. Added by mjs */ {XmNresizeCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.resize_callback), XmRCallback, (XtPointer) NULL}, {XmNresizeColumnCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.resize_column_callback), XmRCallback, (XtPointer) NULL}, {XmNresizeRowCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.resize_row_callback), XmRCallback, (XtPointer) NULL}, {XmNreverseSelect, XmCReverseSelect, XmRBoolean, sizeof(Boolean), offset(matrix.reverse_select), XmRImmediate, (XtPointer) False}, {XmNrowButtonLabels, XmCButtonLabels, XmRBooleanArray, sizeof(Boolean *), offset(matrix.row_button_labels), XmRImmediate, (XtPointer) NULL}, {XmNrowHeights, XmCColumnWidths, XmRWidthArray, sizeof(short *), offset(matrix.row_heights), XmRImmediate, (XtPointer) NULL}, {XmNrowLabelAlignment, XmCAlignment, XmRAlignment, sizeof(unsigned char), offset(matrix.row_label_alignment), XmRImmediate, (XtPointer) XmALIGNMENT_END}, {XmNrowLabelColor, XmCColor, XmRPixel, sizeof(Pixel), offset(matrix.row_label_color), XmRCallProc, (XtPointer) xbaeCopyForeground}, {XmNrowLabelWidth, XmCRowLabelWidth, XmRShort, sizeof(short), offset(matrix.row_label_width), XmRImmediate, (XtPointer) 0}, {XmNrowLabels, XmCLabels, XmRStringArray, sizeof(String *), offset(matrix.row_labels), XmRImmediate, (XtPointer) NULL}, {XmNrowShadowTypes, XmCShadowTypes, XmRShadowTypeArray, sizeof(unsigned char *), offset(matrix.row_shadow_types), XmRImmediate, (XtPointer) NULL}, {XmNrowUserData, XmCUserDatas, XmRUserDataArray, sizeof(XtPointer *), offset(matrix.row_user_data), XmRImmediate, (XtPointer) NULL}, {XmNrows, XmCRows, XmRInt, sizeof(int), offset(matrix.rows), XmRImmediate, (XtPointer) 1}, {XmNscrollBackground, XmCColor, XmRPixel, sizeof(Pixel), offset(matrix.scroll_background), XmRCallProc, (XtPointer) xbaeCopyBackground}, {XmNscrollBarPlacement, XmCScrollBarPlacement, XmRScrollBarPlacement, sizeof(unsigned char), offset(matrix.scrollbar_placement), XmRImmediate, (XtPointer) XmBOTTOM_RIGHT}, {XmNselectCellCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.select_cell_callback), XmRCallback, (XtPointer) NULL}, {XmNselectScrollVisible, XmCSelectScrollVisible, XmRBoolean, sizeof(Boolean), offset(matrix.scroll_select), XmRImmediate, (XtPointer) True}, {XmNselectedBackground, XmCColor, XmRPixel, sizeof(Pixel), offset(matrix.selected_background), XmRCallProc, (XtPointer) xbaeCopyForeground}, {XmNselectedForeground, XmCColor, XmRPixel, sizeof(Pixel), offset(matrix.selected_foreground), XmRCallProc, (XtPointer) xbaeCopyBackground}, {XmNselectionPolicy, XmCSelectionPolicy, XmRSelectionPolicy, sizeof(unsigned char), offset(matrix.selection_policy), XmRImmediate, (XtPointer) XmSINGLE_SELECT}, /* Override Manager default */ {XmNshadowThickness, XmCShadowThickness, XmRHorizontalDimension, sizeof(Dimension), XtOffsetOf(XmManagerRec, manager.shadow_thickness), XmRCallProc, xbaeCopyThickness}, {XmNshadowType, XmCShadowType, XmRShadowType, sizeof(unsigned char), offset(matrix.shadow_type), XmRImmediate, (XtPointer) XmSHADOW_IN}, {XmNshowArrows, XmCShowArrows, XmRBoolean, sizeof(Boolean), offset(matrix.show_arrows), XmRImmediate, (XtPointer) False}, {XmNspace, XmCSpace, XmRHorizontalDimension, sizeof(Dimension), offset(matrix.space), XmRCallProc, xbaeCopySpace}, {XmNtextBackground, XmCTextBackground, XmRPixel, sizeof(Pixel), offset(matrix.text_background), XmRImmediate, (XtPointer) XmUNSPECIFIED_PIXEL}, {XmNtextBackgroundIsCell, XmCTextBackgroundIsCell, XmRBoolean, sizeof(Boolean), offset(matrix.text_background_is_cell), XmRImmediate, (XtPointer) False}, {XmNtextField, XmCTextField, XmRWidget, sizeof(Widget), offset(matrix.text_field), XmRImmediate, (XtPointer) NULL}, {XmNtextShadowThickness, XmCTextShadowThickness, XmRDimension, sizeof(Dimension), offset(matrix.text_shadow_thickness), XmRImmediate, (XtPointer) 0}, {XmNtextTranslations, XmCTranslations, XmRTranslationTable, sizeof(XtTranslations), offset(matrix.text_translations), XmRString, (XtPointer) NULL}, {XmNnonFixedDetachedTop, XmCNonFixedDetachedTop, XmRBoolean, sizeof(Boolean), offset(matrix.non_fixed_detached_top), XmRImmediate, (XtPointer) False}, {XmNnonFixedDetachedLeft, XmCNonFixedDetachedLeft, XmRBoolean, sizeof(Boolean), offset(matrix.non_fixed_detached_left), XmRImmediate, (XtPointer) False}, {XmNtrailingAttachedBottom, XmCTrailingAttachedBottom, XmRBoolean, sizeof(Boolean), offset(matrix.trailing_attached_bottom), XmRImmediate, (XtPointer) False}, {XmNtrailingAttachedRight, XmCTrailingAttachedRight, XmRBoolean, sizeof(Boolean), offset(matrix.trailing_attached_right), XmRImmediate, (XtPointer) False}, {XmNtrailingFixedColumns, XmCTrailingFixedColumns, XmRDimension, sizeof(Dimension), offset(matrix.trailing_fixed_columns), XmRImmediate, (XtPointer) 0}, {XmNtrailingFixedRows, XmCTrailingFixedRows, XmRDimension, sizeof(Dimension), offset(matrix.trailing_fixed_rows), XmRImmediate, (XtPointer) 0}, {XmNtraverseCellCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.traverse_cell_callback), XmRCallback, (XtPointer) NULL}, {XmNtraverseFixedCells, XmCTraverseFixedCells, XmRBoolean, sizeof(Boolean), offset(matrix.traverse_fixed), XmRImmediate, (XtPointer) False}, {XmNunderlinePosition, XmCUnderlinePosition, XmRPosition, sizeof(Position), offset(matrix.underline_position), XmRImmediate, (XtPointer) 1}, {XmNunderlineWidth, XmCUnderlineWidth, XmRDimension, sizeof(Dimension), offset(matrix.underline_width), XmRImmediate, (XtPointer) 1}, {XmNvalueChangedCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.value_changed_callback), XmRCallback, (XtPointer) NULL}, {XmNverticalScrollBar, XmCVerticalScrollBar, XmRWidget, sizeof(Widget), offset(matrix.vertical_sb), XmRImmediate, (XtPointer) NULL}, {XmNverticalScrollBarDisplayPolicy, XmCMatrixScrollBarDisplayPolicy, XmRMatrixScrollBarDisplayPolicy, sizeof(unsigned char), offset(matrix.vsb_display_policy), XmRImmediate, (XtPointer) XmDISPLAY_AS_NEEDED}, {XmNvisibleColumns, XmCVisibleColumns, XmRDimension, sizeof(Dimension), offset(matrix.visible_columns), XmRImmediate, (XtPointer) 0}, {XmNvisibleRows, XmCVisibleRows, XmRDimension, sizeof(Dimension), offset(matrix.visible_rows), XmRImmediate, (XtPointer) 0}, {XmNwriteCellCallback, XmCCallback, XmRCallback, sizeof(XtCallbackList), offset(matrix.write_cell_callback), XmRCallback, (XtPointer) NULL}, {XmNdesiredHeight, XmCDesiredHeight, XmRDimension, sizeof(Dimension), offset(matrix.desired_height), XmRImmediate, (XtPointer) 0}, {XmNdesiredWidth, XmCDesiredWidth, XmRDimension, sizeof(Dimension), offset(matrix.desired_width), XmRImmediate, (XtPointer) 0}, {XmNuseXbaeInput, XmCUseXbaeInput, XmRBoolean, sizeof(Boolean), offset(matrix.useXbaeInput), XmRImmediate, (XtPointer) DEFAULT_USE_XBAE_INPUT}, {XmNmultiLineCell, XmCMultiLineCell, XmRBoolean, sizeof(Boolean), offset(matrix.multi_line_cell), XmRImmediate, (XtPointer) False}, {XmNwrapType, XmCWrapType, XmRWrapType, sizeof(unsigned char), offset(matrix.wrap_type), XmRImmediate, (XtPointer) XbaeWrapNone}, }; #if (XmVERSION < 2) /* ** Deprecated Code. ** ** A.J.Fountain, IST. */ #define XmeFromHorizontalPixels _XmFromHorizontalPixels #define XmeToHorizontalPixels _XmToHorizontalPixels #define XmeFromVerticalPixels _XmFromVerticalPixels #define XmeToVerticalPixels _XmToVerticalPixels #endif /* (XmVERSION < 2) */ static XmSyntheticResource syn_resources[] = { {XmNcellHighlightThickness, sizeof(Dimension), offset(matrix.cell_highlight_thickness), XmeFromHorizontalPixels, XmeToHorizontalPixels}, {XmNcellMarginHeight, sizeof(Dimension), offset(matrix.cell_margin_height), XmeFromVerticalPixels, XmeToVerticalPixels}, {XmNcellMarginWidth, sizeof(Dimension), offset(matrix.cell_margin_width), XmeFromHorizontalPixels, XmeToHorizontalPixels}, {XmNcellShadowThickness, sizeof(Dimension), offset(matrix.cell_shadow_thickness), XmeFromHorizontalPixels, XmeToHorizontalPixels}, {XmNspace, sizeof(Dimension), offset(matrix.space), XmeFromHorizontalPixels, XmeToHorizontalPixels}, }; /* * Declaration of methods */ static void ClassInitialize(void); static void xbaeRegisterConverters(void); static void ClassPartInitialize(WidgetClass); static void Initialize(Widget, Widget, ArgList, Cardinal *); static void Realize(XbaeMatrixWidget, XtValueMask *, XSetWindowAttributes *); static void InsertChild(Widget); static void Redisplay(Widget, XEvent *, Region); static Boolean SetValues(XbaeMatrixWidget, XbaeMatrixWidget, XbaeMatrixWidget, ArgList, Cardinal *); static void SetValuesAlmost(XbaeMatrixWidget, XbaeMatrixWidget, XtWidgetGeometry *, XtWidgetGeometry *); static void Destroy(XbaeMatrixWidget); static XtGeometryResult GeometryManager(Widget, XtWidgetGeometry *, XtWidgetGeometry *); static XtGeometryResult QueryGeometry(XbaeMatrixWidget, XtWidgetGeometry *, XtWidgetGeometry *); static Boolean SetValuesHook(Widget w, ArgList args, Cardinal *nargs); static void GetValuesHook(Widget w, ArgList args, Cardinal *nargs); /* * Redraw function for clip widget */ static void ClipRedisplay(Widget, XRectangle *, XEvent *, Region); /* * Private functions unique to Matrix */ static void ResizePerCell(XbaeMatrixWidget, XbaeMatrixWidget); /* * Matrix actions */ static XtActionsRec actions[] = { {"EditCell", xbaeEditCellACT}, {"CancelEdit", xbaeCancelEditACT}, {"DefaultAction", xbaeDefaultActionACT}, {"CommitEdit", xbaeCommitEditACT}, {"ResizeColumns", xbaeResizeColumnsACT}, {"SelectCell", xbaeSelectCellACT}, {"Label", xbaeLabelACT}, {"TraverseNext", xbaeTraverseNextACT}, {"TraversePrev", xbaeTraversePrevACT}, {"ProcessDrag", xbaeProcessDragACT}, {"HandleMotion", xbaeHandleMotionACT}, {"HandleTracking", xbaeHandleTrackingACT}, {"PageDown", xbaePageDownACT}, {"PageUp", xbaePageUpACT}, {"ScrollRows", xbaeScrollRowsACT}, {"ScrollColumns", xbaeScrollColumnsACT} }; /* *INDENT-OFF* */ static XmBaseClassExtRec BaseClassExtRec = { NULL, /* next_extension */ NULLQUARK, /* record_type */ XmBaseClassExtVersion, /* version */ sizeof(XmBaseClassExtRec), /* record_size */ NULL, /* InitializePrehook */ NULL, /* SetValuesPrehook */ NULL, /* InitializePosthook */ NULL, /* SetValuesPosthook */ NULL, /* secondaryObjectClass */ NULL, /* secondaryCreate */ NULL, /* getSecRes data */ {0}, /* fastSubclass flags */ NULL, /* get_values_prehook */ NULL, /* get_values_posthook */ NULL, /* classPartInitPrehook */ NULL, /* classPartInitPosthook */ NULL, /* ext_resources */ NULL, /* compiled_ext_resources */ 0, /* num_ext_resources */ FALSE, /* use_sub_resources */ XmInheritWidgetNavigable, /* widgetNavigable */ XmInheritFocusChange, /* focusChange */ NULL /* wrapperdata */ }; XbaeMatrixClassRec xbaeMatrixClassRec = { { /* core_class fields */ (WidgetClass) & xmManagerClassRec, /* superclass */ "XbaeMatrix", /* class_name */ sizeof(XbaeMatrixRec), /* widget_size */ ClassInitialize, /* class_initialize */ ClassPartInitialize, /* class_part_initialize */ False, /* class_inited */ Initialize, /* initialize */ NULL, /* initialize_hook */ (XtRealizeProc) Realize, /* realize */ actions, /* actions */ XtNumber(actions), /* num_actions */ resources, /* resources */ XtNumber(resources), /* num_resources */ NULLQUARK, /* xrm_class */ True, /* compress_motion */ XtExposeCompressMultiple | XtExposeGraphicsExpose | XtExposeNoExpose, /* compress_exposure */ True, /* compress_enterleave */ False, /* visible_interest */ (XtWidgetProc) Destroy, /* destroy */ (XtWidgetProc) xbaeResize, /* resize */ Redisplay, /* expose */ (XtSetValuesFunc) SetValues, /* set_values */ SetValuesHook, /* set_values_hook */ (XtAlmostProc) SetValuesAlmost, /* set_values_almost */ GetValuesHook, /* get_values_hook */ XtInheritAcceptFocus, /* accept_focus */ XtVersionDontCheck, /* version */ NULL, /* callback_private */ defaultTranslations, /* tm_table */ (XtGeometryHandler) QueryGeometry, /* query_geometry */ NULL, /* display_accelerator */ (XtPointer) & BaseClassExtRec /* extension */ } , { /* composite_class fields */ GeometryManager, /* geometry_manager */ NULL, /* change_managed */ XtInheritInsertChild, /* insert_child */ XtInheritDeleteChild, /* delete_child */ NULL, /* extension */ } , { /* constraint_class fields */ constraints, /* resources */ XtNumber(constraints), /* num_resources */ sizeof(XbaeMatrixConstraintsRec), /* constraint_size */ NULL, /* initialize */ NULL, /* destroy */ NULL, /* set_values */ NULL /* extension */ } , { /* manager_class fields */ XtInheritTranslations, /* translations */ syn_resources, /* syn_resources */ XtNumber(syn_resources), /* num_syn_resources */ NULL, /* syn_constraint_resources */ 0, /* num_syn_constraint_resources */ XmInheritParentProcess, /* parent_process */ NULL /* extension */ } , { /* matrix_class fields */ xbaeSetCell, /* set_cell */ xbaeGetCell, /* get_cell */ xbaeEditCell, /* edit_cell */ xbaeSelectCell, /* select_cell */ xbaeShowColumnArrows, /* show_column_arrows */ xbaeSelectRow, /* select_row */ xbaeSelectColumn, /* select_column */ xbaeDeselectAll, /* deselect_all */ xbaeSelectAll, /* select_all */ xbaeDeselectCell, /* deselect_cell */ xbaeDeselectRow, /* deselect_row */ xbaeDeselectColumn, /* deselect_column */ xbaeCommitEdit, /* commit_edit */ xbaeCancelEdit, /* cancel_edit */ xbaeAddRows, /* add_rows */ xbaeAddVarRows, /* add_var_rows */ xbaeDeleteRows, /* delete_rows */ xbaeAddColumns, /* add_columns */ xbaeDeleteColumns, /* delete_columns */ xbaeSetRowColors, /* set_row_colors */ xbaeSetColumnColors, /* set_column_colors */ xbaeSetCellColor, /* set_cell_color */ NULL, /* extension */ NULLQUARK, /* QPointer */ NULLQUARK, /* QLeft */ NULLQUARK, /* QRight */ NULLQUARK, /* QUp */ NULLQUARK, /* QDown */ NULLQUARK, /* QPageUp */ NULLQUARK, /* QPageDown */ NULLQUARK, /* QFocus */ NULLQUARK, /* QLoosingFocus */ NULLQUARK, /* default_qtag */ } }; EXTERNALREF WidgetClass xbaeMatrixWidgetClass = (WidgetClass) & xbaeMatrixClassRec; static XtConvertArgRec convertArg[] = { {XtWidgetBaseOffset, (XtPointer) XtOffsetOf(WidgetRec, core.screen), sizeof(Screen *)}, {XtWidgetBaseOffset, (XtPointer) XtOffsetOf(WidgetRec, core.colormap), sizeof(Colormap)} }; /* *INDENT-ON* */ static void xbaeRegisterConverters(void) { /* * String to StringArray is used for XmNrowLabels and XmNcolumnLabels * We make a private copy of this table */ XtSetTypeConverter(XmRString, XmRStringArray, XbaeCvtStringToStringArray, NULL, 0, XtCacheAll | XtCacheRefCount, XbaeStringArrayDestructor); /* * String to String2DArray is used for XmNcells resource * We make a private copy of this table */ XtSetTypeConverter(XmRString, XmRCellTable, XbaeCvtStringToCellTable, NULL, 0, XtCacheNone, XbaeStringCellDestructor); /* * String to ShortArray is used for XmNcolumnWidths resource. * We make a private copy of this table */ XtSetTypeConverter(XmRString, XmRWidthArray, XbaeCvtStringToWidthArray, NULL, 0, XtCacheNone, XbaeWidthArrayDestructor); /* * String to IntArray is used for XmNcolumnMaxLengths resource. * We make a private copy of this table */ XtSetTypeConverter(XmRString, XmRMaxLengthArray, XbaeCvtStringToMaxLengthArray, NULL, 0, XtCacheAll | XtCacheRefCount, XbaeMaxLengthArrayDestructor); /* * String to PixelTable is used for XmNcolors * and XmNcellBackgrounds resources. */ XtSetTypeConverter(XmRString, XmRPixelTable, XbaeCvtStringToPixelTable, convertArg, XtNumber(convertArg), XtCacheNone, XbaePixelTableDestructor); /* * String to BooleanArray is used for XmNcolumnButtonLabels, XmNshowColumnArrows, * XmNcolumnFontBold, and XmNrowButtonLabels resources. */ XtSetTypeConverter(XmRString, XmRBooleanArray, XbaeCvtStringToBooleanArray, NULL, 0, XtCacheAll | XtCacheRefCount, XbaeBooleanArrayDestructor); /* * String to AlignmentArray is used for XmNcolumnAlignments * and XmNcolumnLabelAlignments resources. */ XtSetTypeConverter(XmRString, XmRAlignmentArray, XbaeCvtStringToAlignmentArray, NULL, 0, XtCacheAll | XtCacheRefCount, XbaeAlignmentArrayDestructor); /* * String to ShadowtypesArray. */ XtSetTypeConverter(XmRString, XmRShadowTypeArray, XbaeCvtStringToShadowTypeArray, NULL, 0, XtCacheAll | XtCacheRefCount, XbaeShadowTypeArrayDestructor); /* * String to grid type is used for XmNgridType */ XtSetTypeConverter(XmRString, XmRGridType, XbaeCvtStringToGridType, NULL, 0, XtCacheAll, NULL); /* * String to wrap type is used for XmNwrapType */ XtSetTypeConverter(XmRString, XmRWrapType, XbaeCvtStringToWrapType, NULL, 0, XtCacheAll, NULL); /* * String to matrix display policy is used for * XmN{vertical,horizontal}ScrollBarDisplayPolicy */ XtSetTypeConverter(XmRString, XmRMatrixScrollBarDisplayPolicy, #ifdef __VMS XbaeCvtStringToMatrixScrollBarD, #else XbaeCvtStringToMatrixScrollBarDisplayPolicy, #endif NULL, 0, XtCacheAll, NULL); } static void ClassInitialize(void) { xbaeRegisterConverters(); } static void ClassPartInitialize(WidgetClass wc) { XbaeMatrixWidgetClass mwc = (XbaeMatrixWidgetClass) wc; XbaeMatrixWidgetClass super = (XbaeMatrixWidgetClass) mwc->core_class.superclass; /* * Allow subclasses to inherit new Matrix methods */ if (mwc->matrix_class.set_cell == XbaeInheritSetCell) mwc->matrix_class.set_cell = super->matrix_class.set_cell; if (mwc->matrix_class.get_cell == XbaeInheritGetCell) mwc->matrix_class.get_cell = super->matrix_class.get_cell; if (mwc->matrix_class.edit_cell == XbaeInheritEditCell) mwc->matrix_class.edit_cell = super->matrix_class.edit_cell; if (mwc->matrix_class.set_show_column_arrows == XbaeInheritShowColumnArrows) mwc->matrix_class.set_show_column_arrows = super->matrix_class.set_show_column_arrows; if (mwc->matrix_class.select_cell == XbaeInheritSelectCell) mwc->matrix_class.select_cell = super->matrix_class.select_cell; if (mwc->matrix_class.select_row == XbaeInheritSelectRow) mwc->matrix_class.select_row = super->matrix_class.select_row; if (mwc->matrix_class.select_column == XbaeInheritSelectColumn) mwc->matrix_class.select_column = super->matrix_class.select_column; if (mwc->matrix_class.deselect_all == XbaeInheritDeselectAll) mwc->matrix_class.deselect_all = super->matrix_class.deselect_all; if (mwc->matrix_class.select_all == XbaeInheritSelectAll) mwc->matrix_class.select_all = super->matrix_class.select_all; if (mwc->matrix_class.deselect_cell == XbaeInheritDeselectCell) mwc->matrix_class.deselect_cell = super->matrix_class.deselect_cell; if (mwc->matrix_class.deselect_row == XbaeInheritDeselectRow) mwc->matrix_class.deselect_row = super->matrix_class.deselect_row; if (mwc->matrix_class.deselect_column == XbaeInheritDeselectColumn) mwc->matrix_class.deselect_column = super->matrix_class.deselect_column; if (mwc->matrix_class.commit_edit == XbaeInheritCommitEdit) mwc->matrix_class.commit_edit = super->matrix_class.commit_edit; if (mwc->matrix_class.cancel_edit == XbaeInheritCancelEdit) mwc->matrix_class.cancel_edit = super->matrix_class.cancel_edit; if (mwc->matrix_class.add_rows == XbaeInheritAddRows) mwc->matrix_class.add_rows = super->matrix_class.add_rows; if (mwc->matrix_class.add_var_rows == XbaeInheritAddVarRows) mwc->matrix_class.add_var_rows = super->matrix_class.add_var_rows; if (mwc->matrix_class.delete_rows == XbaeInheritDeleteRows) mwc->matrix_class.delete_rows = super->matrix_class.delete_rows; if (mwc->matrix_class.add_columns == XbaeInheritAddColumns) mwc->matrix_class.add_columns = super->matrix_class.add_columns; if (mwc->matrix_class.delete_columns == XbaeInheritDeleteColumns) mwc->matrix_class.delete_columns = super->matrix_class.delete_columns; if (mwc->matrix_class.set_row_colors == XbaeInheritSetRowColors) mwc->matrix_class.set_row_colors = super->matrix_class.set_row_colors; if (mwc->matrix_class.set_column_colors == XbaeInheritSetColumnColors) mwc->matrix_class.set_column_colors = super->matrix_class.set_column_colors; if (mwc->matrix_class.set_cell_color == XbaeInheritSetCellColor) mwc->matrix_class.set_cell_color = super->matrix_class.set_cell_color; mwc->matrix_class.QPointer = XrmPermStringToQuark("Pointer"); mwc->matrix_class.QLeft = XrmPermStringToQuark("Left"); mwc->matrix_class.QRight = XrmPermStringToQuark("Right"); mwc->matrix_class.QUp = XrmPermStringToQuark("Up"); mwc->matrix_class.QDown = XrmPermStringToQuark("Down"); mwc->matrix_class.QPageUp = XrmPermStringToQuark("PageUp"); mwc->matrix_class.QPageDown = XrmPermStringToQuark("PageDown"); mwc->matrix_class.QFocus = XrmPermStringToQuark("Focus"); mwc->matrix_class.QLoosingFocus = XrmPermStringToQuark("LoosingFocus"); mwc->matrix_class.default_qtag = XrmUniqueQuark(); } /* used/referenced only #ifdef NEED_24BIT_VISUAL */ Widget _XbaeGetShellAncestor(Widget w) { Widget sh; for (sh = w; !XtIsShell(sh); sh = XtParent(sh)); return sh; } /* * Callbacks for our scrollbars. */ static XtCallbackRec VSCallback[] = { {(XtCallbackProc) xbaeScrollVertCB, (XtPointer) NULL}, {(XtCallbackProc) NULL, NULL} }; static XtCallbackRec HSCallback[] = { {(XtCallbackProc) xbaeScrollHorizCB, (XtPointer) NULL}, {(XtCallbackProc) NULL, NULL} }; /* * This is all to initialize resources that are no more */ typedef struct { char ** *cells; Pixel ** colors; Pixel ** background; int left_column; int top_row; } subr_t; static XtResource subresources[] = { { XmNcells, XmCCells, XmRCellTable, sizeof(XtPointer), XtOffsetOf(subr_t, cells), XmRImmediate, NULL }, { XmNcolors, XmCColors, XmRPixelTable, sizeof(XtPointer), XtOffsetOf(subr_t, colors), XmRImmediate, NULL }, { XmNcellBackgrounds, XmCColors, XmRPixelTable, sizeof(XtPointer), XtOffsetOf(subr_t, background), XmRImmediate, NULL }, { XmNleftColumn, XmCLeftColumn, XmRInt, sizeof(int), XtOffsetOf(subr_t, left_column), XmRImmediate, NULL }, { XmNtopRow, XmCTopRow, XmRInt, sizeof(int), XtOffsetOf(subr_t, top_row), XmRImmediate, NULL } }; #include /* ARGSUSED */ static void Initialize(Widget request, Widget nw, ArgList args, Cardinal *num_args) { XbaeMatrixWidget new = (XbaeMatrixWidget) nw; Dimension marginHeight; subr_t base; Arg al[5]; Cardinal ac; DEBUGOUT(_XbaeDebug(__FILE__, nw, "Initialize args:\n")); DEBUGOUT(_XbaeDebugPrintArgList(__FILE__, nw, args, *num_args, False)); /* To clean up if our display connection disappears on us */ xbaeRegisterDisplay((Widget) new); /* * Initialize redisplay counters */ new->matrix.disable_redisplay = 0; new->matrix.per_cell = NULL; new->matrix.num_selected_cells = 0; new->matrix.last_click_time = (Time) 0; new->matrix.cursor = (Cursor) NULL; /* * We can only create/modify GCs after we have been realized */ new->matrix.draw_gc = 0; new->matrix.pixmap_gc = 0; new->matrix.label_gc = 0; new->matrix.grid_line_gc = 0; new->matrix.resize_top_shadow_gc = 0; new->matrix.resize_bottom_shadow_gc = 0; /* ** Private State Initialization, missing from 4.50.2 ** ** A.J.Fountain, IST. */ new->matrix.current_text_qtag = NULLQUARK; new->matrix.current_draw_qtag = NULLQUARK; new->matrix.cell_font.id = 0; new->matrix.label_font.id = 0; /* * No cell ever had the focus */ new->matrix.text_field_is_mapped = False; /* * No cell has ever been clicked */ new->matrix.last_row = -1; new->matrix.last_column = -1; /* * Check rows/cols set by resources for consistency/validity */ if (new->matrix.rows < 0 || new->matrix.columns < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "initialize", "badSize", "XbaeMatrix", "XbaeMatrix: Number of rows or columns is less than zero", (String *) NULL, (Cardinal *) NULL); if (new->matrix.rows < 0) new->matrix.rows = 0; if (new->matrix.columns < 0) new->matrix.columns = 0; } /* * We can't have more fixed rows/columns than there are rows/columns */ if (new->matrix.fixed_rows + new->matrix.trailing_fixed_rows > new->matrix.rows) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "initialize", "tooManyFixed", "XbaeMatrix", "XbaeMatrix: There can't be more fixed rows than there are rows", NULL, 0); new->matrix.fixed_rows = 0; new->matrix.trailing_fixed_rows = 0; } if (new->matrix.fixed_columns + new->matrix.trailing_fixed_columns > new->matrix.columns) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "initialize", "tooManyFixed", "XbaeMatrix", "XbaeMatrix: There can't be more fixed columns than there are columns", NULL, 0); new->matrix.fixed_columns = 0; new->matrix.trailing_fixed_columns = 0; } /* * Warn if a deprecated grid_type was specified */ if (new->matrix.grid_type >= XmGRID_LINE) /* Deprecated types. To be removed in next version. */ XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "cvtStringToGridType", "deprecatedType", "XbaeMatrix", "Value for GridType is deprecated and will " "be removed in next release", NULL, NULL); /* * Initialize the cell_font and label_font strucures. If legacy XmNfontList/XmNlabelFont * were given get the info from these else use XmNrenderTable. */ if (new->matrix.font_list) { DEBUGOUT(_XbaeDebug(__FILE__, nw, "Initialize copies fontList\n")); new->matrix.font_list = XmFontListCopy(new->matrix.font_list); } if (new->matrix.label_font_list) { DEBUGOUT(_XbaeDebug(__FILE__, nw, "Initialize copies labelFontList\n")); new->matrix.label_font_list = XmFontListCopy(new->matrix.label_font_list); } #if XmVERSION >= 2 if (new->matrix.render_table) { DEBUGOUT(_XbaeDebug(__FILE__, nw, "Initialize copies renderTable\n")); new->matrix.render_table = XmRenderTableCopy(new->matrix.render_table, NULL, 0); } if (!new->matrix.font_list && !new->matrix.render_table) { Widget w; XmSpecRenderTrait trait = NULL; for(w = XtParent((Widget) new); w != NULL; w = XtParent(w)) { trait = (XmSpecRenderTrait) XmeTraitGet(XtClass(w), XmQTspecifyRenderTable); if (trait) { new->matrix.render_table = XmRenderTableCopy(trait->getRenderTable(w, XmTEXT_RENDER_TABLE),NULL,0); break; } } if (w == NULL) { XmFontListEntry font_list_entry = XmFontListEntryLoad(XtDisplay((Widget) new), "fixed" , XmFONT_IS_FONT, XmFONTLIST_DEFAULT_TAG); new->matrix.font_list = XmFontListAppendEntry(NULL, font_list_entry); XmFontListEntryFree(&font_list_entry); } } #else if (!new->matrix.font_list) { XmFontListEntry font_list_entry = XmFontListEntryLoad(XtDisplay((Widget) new), "fixed" , XmFONT_IS_FONT, XmFONTLIST_DEFAULT_TAG); new->matrix.font_list = XmFontListAppendEntry(NULL, font_list_entry); XmFontListEntryFree(&font_list_entry); } #endif xbaeInitFonts(new); /* * If column_widths or row_heights weren't specified use a default value. */ if (new->matrix.columns) { if (new->matrix.column_widths == NULL) { int i; new->matrix.column_widths = (short *) XtMalloc(new->matrix.columns * sizeof(short)); for (i = 0; i < new->matrix.columns; i++) new->matrix.column_widths[i] = DEFAULT_COLUMN_WIDTH(new); } else { xbaeCopyColumnWidths(new); } } if (new->matrix.rows) { if (new->matrix.row_heights == NULL) { int i; new->matrix.row_heights = (short *) XtMalloc(new->matrix.rows * sizeof(short)); for (i = 0; i < new->matrix.rows; i++) new->matrix.row_heights[i] = DEFAULT_ROW_HEIGHT(new); } else { xbaeCopyRowHeights(new); } } /* * Copy the pointed to resources. */ if (new->matrix.column_alignments) xbaeCopyColumnAlignments(new); if (new->matrix.column_label_alignments) xbaeCopyColumnLabelAlignments(new); if (new->matrix.column_font_bold) xbaeCopyColumnFontBold(new); if (new->matrix.show_column_arrows) xbaeCopyShowColumnArrows(new); if (new->matrix.column_max_lengths) xbaeCopyColumnMaxLengths(new); if (new->matrix.column_button_labels) xbaeCopyColumnButtonLabels(new); if (new->matrix.row_button_labels) xbaeCopyRowButtonLabels(new); if (new->matrix.column_user_data) xbaeCopyColumnUserData(new); if (new->matrix.row_user_data) xbaeCopyRowUserData(new); if (new->matrix.column_shadow_types) xbaeCopyColumnShadowTypes(new); if (new->matrix.row_shadow_types) xbaeCopyRowShadowTypes(new); if (new->matrix.column_labels || new->matrix.xmcolumn_labels) { xbaeCopyColumnLabels(new); new->matrix.column_label_maxlines = xbaeCalculateLabelMaxLines(new->matrix.column_labels, new->matrix.xmcolumn_labels, new->matrix.columns); } else { new->matrix.column_label_maxlines = 0; } if (new->matrix.row_labels || new->matrix.xmrow_labels) { xbaeCopyRowLabels(new); new->matrix.row_label_maxlength = xbaeCalculateLabelMaxLength(new, new->matrix.row_labels, new->matrix.xmrow_labels, new->matrix.rows); } else { new->matrix.row_label_maxlength = 0; } /* * Create the 2 SBs unmanaged */ new->matrix.horizontal_sb = XtVaCreateWidget("horizScroll", xmScrollBarWidgetClass, (Widget) new, XmNorientation, XmHORIZONTAL, XmNdragCallback, HSCallback, XmNvalueChangedCallback, HSCallback, XmNincrement, CELL_FONT_WIDTH(new), XmNminimum, 0, XmNmaximum, 1, XmNsliderSize, 1, XmNbackground, new->matrix.scroll_background, XmNforeground, new->manager.foreground, XmNbottomShadowColor, new->manager.bottom_shadow_color, XmNbottomShadowPixmap, new->manager.bottom_shadow_pixmap, XmNhighlightColor, new->manager.highlight_color, XmNhighlightPixmap, new->manager.highlight_pixmap, XmNtopShadowColor, new->manager.top_shadow_color, XmNtopShadowPixmap, new->manager.top_shadow_pixmap, NULL); HORIZ_ORIGIN(new) = 0; new->matrix.vertical_sb = XtVaCreateWidget("vertScroll", xmScrollBarWidgetClass, (Widget) new, XmNorientation, XmVERTICAL, XmNdragCallback, VSCallback, XmNvalueChangedCallback, VSCallback, XmNincrement, TEXT_HEIGHT(new), XmNminimum, 0, /* gonna be corrected in relayout() */ XmNmaximum, 1, XmNsliderSize, 1, XmNbackground, new->matrix.scroll_background, XmNforeground, new->manager.foreground, XmNbottomShadowColor, new->manager.bottom_shadow_color, XmNbottomShadowPixmap, new->manager.bottom_shadow_pixmap, XmNhighlightColor, new->manager.highlight_color, XmNhighlightPixmap, new->manager.highlight_pixmap, XmNtopShadowColor, new->manager.top_shadow_color, XmNtopShadowPixmap, new->manager.top_shadow_pixmap, NULL); VERT_ORIGIN(new) = 0; /* * Create 7 clips for the 7 scrollable regions. */ new->matrix.center_clip = XtVaCreateWidget("clip", xbaeClipWidgetClass, (Widget) new, XmNexposeProc, ClipRedisplay, XmNtraversalOn, False, XmNbackground, new->core.background_pixel, NULL); new->matrix.left_clip = XtVaCreateWidget("leftclip", xbaeClipWidgetClass, (Widget) new, XmNexposeProc, ClipRedisplay, XmNtraversalOn, False, XmNbackground, new->core.background_pixel, NULL); new->matrix.right_clip = XtVaCreateWidget("rightclip", xbaeClipWidgetClass, (Widget) new, XmNexposeProc, ClipRedisplay, XmNtraversalOn, False, XmNbackground, new->core.background_pixel, NULL); new->matrix.top_clip = XtVaCreateWidget("topclip", xbaeClipWidgetClass, (Widget) new, XmNexposeProc, ClipRedisplay, XmNtraversalOn, False, XmNbackground, new->core.background_pixel, NULL); new->matrix.bottom_clip = XtVaCreateWidget("bottomclip", xbaeClipWidgetClass, (Widget) new, XmNexposeProc, ClipRedisplay, XmNtraversalOn, False, XmNbackground, new->core.background_pixel, NULL); new->matrix.row_label_clip = XtVaCreateWidget("rowlabelclip", xbaeClipWidgetClass, (Widget) new, XmNexposeProc, ClipRedisplay, XmNtraversalOn, False, XmNbackground, new->core.background_pixel, NULL); new->matrix.column_label_clip = XtVaCreateWidget("columnlabelclip", xbaeClipWidgetClass, (Widget) new, XmNexposeProc, ClipRedisplay, XmNtraversalOn, False, XmNbackground, new->core.background_pixel, NULL); /* * Bug Fix for Release Xbae-4.50.3 with margin width - * If it 0 or less, then user cannot backspace in the Text Widget * doesn't work correctly. */ if (new->matrix.cell_margin_width < 1) { new->matrix.cell_margin_width = 1; } /* * Calculate the baselines at which to draw the row labels, the * cell and the marginHeight of the TextField based on the * largest of the label and cell font. * Column lables baselines are always - new->matrix.label_font.y */ new->matrix.cell_baseline = - new->matrix.cell_font.y; new->matrix.row_label_baseline = - new->matrix.label_font.y; marginHeight = new->matrix.cell_margin_height; if (LABEL_FONT_HEIGHT(new) > CELL_FONT_HEIGHT(new)) { new->matrix.cell_baseline += (LABEL_FONT_HEIGHT(new) - CELL_FONT_HEIGHT(new)) / 2; marginHeight += (LABEL_FONT_HEIGHT(new) - CELL_FONT_HEIGHT(new)) / 2; } else if (LABEL_FONT_HEIGHT(new) < CELL_FONT_HEIGHT(new)) { new->matrix.row_label_baseline += (CELL_FONT_HEIGHT(new) - LABEL_FONT_HEIGHT(new)) / 2; } /* * Create text field managed so we can use it for traversal */ new->matrix.text_field = XtVaCreateManagedWidget("textField", new->matrix.useXbaeInput ? xbaeInputWidgetClass : xmTextWidgetClass, (Widget) new, XmNmarginWidth, new->matrix.cell_margin_width, XmNmarginHeight, marginHeight, #if XmVERSION >= 2 (new->matrix.render_table) ? XmNrenderTable : XmNfontList, (new->matrix.render_table) ? new->matrix.render_table : new->matrix.font_list, #else XmNfontList, new->matrix.font_list, #endif XmNshadowThickness, new->matrix.text_shadow_thickness, XmNforeground, new->manager.foreground, XmNbottomShadowColor, new->manager.bottom_shadow_color, XmNbottomShadowPixmap, new->manager.bottom_shadow_pixmap, XmNhighlightThickness, new->matrix.cell_highlight_thickness, XmNhighlightColor, new->manager.highlight_color, XmNhighlightPixmap, new->manager.highlight_pixmap, XmNeditMode, (new->matrix.multi_line_cell) ? XmMULTI_LINE_EDIT : XmSINGLE_LINE_EDIT, XmNwordWrap, (new->matrix.wrap_type == XbaeWrapNone) ? False : True, XmNnavigationType, XmNONE, XmNtraversalOn, new->manager.traversal_on, NULL); XtAddCallback(TextField(new), XmNfocusCallback, xbaeFocusCB, (XtPointer) new); XtAddCallback(TextField(new), XmNlosingFocusCallback, xbaeLosingFocusCB, (XtPointer) new); XtAddCallback(TextField(new), XmNmodifyVerifyCallback, xbaeModifyVerifyCB, (XtPointer) new); XtAddCallback(TextField(new), XmNvalueChangedCallback, xbaeValueChangedCB, (XtPointer) new); /* Install the text_translations on the TextField */ if (new->matrix.text_translations == NULL) { Widget shell = _XbaeGetShellAncestor(nw); if (XtIsSubclass(shell, xmDialogShellWidgetClass)) { new->matrix.text_translations = XtParseTranslationTable(default_dialog_text_translations); } else { new->matrix.text_translations = XtParseTranslationTable(default_text_translations); } } XtOverrideTranslations(TextField(new), new->matrix.text_translations); /* * Cache the pixel position of each column */ new->matrix.column_positions = CreateColumnPositions(new); new->matrix.row_positions = CreateRowPositions(new); xbaeGetColumnPositions(new); xbaeGetRowPositions(new); /* * Compute our size. If either dimension was explicitly set to 0, * then that dimension is computed. * Use request because superclasses modify width/height. */ if (request->core.width == 0 || request->core.height == 0) xbaeComputeSize(new, request->core.width == 0, request->core.height == 0); /* * Layout the scrollbars and clip widget based on our size */ xbaeRelayout(new); /* * Deal with the hidden resources (that are no longer resources but elements of * the per cell structure). */ base.cells = 0; XtGetSubresources(nw, &base, XtName(nw), "xbaeMatrixWidgetClass", subresources, XtNumber(subresources), args, *num_args); ac = 0; XtSetArg(al[ac], XmNcells, base.cells); ac++; XtSetArg(al[ac], XmNcolors, base.colors); ac++; XtSetArg(al[ac], XmNcellBackgrounds, base.background); ac++; XtSetArg(al[ac], XmNleftColumn, base.left_column); ac++; XtSetArg(al[ac], XmNtopRow, base.top_row); ac++; SetValuesHook(nw, al, &ac); #if 0 fprintf(stderr, "BASE cells %p\n", base.cells); { int i, j; for (i=0; imatrix.rows; i++) for (j=0; jmatrix.columns; j++) fprintf(stderr, "\tCell[%d][%d] = {%s}\n", i, j, base.cells[i][j]); } #endif } void Realize(XbaeMatrixWidget mw, XtValueMask * valueMask, XSetWindowAttributes * attributes) { *valueMask |= CWDontPropagate; attributes->do_not_propagate_mask = ButtonPressMask | ButtonReleaseMask | KeyPressMask | KeyReleaseMask | PointerMotionMask; /* * Don't call our superclasses realize method, because Manager sets * bit_gravity */ XtCreateWindow((Widget) mw, InputOutput, CopyFromParent, *valueMask, attributes); /* * Now that we have a window... * Get/create our GCs */ xbaeCreateDrawGC(mw); xbaeCreatePixmapGC(mw); xbaeCreateLabelGC(mw); xbaeGetGridLineGC(mw); xbaeGetResizeTopShadowGC(mw); xbaeGetResizeBottomShadowGC(mw); /* * Realize our children */ XtRealizeWidget(TextField(mw)); XtRealizeWidget(CenterClip(mw)); XtRealizeWidget(LeftClip(mw)); XtRealizeWidget(RightClip(mw)); XtRealizeWidget(TopClip(mw)); XtRealizeWidget(BottomClip(mw)); XtRealizeWidget(RowLabelClip(mw)); XtRealizeWidget(ColumnLabelClip(mw)); /* * Hide the TextField */ xbaeHideTextField(mw); /* * Make sure the user widgets get realized and * then reparented. * -- Linas */ if (mw->matrix.per_cell) { int row, col; for (row = 0; row < mw->matrix.rows; row++) { for (col = 0; col < mw->matrix.columns; col++) { Widget uw = mw->matrix.per_cell[row][col].widget; if (uw) { XtRealizeWidget(uw); if (XmIsGadget(uw)) { /* * FIX ME don't know how to deal with gadgets */ } else { xbaePositionCellWidget(mw, row, col); } } } } xbaeSetInitialFocus(mw); } /* * Init */ mw->matrix.prev_column = -1; /* Used to compare tracking callback */ mw->matrix.prev_row = -1; /* Used to compare tracking callback */ } static void InsertChild(Widget w) { ((XmManagerWidgetClass) (xbaeMatrixWidgetClass->core_class.superclass))->composite_class.insert_child(w); } /* * This is the expose method for the Matrix widget. * It redraws the fixed labels, the cells in totally fixed cells * and the shadow. */ /* ARGSUSED */ static void Redisplay(Widget w, XEvent *event, Region region) { XbaeMatrixWidget mw = (XbaeMatrixWidget) w; XRectangle expose; if (mw->matrix.disable_redisplay) return; if (!XtIsRealized(w)) return; /* * Get the expose rectangle from the XEvent */ switch (event->type) { case Expose: expose.x = event->xexpose.x; expose.y = event->xexpose.y; expose.width = event->xexpose.width; expose.height = event->xexpose.height; break; case GraphicsExpose: expose.x = event->xgraphicsexpose.x; expose.y = event->xgraphicsexpose.y; expose.width = event->xgraphicsexpose.width; expose.height = event->xgraphicsexpose.height; break; case NoExpose: default: return; } xbaeRedrawLabelsAndFixed(mw, &expose); } /* * This is the exposeProc function for the Clip widgets. * It handles expose events for the Clip widgets by redrawing those * non-fixed cells which were damaged. * It receives Expose, GraphicsExpose and NoExpose events. */ /* ARGSUSED */ static void ClipRedisplay(Widget w, XRectangle *expose, XEvent *event, Region r) { XbaeMatrixWidget mw = (XbaeMatrixWidget) XtParent(w); XRectangle region; if (mw->matrix.disable_redisplay) return; /* * Make the expose rectangle relative to the matrix */ expose->x += w->core.x; expose->y += w->core.y; region.x = w->core.x; region.y = w->core.y; region.width = w->core.width; region.height = w->core.height; xbaeRedrawRegion(mw, expose, ®ion); } /* * Handle XmNcells, which is no longer a widget resource, but hidden in the per cell structure. */ static Boolean SetValuesHook(Widget w, ArgList args, Cardinal *nargs) { XbaeMatrixWidget mw = (XbaeMatrixWidget)w; Boolean redisplay = False; int i, row, col; DEBUGOUT(_XbaeDebug(__FILE__, w, "SetValuesHook args:\n")); DEBUGOUT(_XbaeDebugPrintArgList(__FILE__, w, args, *nargs, False)); for (i=0; i<*nargs; i++) { if (strcmp(args[i].name, XmNcells) == 0) { char ***cells = (char ***)args[i].value; if (!cells) continue; /* * Create the per cell structure if needed */ if (! mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * This is a two-dimensional array of cells. * Each cell is a string. * Copy them. */ for (row = 0; row < mw->matrix.rows; row++) { if (cells[row] == NULL) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setValuesHook", "tooShort", "XbaeMatrix", "XbaeMatrix: Not enough rows in cells array", NULL, 0); break; } for (col = 0; col < mw->matrix.columns; col++) { if (cells[row][col] == &xbaeBadString) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setValuesHook", "tooShort", "XbaeMatrix", "XbaeMatrix: Not enough columns in cells array", NULL, 0); break; } if (mw->matrix.per_cell[row][col].CellValue) { if (strcmp(mw->matrix.per_cell[row][col].CellValue, cells[row][col]) != 0) { XtFree(mw->matrix.per_cell[row][col].CellValue); mw->matrix.per_cell[row][col].CellValue = XtNewString(cells[row][col]); xbaeDrawCell(mw, row, col); } } else { mw->matrix.per_cell[row][col].CellValue = XtNewString(cells[row][col]); xbaeDrawCell(mw, row, col); } } } if (mw->matrix.text_field_is_mapped) { xbaeUpdateTextField(mw, True); } } else if (strcmp(args[i].name, XmNcellShadowTypes) == 0) { unsigned char **st = (unsigned char **)args[i].value; /* Tobias: FIXME There is no converter for this resource */ if (!st) continue; /* * Create the per cell structure if needed */ if (! mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * This is a two-dimensional array of data, each item is one byte. */ for (row = 0; row < mw->matrix.rows; row++) { if (st[row] == NULL) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setValuesHook", "tooShort", "XbaeMatrix", "XbaeMatrix: Not enough rows in cellsShadowTypes array", NULL, 0); break; } for (col = 0; col < mw->matrix.columns; col++) { if (st[row][col] == BAD_SHADOW) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setValuesHook", "tooShort", "XbaeMatrix", "XbaeMatrix: Not enough columns in cellsShadowTypes array", NULL, 0); break; } if (mw->matrix.per_cell[row][col].shadow_type != st[row][col]) { mw->matrix.per_cell[row][col].shadow_type = st[row][col]; xbaeDrawCell(mw, row, col); } } } } else if (strcmp(args[i].name, XmNcellBackgrounds) == 0) { Pixel **bg = (Pixel **)args[i].value;; if (!bg) continue; /* * Create the per cell structure if needed */ if (! mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * This is a two-dimensional array of data, each item is one byte. */ for (row = 0; row < mw->matrix.rows; row++) { if (bg[row] == NULL) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setValuesHook", "tooShort", "XbaeMatrix", "XbaeMatrix: Not enough rows in backgrounds array", NULL, 0); break; } for (col = 0; col < mw->matrix.columns; col++) { if (bg[row][col] == BAD_PIXEL) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setValuesHook", "tooShort", "XbaeMatrix", "XbaeMatrix: Not enough columns in backgrounds array", NULL, 0); break; } if (mw->matrix.per_cell[row][col].background != bg[row][col]) { mw->matrix.per_cell[row][col].background = bg[row][col]; xbaeDrawCell(mw, row, col); } } } if (mw->matrix.text_field_is_mapped) { xbaeUpdateTextField(mw, False); } } else if (strcmp(args[i].name, XmNcolors) == 0) { Pixel **fg = (Pixel **)args[i].value; if (! fg) continue; /* * Create the per cell structure if needed */ if (! mw->matrix.per_cell) xbaeCreatePerCell(mw); /* * This is a two-dimensional array of data, each item is one byte. */ for (row = 0; row < mw->matrix.rows; row++) { if (fg[row] == NULL) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setValuesHook", "tooShort", "XbaeMatrix", "XbaeMatrix: Not enough rows in colors array", NULL, 0); break; } for (col = 0; col < mw->matrix.columns; col++) { if (fg[row][col] == BAD_PIXEL) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "setValuesHook", "tooShort", "XbaeMatrix", "XbaeMatrix: Not enough columns in colors array", NULL, 0); break; } if (mw->matrix.per_cell[row][col].color != fg[row][col]) { mw->matrix.per_cell[row][col].color = fg[row][col]; xbaeDrawCell(mw, row, col); } } } if (mw->matrix.text_field_is_mapped) { xbaeUpdateTextField(mw, False); } } else if (strcmp(args[i].name, XmNleftColumn) == 0) { XmScrollBarCallbackStruct call_data; call_data.value = xbaeCalculateHorizOrigin(mw, args[i].value); xbaeScrollHorizCB((Widget) HorizScrollChild(mw), NULL, &call_data); XtVaSetValues(HorizScrollChild(mw), XmNvalue, HORIZ_ORIGIN(mw), NULL); } else if (strcmp(args[i].name, XmNtopRow) == 0) { XmScrollBarCallbackStruct call_data; call_data.value = xbaeCalculateVertOrigin(mw, args[i].value); xbaeScrollVertCB((Widget) VertScrollChild(mw), NULL, &call_data); XtVaSetValues(VertScrollChild(mw), XmNvalue, VERT_ORIGIN(mw), NULL); } } return redisplay; } static void GetValuesHook(Widget w, ArgList args, Cardinal *nargs) { XbaeMatrixWidget mw = (XbaeMatrixWidget)w; int i, row, col; for (i=0; i<*nargs; i++) { if (strcmp(args[i].name, XmNcells) == 0) { String ***p = (String ***)args[i].value; String **cells; /* * If the per cell structure isn't there yet, don't return anything. */ if (! mw->matrix.per_cell) { *p = NULL; continue; /* on to the next ARG */ } /* * This is a two-dimensional array of cells. * Each cell is a string. * Copy them. */ cells = (String **)XtMalloc(mw->matrix.rows * sizeof(char **)); for (row = 0; row < mw->matrix.rows; row++) { cells[row] = (String *)XtMalloc(mw->matrix.columns * sizeof(char *)); for (col = 0; col < mw->matrix.columns; col++) { cells[row][col] = XtNewString( mw->matrix.per_cell[row][col].CellValue); } } *p = cells; } else if (strcmp(args[i].name, XmNcellShadowTypes) == 0) { unsigned char ***p = (unsigned char ***)args[i].value; unsigned char **shadow_types; /* * If the per cell structure isn't there yet, don't return anything. */ if (! mw->matrix.per_cell) { *p = NULL; continue; /* on to the next ARG */ } /* * This is a two-dimensional array of cells. * Each cell is a string. * Copy them. */ shadow_types = (unsigned char **)XtMalloc(mw->matrix.rows * sizeof(unsigned char *)); for (row = 0; row < mw->matrix.rows; row++) { shadow_types[row] = (unsigned char *)XtMalloc(mw->matrix.columns); for (col = 0; col < mw->matrix.columns; col++) { shadow_types[row][col] = mw->matrix.per_cell[row][col].shadow_type; } } *p = shadow_types; } else if (strcmp(args[i].name, XmNcellBackgrounds) == 0) { Pixel ***p = (Pixel ***)args[i].value; Pixel **bg; /* * If the per cell structure isn't there yet, don't return anything. */ if (! mw->matrix.per_cell) { *p = NULL; continue; /* on to the next ARG */ } /* * This is a two-dimensional array of cells. * Each cell is a string. * Copy them. */ bg = (Pixel **)XtMalloc(mw->matrix.rows * sizeof(Pixel *)); for (row = 0; row < mw->matrix.rows; row++) { bg[row] = (Pixel *)XtMalloc(mw->matrix.columns * sizeof(Pixel)); for (col = 0; col < mw->matrix.columns; col++) { bg[row][col] = mw->matrix.per_cell[row][col].background; } } *p = bg; } else if (strcmp(args[i].name, XmNcolors) == 0) { Pixel ***p = (Pixel ***)args[i].value; Pixel **fg; /* * If the per cell structure isn't there yet, don't return anything. */ if (! mw->matrix.per_cell) { *p = NULL; continue; /* on to the next ARG */ } /* * This is a two-dimensional array of cells. * Each cell is a string. * Copy them. */ fg = (Pixel **)XtMalloc(mw->matrix.rows * sizeof(Pixel *)); for (row = 0; row < mw->matrix.rows; row++) { fg[row] = (Pixel *)XtMalloc(mw->matrix.columns * sizeof(Pixel)); for (col = 0; col < mw->matrix.columns; col++) { fg[row][col] = mw->matrix.per_cell[row][col].color; } } *p = fg; } else if (strcmp(args[i].name, XmNleftColumn) == 0) { int *p = (int *) args[i].value; *p = xbaeLeftColumn(mw); } else if (strcmp(args[i].name, XmNtopRow) == 0) { int *p = (int *) args[i].value; *p = xbaeTopRow(mw); } } } /* ARGSUSED */ static Boolean SetValues(XbaeMatrixWidget current, XbaeMatrixWidget request, XbaeMatrixWidget new, ArgList args, Cardinal * num_args) { Boolean hide_text_field = False; /* need to hide the TextField */ Boolean update_text_field = False; /* need to update the TextField */ Boolean redisplay = False; /* need to redraw */ Boolean relayout = False; /* need to layout, but same size */ Boolean new_column_widths = False; /* column widths changed */ Boolean new_row_heights = False; /* row heights changed */ int n; Arg wargs[11]; int current_row, current_column; XtVaGetValues(TextField(current), XmNattachRow, ¤t_row, XmNattachColumn, ¤t_column, NULL); DEBUGOUT(_XbaeDebug(__FILE__, (Widget) new, "SetValues args:\n")); DEBUGOUT(_XbaeDebugPrintArgList(__FILE__, (Widget) new, args, *num_args, False)); #define NE(field) (current->field != new->field) #define EQ(field) (current->field == new->field) /* * We cannot re-set either of the scrollbars, the textField or * clip window. */ if (NE(matrix.vertical_sb) || NE(matrix.horizontal_sb) || NE(matrix.center_clip) || NE(matrix.text_field)) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "setValues", "set matrix children", "XbaeMatrix", "XbaeMatrix: Cannot set matrix widget children", NULL, 0); new->matrix.vertical_sb = current->matrix.vertical_sb; new->matrix.horizontal_sb = current->matrix.horizontal_sb; new->matrix.center_clip = current->matrix.center_clip; new->matrix.text_field = current->matrix.text_field; } /* * If rows changed, then: * row_labels must change or be NULL * xmrow_labels must change or be NULL * row_button_labels must change or be NULL */ if (NE(matrix.rows) && ( (new->matrix.row_labels && EQ(matrix.row_labels)) || (new->matrix.xmrow_labels && EQ(matrix.xmrow_labels)) || (new->matrix.row_button_labels && EQ(matrix.row_button_labels)))) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "setValues", "rows", "XbaeMatrix", "XbaeMatrix: Number of rows changed but dependent resources did not", NULL, 0); new->matrix.rows = current->matrix.rows; new->matrix.row_labels = current->matrix.row_labels; new->matrix.xmrow_labels = current->matrix.xmrow_labels; new->matrix.row_button_labels = current->matrix.row_button_labels; } /* * If columns changed, then: * column_max_lengths must change or be NULL * column_labels must change or be NULL * xmcolumn_labels must change or be NULL * column_alignments must change or be NULL * column_button_labels must change or be NULL * column_label_alignments must change or be NULL * show_column_arrows must change or be NULL */ if (NE(matrix.columns) && ( (new->matrix.column_labels && EQ(matrix.column_labels)) || (new->matrix.xmcolumn_labels && EQ(matrix.xmcolumn_labels)) || (new->matrix.column_max_lengths && EQ(matrix.column_max_lengths)) || (new->matrix.column_alignments && EQ(matrix.column_alignments)) || (new->matrix.column_font_bold && EQ(matrix.column_font_bold)) || (new->matrix.column_button_labels && EQ(matrix.column_button_labels)) || (new->matrix.column_label_alignments && EQ(matrix.column_label_alignments)) || (new->matrix.show_column_arrows && EQ(matrix.show_column_arrows)))) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "setValues", "columns", "XbaeMatrix", "XbaeMatrix: Number of columns changed but dependent resources did not", NULL, 0); /* FIX ME Are there memory leaks here ? */ new->matrix.columns = current->matrix.columns; new->matrix.column_max_lengths = current->matrix.column_max_lengths; new->matrix.column_labels = current->matrix.column_labels; new->matrix.xmcolumn_labels = current->matrix.xmcolumn_labels; new->matrix.column_alignments = current->matrix.column_alignments; new->matrix.column_font_bold = current->matrix.column_font_bold; new->matrix.column_button_labels = current->matrix.column_button_labels; new->matrix.column_label_alignments = current->matrix.column_label_alignments; new->matrix.show_column_arrows = current->matrix.show_column_arrows; } /* * Make sure we have a sane number of rows/columns. */ if (new->matrix.columns < 0 || new->matrix.rows < 0) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "setValues", "size", "XbaeMatrix", "XbaeMatrix: Number of rows or columns is less than zero", NULL, 0); if (new->matrix.columns < 0) new->matrix.columns = current->matrix.columns; if (new->matrix.rows < 0) new->matrix.rows = current->matrix.rows; } /* * We can't have more fixed rows/columns than there are rows */ if (new->matrix.fixed_rows + new->matrix.trailing_fixed_rows > new->matrix.rows) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "setValues", "tooManyFixed", "XbaeMatrix", "XbaeMatrix: There can't be more fixed rows than there are rows", NULL, 0); if (NE(matrix.fixed_rows)) new->matrix.fixed_rows = current->matrix.fixed_rows; if (NE(matrix.trailing_fixed_rows)) new->matrix.trailing_fixed_rows = current->matrix.trailing_fixed_rows; if (NE(matrix.rows)) new->matrix.rows = current->matrix.rows; } if (new->matrix.fixed_columns + new->matrix.trailing_fixed_columns > new->matrix.columns) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "setValues", "tooManyFixed", "XbaeMatrix", "XbaeMatrix: There can't be more fixed columns than there are columns", NULL, 0); if (NE(matrix.fixed_columns)) new->matrix.fixed_columns = current->matrix.fixed_columns; if (NE(matrix.trailing_fixed_columns)) new->matrix.trailing_fixed_columns = current->matrix.trailing_fixed_columns; if (NE(matrix.columns)) new->matrix.columns = current->matrix.columns; } if (NE(matrix.grid_type) && (new->matrix.grid_type >= XmGRID_LINE)) /* Deprecated types. To be removed in next version. */ XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "cvtStringToGridType", "deprecatedType", "XbaeMatrix", "Value for GridType is deprecated and will be removed in next release", NULL, NULL); /* * Check if any of the resources changed that only requires a redisplay */ if ( NE(matrix.grid_type) || NE(matrix.even_row_background) || NE(matrix.odd_row_background) || NE(matrix.selected_foreground) || NE(matrix.selected_background) || NE(matrix.reverse_select) || NE(matrix.shadow_type) || NE(matrix.show_arrows)) redisplay = True; if ( NE(matrix.even_row_background) || NE(matrix.odd_row_background) || (NE(matrix.alt_row_count) && new->matrix.even_row_background != new->matrix.odd_row_background)) { redisplay = True; if (new->matrix.text_background == XmUNSPECIFIED_PIXEL && new->matrix.text_background_is_cell) { update_text_field = True; } } if (NE(matrix.text_background) || ( new->matrix.text_background == XmUNSPECIFIED_PIXEL && (NE(matrix.text_background_is_cell) || NE(core.background_pixel)))) { update_text_field = True; } if (NE(matrix.grid_line_color) && IN_GRID_LINE_MODE(new)) redisplay = True; if (NE(matrix.cell_shadow_type) && IN_GRID_SHADOW_MODE(new)) redisplay = True; /* * If we have labels and the way they are displayed changed we need to redisplay */ if ( ( new->matrix.row_labels || new->matrix.column_labels || new->matrix.xmrow_labels || new->matrix.xmcolumn_labels) && ( NE(matrix.bold_labels) || NE(matrix.button_labels) || NE(matrix.button_label_background) || NE(matrix.column_label_color) || NE(matrix.row_label_color) || NE(matrix.row_label_alignment))) redisplay = True; /* * Check if any of the resources changed that requires a redisplay and * needs to be passed down to our children */ n = 0; if (NE(manager.foreground)) { XtSetArg(wargs[n], XmNforeground, new->manager.foreground); n++; redisplay = True; } if (NE(manager.bottom_shadow_color)) { XtSetArg(wargs[n], XmNbottomShadowColor, new->manager.bottom_shadow_color); n++; redisplay = True; } if (NE(manager.bottom_shadow_pixmap)) { XtSetArg(wargs[n], XmNbottomShadowPixmap, new->manager.bottom_shadow_pixmap); n++; redisplay = True; } if (NE(manager.top_shadow_color)) { XtSetArg(wargs[n], XmNtopShadowColor, new->manager.top_shadow_color); n++; redisplay = True; } if (NE(manager.top_shadow_pixmap)) { XtSetArg(wargs[n], XmNtopShadowPixmap, new->manager.top_shadow_pixmap); n++; redisplay = True; } if (NE(manager.highlight_color)) { XtSetArg(wargs[n], XmNhighlightColor, new->manager.highlight_color); n++; redisplay = True; } if (NE(manager.highlight_pixmap)) { XtSetArg(wargs[n], XmNhighlightPixmap, new->manager.highlight_pixmap); n++; redisplay = True; } if (NE(core.background_pixel)) { /* * Set the new core background of all our clips (thanks Daiji). */ XtVaSetValues(CenterClip(new), XmNbackground, new->core.background_pixel, NULL); XtVaSetValues(LeftClip(new), XmNbackground, new->core.background_pixel, NULL); XtVaSetValues(RightClip(new), XmNbackground, new->core.background_pixel, NULL); XtVaSetValues(TopClip(new), XmNbackground, new->core.background_pixel, NULL); XtVaSetValues(BottomClip(new), XmNbackground, new->core.background_pixel, NULL); XtVaSetValues(RowLabelClip(new), XmNbackground, new->core.background_pixel, NULL); XtVaSetValues(ColumnLabelClip(new), XmNbackground, new->core.background_pixel, NULL); /* * Set the background of the scollbars without polluting wargs since we need it for TextField */ XtSetArg(wargs[n], XmNbackground, new->core.background_pixel); DEBUGOUT(_XbaeDebug(__FILE__, (Widget) new, "SetValues for vsb, hsb with args:")); DEBUGOUT(_XbaeDebugPrintArgList(__FILE__, (Widget) new, wargs, n + 1, False)); XtSetValues(VertScrollChild(new), wargs, n + 1); XtSetValues(HorizScrollChild(new), wargs, n + 1); redisplay = True; } else if (n) { DEBUGOUT(_XbaeDebug(__FILE__, (Widget) new, "SetValues for vsb, hsb with args:")); DEBUGOUT(_XbaeDebugPrintArgList(__FILE__, (Widget) new, wargs, n, False)); XtSetValues(VertScrollChild(new), wargs, n); XtSetValues(HorizScrollChild(new), wargs, n); } if (NE(manager.traversal_on)) { XtSetArg(wargs[n], XmNtraversalOn, new->manager.traversal_on); n++; } if (NE(matrix.multi_line_cell)) { XtSetArg(wargs[n], XmNeditMode, (new->matrix.multi_line_cell) ? XmMULTI_LINE_EDIT : XmSINGLE_LINE_EDIT); n++; redisplay = True; } if (NE(matrix.wrap_type)) { XtSetArg(wargs[n], XmNwordWrap, (new->matrix.wrap_type == XbaeWrapNone) ? False : True); n++; redisplay = True; } /* * Pass resources on to the TextField. */ if (n) { DEBUGOUT(_XbaeDebug(__FILE__, (Widget) new, "SetValues for TextField with args:")); DEBUGOUT(_XbaeDebugPrintArgList(__FILE__, (Widget) new, wargs, n, False)); XtSetValues(TextField(new), wargs, n); } if (NE(matrix.text_translations)) { XtOverrideTranslations(TextField(new), new->matrix.text_translations); } /* * If fonts change, recalculate their parameters and reset the SB increment. * Relayout will be set later should cell sizes change. */ #if XmVERSION >= 2 if (NE(matrix.font_list) || NE(matrix.label_font_list) || NE(matrix.render_table)) { if (NE(matrix.render_table)) { if (current->matrix.render_table) { XmRenderTableFree(current->matrix.render_table); current->matrix.render_table = NULL; } new->matrix.render_table = XmRenderTableCopy(new->matrix.render_table, NULL, 0); } #else if (NE(matrix.font_list) || NE(matrix.label_font_list)) { #endif if (NE(matrix.font_list)) { if (current->matrix.font_list) { XmFontListFree(current->matrix.font_list); current->matrix.font_list = NULL; } new->matrix.font_list = XmFontListCopy(new->matrix.font_list); } if (NE(matrix.label_font_list)) { if (current->matrix.label_font_list) { XmFontListFree(current->matrix.label_font_list); current->matrix.label_font_list = NULL; } new->matrix.label_font_list = XmFontListCopy(new->matrix.label_font_list); } xbaeInitFonts(new); XtVaSetValues(HorizScrollChild(new), XmNincrement, CELL_FONT_WIDTH(new), NULL); XtVaSetValues(VertScrollChild(new), XmNincrement, TEXT_HEIGHT(new), NULL); /* * Set the label_font_id in the label_gc. */ if ( XtIsRealized((Widget) new) && NE(matrix.label_font.id) && new->matrix.label_font.type == XmFONT_IS_FONT) { XSetFont(XtDisplay(new), new->matrix.label_gc, new->matrix.label_font.id); } /* * Make sure xbaeDrawCellString uses the proper font next time arround */ new->matrix.current_draw_qtag = NULLQUARK; /* * Tobias: FIXME this will only update the font of the TextField on the next * editCell. See DoEditCell in Methods.c on how to fix this. */ new->matrix.current_text_qtag = NULLQUARK; redisplay = True; } /* * Recalculate our baselines and pass the cell resources on to the textField. * Relayout will be set later should cell sizes change. */ if ( CELL_FONT_HEIGHT(new) != CELL_FONT_HEIGHT(current) || LABEL_FONT_HEIGHT(new) != LABEL_FONT_HEIGHT(current) || NE(matrix.cell_font.y) || NE(matrix.label_font.y) || NE(matrix.cell_margin_width) || NE(matrix.cell_margin_height) || NE(matrix.cell_highlight_thickness) || NE(matrix.text_shadow_thickness)) { int marginHeight, current_marginHeight; /* * Bugfix for 4.50.3 : if cell_margin_width <= 0, the text field * doesn't handle backspace correctly. */ if (new->matrix.cell_margin_width < 1) { new->matrix.cell_margin_width = 1; } /* * Recalculate the baselines at which to draw the row labels, the * cell and the marginHeight of the TextField based on the * largest of the label and cell font. * Column lables baselines are always - new->matrix.label_font.y */ new->matrix.cell_baseline = - new->matrix.cell_font.y; new->matrix.row_label_baseline = - new->matrix.label_font.y; marginHeight = new->matrix.cell_margin_height; if (LABEL_FONT_HEIGHT(new) > CELL_FONT_HEIGHT(new)) { new->matrix.cell_baseline += (LABEL_FONT_HEIGHT(new) - CELL_FONT_HEIGHT(new)) / 2; marginHeight += (LABEL_FONT_HEIGHT(new) - CELL_FONT_HEIGHT(new)) / 2; } else if (LABEL_FONT_HEIGHT(new) < CELL_FONT_HEIGHT(new)) { new->matrix.row_label_baseline += (CELL_FONT_HEIGHT(new) - LABEL_FONT_HEIGHT(new)) / 2; } current_marginHeight = current->matrix.cell_margin_height; if (LABEL_FONT_HEIGHT(current) > CELL_FONT_HEIGHT(current)) { current_marginHeight += (LABEL_FONT_HEIGHT(current) - CELL_FONT_HEIGHT(current)) / 2; } if ( marginHeight != current_marginHeight || NE(matrix.cell_margin_width) || NE(matrix.cell_highlight_thickness) || NE(matrix.text_shadow_thickness)) { XtVaSetValues(TextField(new), XmNhighlightThickness, new->matrix.cell_highlight_thickness, XmNshadowThickness, new->matrix.text_shadow_thickness, XmNmarginWidth, new->matrix.cell_margin_width, XmNmarginHeight, marginHeight, NULL); if (!new->matrix.text_field_is_mapped) { hide_text_field = True; } } redisplay = True; } /* * Hide the TextField if the cell that was edited was deleted */ if ( current_row >= new->matrix.rows || current_column >= new->matrix.columns) { XtVaSetValues(TextField(new), XmNattachRow, -1, XmNattachColumn, -1, NULL); if (new->matrix.text_field_is_mapped) { hide_text_field = True; } } /* * Copy the per column/row resources */ if (NE(matrix.column_alignments)) { xbaeFreeColumnAlignments(current); if (new->matrix.column_alignments) xbaeCopyColumnAlignments(new); redisplay = True; } if (NE(matrix.column_label_alignments)) { xbaeFreeColumnLabelAlignments(current); if (new->matrix.column_label_alignments) xbaeCopyColumnLabelAlignments(new); redisplay = True; } if (NE(matrix.column_font_bold)) { xbaeFreeColumnFontBold(current); if (new->matrix.column_font_bold) xbaeCopyColumnFontBold(new); redisplay = True; } if (NE(matrix.show_column_arrows)) { xbaeFreeShowColumnArrows(current); if (new->matrix.show_column_arrows) xbaeCopyShowColumnArrows(new); redisplay = True; } if (NE(matrix.column_max_lengths)) { xbaeFreeColumnMaxLengths(current); if (new->matrix.column_max_lengths) xbaeCopyColumnMaxLengths(new); redisplay = True; } if (NE(matrix.column_button_labels)) { xbaeFreeColumnButtonLabels(current); if (new->matrix.column_button_labels) xbaeCopyColumnButtonLabels(new); redisplay = True; } if (NE(matrix.row_button_labels)) { xbaeFreeRowButtonLabels(current); if (new->matrix.row_button_labels) xbaeCopyRowButtonLabels(new); redisplay = True; } if (NE(matrix.column_user_data)) { xbaeFreeColumnUserData(current); if (new->matrix.column_user_data) xbaeCopyColumnUserData(new); } if (NE(matrix.row_user_data)) { xbaeFreeRowUserData(current); if (new->matrix.row_user_data) xbaeCopyRowUserData(new); } if (NE(matrix.column_shadow_types)) { xbaeFreeColumnShadowTypes(current); if (new->matrix.column_shadow_types) xbaeCopyColumnShadowTypes(new); if (new->matrix.grid_type == XmGRID_COLUMN_SHADOW) redisplay = True; } if (NE(matrix.row_shadow_types)) { xbaeFreeRowShadowTypes(current); if (new->matrix.row_shadow_types) xbaeCopyRowShadowTypes(new); if (new->matrix.grid_type == XmGRID_ROW_SHADOW) redisplay = True; } if (NE(matrix.column_labels) || NE(matrix.xmcolumn_labels)) { if (new->matrix.column_labels || new->matrix.xmcolumn_labels) { xbaeCopyColumnLabels(new); new->matrix.column_label_maxlines = xbaeCalculateLabelMaxLines(new->matrix.column_labels, new->matrix.xmcolumn_labels, new->matrix.columns); } else { new->matrix.column_label_maxlines = 0; } xbaeFreeColumnLabels(current); redisplay = True; } if (NE(matrix.row_labels) || NE(matrix.xmrow_labels)) { if (new->matrix.row_labels || new->matrix.xmrow_labels) { xbaeCopyRowLabels(new); new->matrix.row_label_maxlength = xbaeCalculateLabelMaxLength(new, new->matrix.row_labels, new->matrix.xmrow_labels, new->matrix.rows); } else { new->matrix.row_label_maxlength = 0; } xbaeFreeRowLabels(current); redisplay = True; } if ( COLUMN_LABEL_HEIGHT(new) != COLUMN_LABEL_HEIGHT(current) || ROW_LABEL_WIDTH(new) != ROW_LABEL_WIDTH(current)) { relayout = True; } if (NE(matrix.column_widths)) { xbaeFreeColumnWidths(current); if (new->matrix.column_widths) xbaeCopyColumnWidths(new); new_column_widths = True; /* * Hide the TextField if the cell that was edited was hidden */ if (new->matrix.column_widths[current_column] == 0) { XtVaSetValues(TextField(new), XmNattachRow, -1, XmNattachColumn, -1, NULL); if (new->matrix.text_field_is_mapped) { hide_text_field = True; } } } else { if (NE(matrix.column_width_in_pixels)) { /* * Convert the measuremnt of column_widths from pixels to characters and vice versa */ int i; if (new->matrix.column_width_in_pixels == True) { for (i = 0; i < current->matrix.columns; i++) { if (new->matrix.column_widths[i] != 0) { new->matrix.column_widths[i] = new->matrix.column_widths[i] * CELL_FONT_WIDTH(new) + 2 * CELL_BORDER_WIDTH(new); } } } else { for (i = 0; i < current->matrix.columns; i++) { if (new->matrix.column_widths[i] != 0) { new->matrix.column_widths[i] = (new->matrix.column_widths[i] - 2 * CELL_BORDER_WIDTH(new)) / CELL_FONT_WIDTH(new); } } } new_column_widths = True; } if (NE(matrix.columns)) { /* * The number of columns changed but no new widths were given */ new->matrix.column_widths = (short *) XtRealloc((XtPointer) new->matrix.column_widths, new->matrix.columns * sizeof(short)); current->matrix.column_widths = NULL; if (new->matrix.columns > current->matrix.columns) { /* * There are new columns, init their width to the default */ int i; for(i = current->matrix.columns; i < new->matrix.columns; i++) { new->matrix.column_widths[i] = DEFAULT_COLUMN_WIDTH(new); } } new_column_widths = True; } } if (NE(matrix.row_heights)) { xbaeFreeRowHeights(current); if (new->matrix.row_heights) xbaeCopyRowHeights(new); new_row_heights = True; /* * Hide the TextField if the cell that was edited was hidden */ if (new->matrix.row_heights[current_row] == 0) { XtVaSetValues(TextField(new), XmNattachRow, -1, XmNattachColumn, -1, NULL); if (new->matrix.text_field_is_mapped) { hide_text_field = True; } } } else { if (NE(matrix.row_height_in_pixels)) { /* * Convert the measuremnt of row_heights from pixels to lines and vice versa */ int i; if (new->matrix.row_height_in_pixels == True) { for (i = 0; i < current->matrix.rows; i++) { if (new->matrix.row_heights[i] != 0) { new->matrix.row_heights[i] = new->matrix.row_heights[i] * TEXT_HEIGHT(new) + 2 * CELL_BORDER_HEIGHT(new); } } } else { for (i = 0; i < current->matrix.rows; i++) { if (new->matrix.row_heights[i] != 0) { new->matrix.row_heights[i] = (new->matrix.row_heights[i] - 2 * CELL_BORDER_HEIGHT(new)) / TEXT_HEIGHT(new); } } } new_row_heights = True; } if (NE(matrix.rows)) { /* * The number of rows changed but no new heights were given */ new->matrix.row_heights = (short *) XtRealloc((XtPointer) new->matrix.row_heights, new->matrix.rows * sizeof(short)); current->matrix.row_heights = NULL; if (new->matrix.rows > current->matrix.rows) { /* * There are new rows, init their height to the default */ int i; for(i = current->matrix.rows; i < new->matrix.rows; i++) { new->matrix.row_heights[i] = DEFAULT_ROW_HEIGHT(new); } } new_row_heights = True; } } /* * If the number of rows or columns changed, we need to allocate new arrays for * the private state */ if (NE(matrix.rows) || NE(matrix.columns)) { ResizePerCell(current, new); if (NE(matrix.rows)) { xbaeFreeRowPositions(current); new->matrix.row_positions = CreateRowPositions(new); } if (NE(matrix.columns)) { xbaeFreeColumnPositions(current); new->matrix.column_positions = CreateColumnPositions(new); } } /* * If cell heights or widths changed recalculate the positions, relayout and redisplay */ if ( new_row_heights || ( !new->matrix.row_height_in_pixels && ( TEXT_HEIGHT(new) != TEXT_HEIGHT(current) || NE(matrix.cell_margin_height) || NE(matrix.cell_highlight_thickness) || NE(matrix.cell_shadow_thickness) || NE(matrix.text_shadow_thickness)))) { xbaeGetRowPositions(new); redisplay = relayout = True; } if ( new_column_widths || ( !new->matrix.column_width_in_pixels && ( CELL_FONT_WIDTH(new) != CELL_FONT_WIDTH(current) || NE(matrix.cell_margin_width) || NE(matrix.cell_highlight_thickness) || NE(matrix.cell_shadow_thickness) || NE(matrix.text_shadow_thickness)))) { xbaeGetColumnPositions(new); redisplay = relayout = True; } if ( NE(matrix.rows) || NE(matrix.columns) || NE(matrix.fixed_rows) || NE(matrix.fixed_columns) || NE(matrix.trailing_fixed_rows) || NE(matrix.trailing_fixed_columns)) { relayout = True; } /* * If our fill policy or an attachment changed redisplay and relayout. */ if (NE(matrix.fill) || NE(matrix.vert_fill) || NE(matrix.horz_fill) || NE(matrix.non_fixed_detached_top) || NE(matrix.non_fixed_detached_left) || NE(matrix.trailing_attached_bottom) || NE(matrix.trailing_attached_right)) { redisplay = relayout = True; } /* * If what's arround the matrix changed relayout. */ if ( NE(matrix.scrollbar_placement) || NE(matrix.vsb_display_policy) || NE(matrix.hsb_display_policy) || NE(matrix.space) || NE(manager.shadow_thickness)) relayout = True; /* * Compute a new size if: * visible_rows or visible_columns changed. * user set our width or height to zero. */ #if 1 /* Cheap trick that works, provided by arcad.de */ if (NE(core.width)) new->matrix.visible_columns = 0; if (NE(core.height)) new->matrix.visible_rows = 0; #endif if (NE(matrix.visible_rows) || NE(matrix.visible_columns) || request->core.height == 0 || request->core.width == 0) xbaeComputeSize(new, request->core.width == 0, request->core.height == 0); DEBUGOUT(_XbaeDebug(__FILE__, (Widget) new, "SetValues redisplay is %s relayout is %s\n", redisplay ? "True" : "False", relayout ?"True" : "False")); /* * Do things that only make sense post realize */ if (XtIsRealized((Widget) new)) { /* * Hide/update the TextField if needed */ if (hide_text_field) { xbaeHideTextField(new); } else if (update_text_field && new->matrix.text_field_is_mapped) { xbaeUpdateTextField(new, False); } /* * Changes to the GCs */ if (XtIsSensitive((Widget) current) != XtIsSensitive((Widget) new)){ unsigned long valuemask = GCFillStyle; XGCValues values; Display *dpy = XtDisplay(new); values.fill_style = (XtIsSensitive((Widget) new)) ? FillSolid : FillStippled; XChangeGC(dpy, new->matrix.draw_gc, valuemask, &values); XChangeGC(dpy, new->matrix.pixmap_gc, valuemask, &values); XChangeGC(dpy, new->matrix.label_gc, valuemask, &values); redisplay = True; } if (NE(matrix.grid_line_color)) { xbaeGetGridLineGC(new); } if (NE(manager.foreground) || NE(manager.top_shadow_color) || NE(manager.top_shadow_pixmap)) { xbaeGetResizeTopShadowGC(new); } if (NE(manager.foreground) || NE(manager.bottom_shadow_color) || NE(manager.bottom_shadow_pixmap)) { xbaeGetResizeBottomShadowGC(new); } /* * Force the Clip widget to redisplay. Note: this may generate an * expose event for the current size of the Clip widget, and the Clip * widget may be sized smaller in set_values_almost. The ClipRedisplay * function can handle this case. */ if (redisplay && !new->matrix.disable_redisplay) { xbaeRefresh(new, relayout && EQ(core.width) && EQ(core.height)); relayout = False; } } if (relayout && EQ(core.width) && EQ(core.height)) { /* * If our size didn't change, but we need to layout, call Relayout. * If our size did change, then Xt will call our Resize method for us. * If our size did change, but the new size is later refused, * then SetValuesAlmost will call Resize to layout. * * JDS: Don't need to force a redisplay on a relayout, since the Clip * widget's resize method (now non-NULL) will be called and Xt will * automatically do an expose after that occurs. Seems to work, anyways :). */ xbaeRelayout(new); } /* * We want to return True when we need to redisplay or relayout. */ return redisplay || relayout; #undef NE #undef EQ } /* ARGSUSED */ static void SetValuesAlmost(XbaeMatrixWidget old, XbaeMatrixWidget new, XtWidgetGeometry * request, XtWidgetGeometry * reply) { /* * If XtGeometryAlmost, accept compromize - Resize will take care of it */ if (reply->request_mode) { *request = *reply; #if XtSpecificationRelease > 4 /* * In R5, XtSetValues changed so that when a widgets parent * returns XtGeometryAlmost, Xt will only call the widgets resize * method if the widgets size actually changed. It turns out that * some manager widgets (old Wcl XmpTable and 1.1.x XmForm) return * XtGeometryAlmost with a compromise size which is the widgets * original size (not much of a compromise)! This means as of R5, * Matrix's resize method won't get called in that case. * * So, for R5 we explicitly call our relayout method here for the * case of XtGeometryAlmost where our size did not change. */ if ((reply->request_mode & CWWidth || reply->request_mode & CWHeight) && (old->core.width == new->core.width && old->core.height == new->core.height)) xbaeRelayout(new); #endif } /* * If XtGeometryNo, call Relayout if it was a size change that was denied. * Accept the original geometry. * (we need to force a Relayout even though the size didn't * change - set_values relies on this) */ else { if ((request->request_mode & CWWidth || request->request_mode & CWHeight)) xbaeRelayout(new); request->request_mode = 0; } } static void Destroy(XbaeMatrixWidget mw) { /* SGO: just delete GCs when set. otherwise crashes could be produced */ if (mw->matrix.label_gc) { XFreeGC(XtDisplay(mw), mw->matrix.label_gc); mw->matrix.label_gc = NULL; } if (mw->matrix.draw_gc) { XFreeGC(XtDisplay(mw), mw->matrix.draw_gc); mw->matrix.draw_gc = NULL; } if (mw->matrix.pixmap_gc) { XFreeGC(XtDisplay(mw), mw->matrix.pixmap_gc); mw->matrix.pixmap_gc = NULL; } if (mw->matrix.grid_line_gc) { XtReleaseGC((Widget) mw, mw->matrix.grid_line_gc); mw->matrix.grid_line_gc = NULL; } if (mw->matrix.resize_top_shadow_gc) { XtReleaseGC((Widget) mw, mw->matrix.resize_top_shadow_gc); mw->matrix.resize_top_shadow_gc = NULL; } if (mw->matrix.resize_bottom_shadow_gc) { XtReleaseGC((Widget) mw, mw->matrix.resize_bottom_shadow_gc); mw->matrix.resize_bottom_shadow_gc = NULL; } xbaeFreeRowLabels(mw); xbaeFreeRowHeights(mw); xbaeFreeRowPositions(mw); xbaeFreeRowButtonLabels(mw); xbaeFreeRowUserData(mw); xbaeFreeRowShadowTypes(mw); xbaeFreeColumnLabels(mw); xbaeFreeColumnWidths(mw); xbaeFreeColumnPositions(mw); xbaeFreeColumnButtonLabels(mw); xbaeFreeColumnUserData(mw); xbaeFreeColumnShadowTypes(mw); xbaeFreeColumnMaxLengths(mw); xbaeFreeColumnAlignments(mw); xbaeFreeColumnLabelAlignments(mw); xbaeFreeShowColumnArrows(mw); xbaeFreeColumnFontBold(mw); xbaeFreePerCell(mw); if (mw->matrix.render_table) { XmRenderTableFree(mw->matrix.render_table); mw->matrix.render_table = NULL; } if (mw->matrix.font_list) { XmFontListFree(mw->matrix.font_list); mw->matrix.font_list = NULL; } if (mw->matrix.label_font_list) { XmFontListFree(mw->matrix.label_font_list); mw->matrix.label_font_list = NULL; } } /* * Since we totally control our childrens geometry, allow anything. */ /* ARGSUSED */ static XtGeometryResult GeometryManager(Widget w, XtWidgetGeometry * desired, XtWidgetGeometry * allowed) { #define Wants(flag) (desired->request_mode & flag) DEBUGOUT(_XbaeDebug(__FILE__, w, "GeometryManager\n")); if (Wants(XtCWQueryOnly)) return (XtGeometryYes); if (Wants(CWWidth)) w->core.width = desired->width; if (Wants(CWHeight)) w->core.height = desired->height; if (Wants(CWX)) w->core.x = desired->x; if (Wants(CWY)) w->core.y = desired->y; if (Wants(CWBorderWidth)) w->core.border_width = desired->border_width; return (XtGeometryYes); #undef Wants } /* * We would prefer to be the size calculated in ComputeSize and saved in * desired_width/height */ static XtGeometryResult QueryGeometry(XbaeMatrixWidget mw, XtWidgetGeometry * proposed, XtWidgetGeometry * desired) { #define Set(bit) (proposed->request_mode & bit) DEBUGOUT(_XbaeDebug(__FILE__, (Widget) mw, "QueryGeometry\n")); desired->width = mw->matrix.desired_width; desired->height = mw->matrix.desired_height; desired->request_mode = CWWidth | CWHeight; if ( Set(CWWidth) && proposed->width == desired->width && Set(CWHeight) && proposed->height == desired->height) return (XtGeometryYes); if (desired->width == mw->core.width && desired->height == mw->core.height) return (XtGeometryNo); return (XtGeometryAlmost); #undef Set } /* * Add rows/columns of per-cell flags when set_values changes our rows/columns */ static void ResizePerCell(XbaeMatrixWidget current, XbaeMatrixWidget new) { int i, j; int safe_rows = 0; DEBUGOUT(_XbaeDebug(__FILE__, (Widget) current, "ResizePerCell (%d,%d) -> (%d,%d)\n", current->matrix.rows, current->matrix.columns, new->matrix.rows, new->matrix.columns)); if (!new->matrix.per_cell) return; if (new->matrix.rows > current->matrix.rows) { /* * Adding rows */ new->matrix.per_cell = (XbaeMatrixPerCellRec **) XtRealloc((XtPointer) new->matrix.per_cell, new->matrix.rows * sizeof(XbaeMatrixPerCellRec *)); for (i = current->matrix.rows; i < new->matrix.rows; i++) { new->matrix.per_cell[i] = (XbaeMatrixPerCellRec *) XtMalloc(new->matrix.columns * sizeof(XbaeMatrixPerCellRec)); for (j = 0; j < new->matrix.columns; j++) { xbaeFill_WithEmptyValues_PerCell(new, &new->matrix.per_cell[i][j]); } } safe_rows = current->matrix.rows; } else if (new->matrix.rows < current->matrix.rows) { /* * Deleting rows */ for (i = new->matrix.rows; i < current->matrix.rows; i++) { for (j = 0; j < current->matrix.columns; j++) { xbaeFreePerCellEntity(current, i, j); } XtFree((XtPointer) current->matrix.per_cell[i]); } new->matrix.per_cell = (XbaeMatrixPerCellRec **) XtRealloc((XtPointer) new->matrix.per_cell, new->matrix.rows * sizeof(XbaeMatrixPerCellRec *)); safe_rows = new->matrix.rows; } else { safe_rows = new->matrix.rows; } if (new->matrix.columns > current->matrix.columns) { /* * Adding columns */ /* * Do not touch any rows added/deleted above (use safe_rows) */ for (i = 0; i < safe_rows; i++) { new->matrix.per_cell[i] = (XbaeMatrixPerCellRec *) XtRealloc((char *) new->matrix.per_cell[i], new->matrix.columns * sizeof(XbaeMatrixPerCellRec)); for (j = current->matrix.columns; j < new->matrix.columns; j++) { xbaeFill_WithEmptyValues_PerCell(new, &new->matrix.per_cell[i][j]); } } } else if (new->matrix.columns < current->matrix.columns) { /* * Deleting columns */ /* * Do not touch any rows added/deleted above (use safe_rows) */ for (i = 0; i < safe_rows; i++) { for (j = new->matrix.columns; j < current->matrix.columns; j++) { xbaeFreePerCellEntity(new, i, j); } new->matrix.per_cell[i] = (XbaeMatrixPerCellRec *) XtRealloc((char *) new->matrix.per_cell[i], new->matrix.columns * sizeof(XbaeMatrixPerCellRec)); } } } #ifdef WIN32 #ifdef USING_EXCEED /* * Exceed has a somewhat strange environment for DLL's : they require the application * to call some DLL initialisation function (i.e. porting to Exceed requires a source * change). * * In analogy to their approach with e.g. HCLXawInit() and HCLXtInit(), we now add a * function called HCLXbaeInit() to be called prior to any Xbae action. * In other Windows based environments, this doesn't appear to be necessary. * * Thanks to Karthik Rajagopalan for figuring this out for me. */ export void HCLXbaeInit(void) { HCLFixXtPointers(_XtInherit, XtInheritTranslations); } #else /* * A Windows-based environment other than Exceed. */ int __stdcall DllMain(unsigned long mod_handle, unsigned long flag, void *routine) { switch (flag) { case 1: /* DLL_PROCESS_ATTACH - process attach */ /* FIX ME What should happen here ? */ break; case 0: /* DLL_PROCESS_DETACH - process detach */ break; } return 1; } #endif #endif xbae-4.60.4/src/XbaeInput.3.in0000664000076400007640000003322507442431746012656 00000000000000'\" t .\" $Id: XbaeInput.3.in,v 1.5 2002/03/09 16:10:14 amai Exp $ .. .de cI .IP \fI\\$1\fR 10 .. .de LI .IP \fB\\$1\fR 5 .. .TH XbaeInput 3x "@VERSION@" "@PACKAGE@" .SH NAME XbaeInput \- The Input widget class. .SH SYNOPSIS #include .SH DESCRIPTION .B XbaeInput is a text input field that provides generic customised data entry and formatting for strings. It does this by using a clever .B XmNmodifyVerifyCallback that is installed when the .B XmNpattern resource is set. The .B XmNpattern value may include optional characters and literals which will be discussed later in this document. .PP The .B XbaeInput widget is ideal for restricting data input to a digit, alphanumeric character or an alphabetic character. If .B XmNconvertCase is set, the widget automatically changes an inserted character to uppercase or lowercase. Literal characters can also be included in the .B XmNpattern that can be automatically inserted as the user types by setting the .B XmNautofill resource to True. Optional literals cannot be auto inserted, however. .PP Unlike the .B XmText field from which this widget is subclassed, the .B toggle-overwrite action is bound to the .B osfInsert key. The .B XmNoverwriteMode is also provided to allow the resource to be changed programatically. .PP When the .B XbaeInput widget loses focus or is activated in the same way as the .B XmText field would be, callbacks on the XmNvalidateCallback list are invoked, allowing the programmer to validate the data as well as reformatting the existing string. .SS "Classes" .B XbaeInput inherits behavior and resources from the .BR Core , .BR XmPrimitive , and .B XmText widget classes. .br The class pointer is .BR xbaeInputWidgetClass . .br The class name is .BR XbaeInput . .SS "New Resources" The following table lists the new resources defined by .BR XbaeInput . The codes in the Access column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XbaeInput Resource Set _ Name Class Type Default Access = XmNalignment XmCAlignment unsigned char XmALIGNMENT_BEGINNING CSG _ XmNautoFill XmCBoolean Boolean False CSG _ XmNconvertCase XmCBoolean Boolean True CSG _ XmNoverwriteMode XmCBoolean Boolean False CSG _ XmNpattern XmCString String NULL CSG _ XmNvalidateCallback XmCCallback Callback NULL CSG .TE This resource has not been implemented. .sp .LI XmNalignment This resource has not been implemented! .sp Specifies the alignment of the text when being edited and displayed. Possible values are .BR XmALIGNMENT_BEGINNING and .BR XmALIGNMENT_END . If .B XmNalignment is set to .BR XmALIGNMENT_END , the text will be right justified. If left as the default of .BR XmALIGNMENT_BEGINNING , the text will be left justified. .LI XmNautoFill The .B XmNautoFill resource, when set to True, attempts to automatically insert a literal if a non literal is hit in an allowed literal position. For example, if the .B XmNpattern resource was set up to accept a date in dd/mm/yyyy format and the user typed "18041999" The resulting string would appear as "18/04/1999". The default value is False, where the user would have to type the literal. .LI XmNconvertCase Tells the .B XbaeInput widget what should be done to alphabetic characters if the .XmNpattern requires a lowercase or uppercase letter. If the .B XmNconvertCase is set to True (default), then the character is automatically converted to the correct case. If set to False, then the user must type the character in the correct case in order for it to be accepted. See the .B EXAMPLE PATTERNS section towards the end of this document for some examples. .LI overwriteMode Whether the .XbaeInput widget accepts characters in insert mode or overwrite mode is controlled by the .XmNoverwriteMode resource. Setting this resource calls the .B XmText .B toggle-overwrite() action routine, so the Motif toolkit being used must also support this routine. .LI XmNpattern The .B XmNpattern resource specifies what can be typed into the .B XbaeInput widget. If set to the default value of .SM NULL any character may be entered. The .B XmNpattern can be set to a string containing the following characters. .br \fC .TS lB l . a alphabetic characters only b both - either digit or character c any character at all d digits only U upperchase character only L lowercase character only [ start of optional sequence ] end of optional sequence \\\\ escapes the next character | next char is an alternative to previous. May be chained. .TE \fP .PP .SS "Inherited Resources" The following table lists the resources which .B XbaeInput inherits from it's superclasses .BR XmText , .B XmPrimitive and .BR Core . For a complete description of each resource, refer to the man page for that superclass. The codes in the "Access" column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .LP .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XmText Resource Set _ Name Class Type Default Access = XmNautoShowCursorPosition XmCAutoShowCursorPosition Boolean True CSG _ XmNcursorPosition XmCCursorPosition XmTextPosition 0 CSG _ XmNeditable XmCEditable Boolean True CSG _ XmNeditMode XmCEditMode int XmSINGLE_LINE_EDIT CSG _ XmNfocusCallback XmCCallback XtCallbackList NULL CSG _ XmNgainPrimaryCallback XmCCallback XtCallbackList NULL CSG _ XmNlosePrimaryCallback XmCCallback XtCallbackList NULL CSG _ XmNlosingFocusCallback XmCCallback XtCallbackList NULL CSG _ XmNmarginHeight XmCMarginHeight Dimension 5 CSG _ XmNmarginWidth XmCMarginWidth Dimension 5 CSG _ XmNmaxLength XmCMaxLength int largest integer CSG _ XmNmodifyVerifyCallback XmCCallback XtCallbackList NULL CSG _ XmNmodifyVerifyCallbackWcs XmCCallback XtCallbackList NULL CSG _ XmNmotionVerifyCallback XmCCallback XtCallbackList NULL CSG _ XmNsource XmCSource XmTextSource Default source CSG _ XmNtopCharacter XmCTextPosition XmTextPosition 0 CSG _ XmNvalue XmCValue String "" CSG _ XmNvalueChangedCallback XmCCallback XtCallbackList NULL CSG _ XmNvalueWcs XmCvalueWcs wchar_t * (wchar_t *)"" CSG _ XmNverifyBell XmCVerifyBell Boolean dynamic CSG .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XmPrimitive Resource Set _ Name Class Type Default Access = XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG _ XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNforeground XmCForeground Pixel dynamic CSG _ XmNhighlightColor XmCHighlightColor Pixel dynamic CSG _ XmNhighlightOnEnter XmCHighlightOnEnter Boolean False CSG _ XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG _ XmNhighlightThickness XmCHighlightThickness Dimension 2 CSG _ XmNnavigationType XmCNavigationType XmNavigationType XmNONE CSG _ XmNshadowThickness XmCShadowThickness Dimension 2 CSG _ XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG _ XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG _ XmNtraversalOn XmCTraversalOn Boolean True CSG _ XmNunitType XmCUnitType unsignedChar dynamic CSG _ XmNuserData XmCUserData Pointer NULL CSG .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . Core Resource Set = Name Class Type Default Access _ XmNaccelerators XmCAccelerators XtAccelerators NULL CSG _ XmNancestorSensitive XmCSensitive Boolean dynamic G _ XmNbackground XmCBackground Pixel dynamic CSG _ XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG _ XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderWidth XmCBorderWidth Dimension 1 CSG _ XmNcolormap XmCColormap Colormap dynamic CG _ XmNdepth XmCDepth int dynamic CG _ XmNdestroyCallback XmCCallback XtCallbackList NULL C _ XmNheight XmCHeight Dimension dynamic CSG _ XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C _ XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG _ XmNscreen XmCScreen Screen dynamic CG _ XmNsensitive XmCSensitive Boolean True CSG _ XmNtranslations XmCTranslations XtTranslations dynamic CSG _ XmNwidth XmCWidth Dimension dynamic CSG _ XmNx XmCPosition Position 0 CSG _ XmNy XmCPosition Position 0 CSG .TE .sp .SS "Callback Information" .LI XmNvalidateCallback Callbacks on the .B XmNvalidateCallback list are called when the edits to the .B XbaeInput widget are activated or a losing focus event occurs. Each callback function is passed the following structure: .sp .ne 7 .TS lb s s l lb li . typedef struct \&{ int reason; XEvent *event; String pattern; String value; Boolean doit; .T& lb s s. \&} XbaeInputValidateCallbackStruct; .TE .RS .sp .cI reason Set to .B XmCR_ACTIVATE if the user caused the callback to be invoked by activating the changes in the cell or .B XmCR_LOSING_FOCUS if the callback was called due to a losing focus event. .cI event The event pointer that triggered the callback. .cI pattern A pointer to the pattern for the .B XbaeInput widget or .SM NULL if one does not exist. This value is provided as a convenience to the callback. .cI value The value as it appears in the cell at the time of the callback being invoked. .cI doit Indicates whether or not the value is valid. By setting \fIdoit\fP to False the value will not be accepted. .PP This callback provides the application of checking the validity of the value entered into the .B XbaeInput widget. Checking the validity of a date may be one such instance. If the value is verified as valid, all values of the callback may be left unchanged. If the pointer to the value is changed, the new value will be displayed in the cell and storage for the old value deallocated by the .B XbaeInput widget. The new value's memory is owned by the application and it is up to the application to use XtFree to deallocate it. .PP If the \fIvalue\fP is not considered valid, the \fIdoit\fP flag should be set to False, forcing the user to make changes before the value can be accepted. .RE .SS Translations .B XbaeInput inherits translations from .BR XmText . Some versions of Motif do not have the \fC .TS lw(6cm) l . :osfInsert: toggle-overstrike(\|) .TE \fR .PP translation installed by default. If this is the case, .B XbaeInput automatically registers this translation. .PP .SS "Type Converters" .PP .B XbaeInput does not define any new type converters other than the standard type converters registered by Xt and Motif. .PP .SS "Public Functions" .sp The following external entry points to .B XbaeInput class methods are defined: .sp .ne 6 .B XbaeCreateInput(\|) .PP .RS .TS l s s l l li . Widget XbaeCreateInput(\|) Widget parent; String name; ArgList arglist; Cardinal argcount; .TE .sp .cI parent Specifies the parent widget ID. .cI name Specifies the name of the created widget .cI arglist Specifies the argument list .cI argcount Specifies the number of attribute/value pairs in the argument list (arglist) .PP .B XbaeCreateInput(\|) creates an instance of an XbaeInput widget and returns the associated widget ID. .SS "EXAMPLE PATTERNS" .LI \fCd[d]/d[d]/dd[dd]\fP A date that would accept 1/1/99, 12/1/99, 1/12/1999, 01/01/2000, etc. .LI \fCU[L][L][L][L][L],\ U[L][L][L][L][L]\fP "Surname, Firstname" combination, automatically forcing correct case and allowing between 1 and 6 characters per name. .LI \fCUU-dd[d][d]\fP A flight number consisting of two uppercase letters and 2 to 4 numbers .LI \fC(ddd)\ ddd-dddd\fP An American style phone number .LI \fCUdU[-]dUd\fP A Canadian postcode with optional dash. .PP .SS "Virtual Bindings" .sp The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see .BR VirtualBindings(3X) . .SH AUTHOR .B Andrew Lister \fC(lister@db.com)\fP .sp .SH RELEASE .sp This document describes XbaeInput from Xbae Version 4.9. .SH "SEE ALSO" .B Core(3X), XmPrimitive(3X), XmText(3X) .SH "Notice of Limitation" .sp The Author, previous and current maintainers of the Xbae widgets (collectively 'authors') provide this information solely to professionals who have the appropriate degree of experience to understand and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. No recommendations as to products or vendors is made or should be implied. .PP While the information contained herein has been prepared from sources deemed to be reliable, the authors reserve the right to revise the information without notice, but have no obligation to do so. Unless the recipient has been expressly granted a license by Bellcore under separate applicable written agreement with Bellcore, no license, expressed or implied, is granted under any patents, copyrights or other intellectual property rights. Use of the information is at your discretion and shall not be deemed an inducement by Bellcore to infringe any existing or later-issued patent, copyrights or other intellectual property right. .PP THE AUTHORS MAKE NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE INFORMATION IS PROVIDED ``AS IS'', AND IN NO EVENT SHALL THE AUTHORS OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION. .PP Copyright 1999 Andrew Lister. All Rights Reserved. .br Copyright 1999-2002 LessTif Developers .sp 3 The above no warranty extends to all additions and contributions. No contributor shall be held liable; this work is provided ``as is''. If this is a problem for you, then don't use this software. xbae-4.60.4/src/XbaeMatrix.3.in0000664000076400007640000041564010274414556013025 00000000000000'\" t .\" $Header: /cvsroot/xbae/Xbae/src/XbaeMatrix.3.in,v 1.28 2005/08/04 13:34:38 tobiasoed Exp $ .\" .\" .\" Don't touch the macros here - they appear to do some magic to make the .LI .\" lines display its parameter as a heading, instead of just a bullet. .\" .. .de cI .IP \fI\\$1\fR 10 .. .de LI .IP \fB\\$1\fR 5 .. .\" .\" End of those lines. .\" .\" Some macro definitions for simplifying this manual page .\" .de xcb1 .B \\$1(\|) .PP .RS .. .de xcb2 .sp .. .de xcb3 .sp .ne 6 .RE .. .\" .B XbaeMatrixSetCellWidget(\|) .\" .PP .\" .RS .\" .TS .\" l s s .\" l l li . .\" void XbaeMatrixSetCellWidget(w, row, column, widget) .\" Widget w; .\" int row; .\" int column; .\" Widget widget; .\" .TE .\" .sp .\" .B XbaeMatrixSetCellWidget(\|) .\" is a function to attach a widget to a matrix cell. .\" The cell is selected by specifying its .\" .B row .\" and .\" .B column , .\" .B widget .\" is the cell widget to be associated with that cell. .\" XbaeMatrix will manage the cell widget's position and size so it .\" is displayed inside the cell at all times, including when scrolling. .\" .PP .\" Using a NULL .\" .B widget .\" removes the link between a widget and its cell. .\" Only one widget can be in a cell, .\" a widget should also be in only one cell at a time. .\" .sp .\" .ne 6 .\" .RE .\" .\" End of those lines. .\" .TH XbaeMatrix 3x "@THE_DATE@" "@VERSION@" "@PACKAGE@" .SH NAME XbaeMatrix \- The Bellcore Application Environment (BAE) XbaeMatrix widget class. .SH SYNOPSIS #include .SH DESCRIPTION .B XbaeMatrix presents an editable array of string data to the user in a scrollable grid-like format similar to a spreadsheet. Non editable pixmaps can also be displayed on the matrix. The rows and columns of the Matrix may optionally be labeled. Also, a number of fixed leading or trailing rows or columns may be specified - these behave similarly to the labels. While .B XbaeMatrix looks and acts like a grid of .B XmText widgets, it actually contains only one .BR XmText . This means that .B XbaeMatrix widgets with hundreds or thousands of rows have much less overhead than they would if they used an .B XmText for each cell. .PP Clicking on a cell with .B Button1 will edit the cell. While a cell is being edited, .B Tab and .B Shift-Tab will edit the cell to the right or left respectively. The .B osfUp and .B osfDown keys will edit the cell above or below. .B Ctrl-Tab and .B Shift-Ctrl-Tab will traverse out of the Matrix and into the next or previous tab groups. .PP The .B osfCancel key will cancel any edits made to a cell. The .B osfActivate key will commit any edits made to a cell and store them in the Matrix. When traversing from another tab group into the Matrix, the focus will go to whichever cell is currently being edited. If no cells are being edited, then the upper left most visible non-fixed cell will be edited. .PP The column sizes may be dynamically resized by pressing the Shift-Button2 combination when over a column boundary, similar to the behaviour of some popular spreadsheets. After a column has been resized in this manner, the .B XbaeMatrix calls the callbacks on the .B XmNresizeColumnCallback callback list for post processing. .PP If the Matrix is resized until it is too small to display all of the cells in a given dimension, then it will display a ScrollBar for that dimension. The horizontal ScrollBar will scroll the cells and column labels, but not the row labels, fixed columns or trailing fixed columns. The vertical ScrollBar will scroll the cells and row labels, but not the column labels, fixed rows or trailing fixed rows. .PP For the application programmer, .B XbaeMatrix provides callbacks to assist in data validation. The callbacks on the .B XmNmodifyVerifyCallback callback list are called before text is inserted into, or deleted from, a cell. This callback list can be used to force user input to match a certain pattern (e.g. a date format). Similarly, the .B XmNvalueChangedCallback is called after text is inserted or deleted. .PP When a cell is edited (by clicking on it or tabbing into it), the .B XmNleaveCellCallback callbacks are called for the previous cell being edited, if any. The application can verify the data entered in that cell and disallow editing of the new cell if the data is invalid. If the data was valid, then the .B XmNenterCellCallback callbacks for the new cell are called. These callbacks can be used to specify the editability of the new cell. .PP The .B XmNtraverseCellCallback callbacks are also called when the user attempts to edit a new cell and when the matrix gains or looses focus. This allows the application to override the default traversal behavior of .BR XbaeMatrix . .PP The .B XmNdefaultActionCallback is provided to allow a double click action in a cell to perform some function. .PP Motif's Drag and Drop functionality can be achieved via the .BR XmNprocessDragCallback . .PP For large amounts of data, the overhead of assigning data to the widget can be avoided using the .BR XmNdrawCellCallback . This callback also allows user defined pixmaps to be placed in a certain cell. When using this callback, data for string fields can be written back to the application by using the .BR XmNwriteCellCallback . .SH "Classes" .B XbaeMatrix inherits behavior and resources from the .BR Core , .BR Composite , .BR Constraint , and .B XmManager widget classes. .br The class pointer is .BR xbaeMatrixWidgetClass . .br The class name is .BR XbaeMatrix . .SH "New Resources" The following table lists the new resources defined by .BR XbaeMatrix . The codes in the ``Access'' column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . XbaeMatrix Resource Set _ Name Class Type Default Access = XmNallowColumnResize XmCAllowResize Boolean True CSG _ XmNallowRowResize XmCAllowResize Boolean True CSG _ XmNaltRowCount XmCAltRowCount int 1 CSG _ XmNboldLabels XmCBoldLabels Boolean False CSG _ XmNbuttonLabels XmCButtonLabels Boolean False CSG _ XmNbuttonLabelBackground XmCColor Pixel dynamic CSG _ XmNcalcCursorPosition XmCCalcCursorPosition Boolean False CSG _ XmNcellBackgrounds XmCColors PixelTable NULL CSG _ XmNcellHighlightThickness XmCHighlightThickness Dimension dynamic CSG _ XmNcellMarginHeight XmCMarginHeight Dimension dynamic CSG _ XmNcellMarginWidth XmCMarginWidth Dimension dynamic CSG _ XmNcellShadowThickness XmCShadowThickness Dimension 2 CSG _ XmNcellShadowType XmCShadowType unsigned char XmSHADOW_OUT CSG _ XmNcellShadowTypes XmCCellShadowTypes unsigned char ** NULL CSG _ XmNcellUserData XmCCellUserData XtPointer ** NULL CSG _ XmNclipWindow XmCClipWindow Widget NULL G _ XmNcells XmCCells CellTable NULL CSG _ XmNcolors XmCColors PixelTable NULL CSG _ XmNcolumnAlignments XmCAlignments AlignmentArray dynamic CSG _ XmNcolumnButtonLabels XmCButtonLabels BooleanArray NULL CSG _ XmNcolumnLabelAlignments XmCAlignments AlignmentArray dynamic CSG _ XmNcolumnLabelColor XmCColor Pixel dynamic CSG _ XmNcolumnLabels XmCLabels StringArray NULL CSG _ XmNcolumnMaxLengths XmCColumnMaxLengths MaxLengthArray NULL CSG _ XmNcolumnShadowTypes XmCShadowTypes unsigned char * NULL CSG _ XmNcolumnUserData XmCUserDatas XtPointer * NULL CSG _ XmNcolumnWidthInPixels XmCColumnWidthInPixels Boolean False CSG _ XmNcolumnWidths XmCColumnWidths WidthArray NULL CSG _ XmNcolumns XmCColumns int 0 CSG _ XmNdefaultActionCallback XmCCallback XtCallbackList NULL CSG _ XmNdoubleClickInterval XmCDoubleClickInterval int dynamic CSG _ XmNdrawCellCallback XmCCallback Callback NULL CSG _ XmNenterCellCallback XmCCallback Callback NULL CSG _ XmNevenRowBackground XmCBackground Pixel dynamic CSG _ XmNfill XmCFill Boolean False CSG _ XmNhorzFill XmCHorzFill Boolean False CSG _ XmNvertFill XmCVertFill Boolean False CSG _ XmNfixedColumns XmCFixedColumns Dimension 0 CSG _ XmNfixedRows XmCFixedRows Dimension 0 CSG _ XmNfontList XmCFontList FontList fixed CSG _ XmNgridLineColor XmCColor Pixel dynamic CSG _ XmNgridType XmCGridType GridType XmGRID_CELL_LINE CSG _ .TE .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . XbaeMatrix Resource Set (continued) _ Name Class Type Default Access = XmNhighlightedCells XmCHighlightedCells HighlightTable * dynamic CSG _ XmNhorizontalScrollBar XmCHorizontalScrollBar Widget NULL G _ XmNhorizontalScrollBarDisplayPolicy XmCMatrixScrollBarDisplayPolicy unsigned char XmDISPLAY_AS_NEEDED CSG _ XmNlabelActivateCallback XmCCallback Callback NULL CSG _ XmNlabelFont XmCFontList FontList dynamic CSG _ XmNleaveCellCallback XmCCallback Callback NULL CSG _ XmNleftColumn XmCLeftColumn int 0 CSG _ XmNmodifyVerifyCallback XmCCallback Callback NULL CSG _ XmNmultiLineCell XmCMultiLineCell Boolean False CSG _ XmNnonFixedDetachedLeft XmCNonFixedDetachedLeft Boolean False CSG _ XmNnonFixedDetachedTop XmCNonFixedDetachedTop Boolean False CSG _ XmNoddRowBackground XmCBackground Pixel dynamic CSG _ XmNprocessDragCallback XmCCallback Callback NULL CSG _ XmNrenderTable XmCRenderTable RenderTable NULL CSG _ XmNresizeCallback XmCCallback Callback NULL CSG _ XmNresizeColumnCallback XmCCallback Callback NULL CSG _ XmNreverseSelect XmCReverseSelect Boolean False CSG _ XmNrowButtonLabels XmCButtonLabels BooleanArray NULL CSG _ XmNrowHeightInPixels XmCRowHeightInPixels Boolean True CSG _ XmNrowHeights XmCColumnWidths WidthArray NULL CSG _ XmNrowLabelAlignment XmCAlignment Alignment XmALIGNMENT_END CSG _ XmNrowLabelColor XmCColor Pixel dynamic CSG _ XmNrowLabelWidth XmCRowLabelWidth Short dynamic CSG _ XmNrowLabels XmCLabels StringArray NULL CSG _ XmNrowShadowTypes XmCShadowTypes unsigned char * NULL CSG _ XmNrowUserData XmCUserDatas XtPointer * NULL CSG _ XmNrows XmCRows int 0 CSG _ XmNscrollBarPlacement XmCScrollBarPlacement unsigned char XmBOTTOM_RIGHT CSG _ XmNselectCellCallback XmCCallback Callback NULL CSG _ XmNselectScrollVisible XmCSelectScrollVisible Boolean True CSG _ XmNselectedBackground XmCColor Pixel dynamic CSG _ XmNselectedCells XmCSelectedCells BooleanTable dynamic CSG _ XmNselectedForeground XmCColor Pixel dynamic CSG _ XmNshadowType XmCShadowType unsigned char XmSHADOW_IN CSG _ XmNshowArrows XmCShowArrows Boolean False CSG _ XmNspace XmCSpace Dimension dynamic CSG _ XmNtextBackground XmCBackground Pixel XmUNSPECIFIED_PIXEL CSG _ XmNtextBackgroundIsCell XmCTextBackgroundIsCell Boolean False CSG _ XmNtextField XmCTextField Widget NULL G _ XmNtextShadowThickness XmCTextShadowThickness Dimension 0 CSG _ XmNtextTranslations XmCTranslations TranslationTable dynamic CSG _ XmNtopRow XmCTopRow int 0 CSG _ XmNtrackcellCallback XmCCallback Callback NULL CSG _ XmNtrailingAttachedBottom XmCTrailingAttachedBottom Boolean False CSG _ XmNtrailingAttachedRight XmCTrailingAttachedRight Boolean False CSG _ XmNtrailingFixedColumns XmCTrailingFixedColumns Dimension 0 CSG _ XmNtrailingFixedRows XmCTrailingFixedRows Dimension 0 CSG _ XmNtraverseCellCallback XmCCallback Callback NULL CSG _ XmNtraverseFixedCells XmCTraverseFixedCells Boolean False CSG _ .TE .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . XbaeMatrix Resource Set (continued) _ Name Class Type Default Access = XmNuseXbaeInput XmCUseXbaeInput Boolean False CSG _ XmNvalueChangedCallback XmCCallback Callback NULL CSG _ XmNverticalScrollBar XmCVerticalScrollBar Widget NULL G _ XmNverticalScrollBarDisplayPolicy XmCMatrixScrollBarDisplayPolicy unsigned char XmDISPLAY_AS_NEEDED CSG _ XmNvisibleColumns XmCVisibleColumns Dimension 0 CSG _ XmNvisibleRows XmCVisibleRows Dimension 0 CSG _ XmNwrapType XmCWrapType Boolean XbaeWrapNone CSG _ XmNwriteCellCallback XmCCallback Callback NULL CSG _ XmNxmColumnLabels XmCXmLabels XmString * NULL CSG _ XmNxmRowLabels XmCXmLabels XmString * NULL CSG _ .TE .PP This resource cannot be specified in a resource file .PP .LI XmNallowColumnResize If True, allows the columns to be dynamically resized via the ResizeColumns(\|) action. The default value is to allow column resizing. .LI XmNallowRowResize If True, allows the rows to be dynamically resized via the ResizeRows(\|) action. The default value is to allow row resizing. .LI XmNaltRowCount Specifies the number of rows to use for each of the .B XmNevenRowBackground and .B XmNoddRowBackround colors. This resource is ignored if .B XmNevenRowBackground and .B XmNoddRowBackround are not used. .LI XmNboldLabels Overstrikes the row and column labels to create a bold font appearance when True. .LI XmNbuttonLabels When set to True, the labels will be drawn with a shadow around them similar to an .B XmPushButton widget. A ButtonPress event generated on the labels, when .B XmNbuttonLabels is True will cause the label to reverse the shadow and take on a pushed in appearance. A ButtonRelease event on the same label will invoke callbacks on the .BR XmNlabelActivateCallback , list. The default value is False. .LI XmNbuttonLabelBackground Specifies a Pixel value in which to draw the .BR XmNbuttonLabels . .LI XmNcalcCursorPosition If set to True, the insertion position on the text field is calculated with respect to where the pointer was clicked in the cell. The default value is False. The insertion position will be overridden if the .I position member of the .B XbaeEnterCellCallbackStruct is set to a valid position. .LI XmNcellBackgrounds Points to an array of pointers to rows. Each row is an array of Pixel values, one for each column in that row. This data structure is the same as that for .BR XmNcells , except each entry is a Pixel instead of a String. The background of a cell will be drawn in the color specified for that cell. If .B XmNcellBackgrounds is .SM NULL, backgrounds will be drawn using the color specified by .BR XmNbackground . This resource is copied. .B XmNcellBackgrounds may be specified in a resource file but due to the two dimensional nature of the .B XbaeMatrix widget, it must be done by terminating each line with a \\n character. If the .B XbaeMatrix widget had .B XmNrows set to 5 and .B XmNcolumns set to 5, .B XmNcellBackgrounds would be specified as: .sp \fC .TS l l . *mw.cellBackgrounds: blue, white, blue, white, blue\\n\\ white, blue, white, blue, white\\n\\ blue, white, blue, white, blue\\n\\ white, blue, white, blue, white\\n\\ blue, white, blue, white, blue\\n .TE \fR Care must be taken when specifying these values in a resource file as an incorrect format can produce undesirable results. .LI XmNcellHighlightThickness Specifies the .B XmNhighlightThickness resource of the .B XmText cell edit widget. This resource is also used to compute the size of each cell. See the description of .B XmNhighlightThickness in .BR XmText(3X) . .LI XmNcellMarginHeight Specifies the .B XmNmarginHeight resource of the .B XmText widget. This resource is also used to compute the size of each cell. See the description of .B XmNmarginHeight in .BR XmText(3X) . .LI XmNcellMarginWidth Specifies the .B XmNmarginWidth resource of the .B XmText cell edit widget. This resource is also used to compute the size of each cell. See the description of .B XmNmarginWidth in .BR XmText(3X) . .LI XmNcellShadowThickness Specifies the .B XmNshadowThickness resource of the .B XmText cell edit widget. This resource is also used to compute the size of each cell. See the description of .B XmNshadowThickness in .BR XmText(3X) . .LI XmNcellShadowType Specifies the type of shadow drawn around each cell. Possible values for this resource are .BR XmSHADOW_OUT , .BR XmSHADOW_IN , .BR XmSHADOW_ETCHED_OUT , and .BR XmSHADOW_ETCHED_IN . The default shadow type is .BR XmSHADOW_OUT . .LI XmNcellShadowTypes Specifies on a per cell basis, the .BR XmNcellShadowType . Values for the resource are the same as for .BR XmNcellShadowType . This resource is copied. .LI XmNcellUserData Points to an array of pointers to individual user defined data areas associated with each cell. The data should be set using .B XbaeMatrixSetCellUserData(\|) and retrieved using .BR XbaeMatrixGetCellUserData(\|) . This resource cannot be specified in a resource file and is copied. .LI XmNcells Points to an array of pointers to rows. Each row is an array of String, one for each column in that row. For example, the cells for a 2x3 Matrix could be set up as follows: .sp \fC .TS tab(^); l s s s l l l l . String rows[2][3] = { ^"00",^"01",^"02", ^"10",^"11",^"12" }; .TE .TS l l l l l l. String *cells[2]; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; .TE \fR .sp Now cells could be used as the .B XmNcells resource. If .B XmNcells is .SM NULL, .B XbaeMatrix will .B not generate an internal table of empty Strings. This implies that if .B XmNcells is .BR NULL , no cells have been set. This resource is copied. See the discussion in .B XmNcellBackgrounds for how to specify .B XmNcells in a resource file. .LI XmNclipWindow The widget ID of the clip window. The clip window is the widget that contains the non-fixed region of cells. This resource can not be set to a new value. .LI XmNcolors Points to an array of pointers to rows. Each row is an array of Pixel values, one for each column in that row. This data structure is the same as that for .BR XmNcells , except each entry is a Pixel instead of a String. The text in a cell will be drawn in the color specified for that cell. If .B XmNcolors is .SM NULL, text will be drawn using the color specified by .BR XmNforeground . This resource is copied. See the discussion in .B XmNcellBackgrounds for how to specify .B XmNcolors in a resource file. .LI XmNcolumnAlignments Points to an array of alignments (unsigned char), one for each column. Each element can be one of .BR XmALIGNMENT_BEGINNING , .BR XmALIGNMENT_CENTER " or " XmALIGNMENT_END . This specifies the alignment of the text or pixmap in each cell of that column. See the description of .B XmNalignment for .BR XmLabel(3X) . If .B XmNcolumnAlignments is .SM NULL, each column will default to .BR XmALIGNMENT_BEGINNING . This resource is copied. .LI XmNcolumnButtonLabels An array of Booleans that tells the .B XbaeMatrix which column labels should be drawn as a button. Each Boolean can be specified as a Boolean string or integer. In order to use this resource, .B XmNbuttonLabels should be set to False. .LI XmNcolumnLabelAlignments Points to an array of alignments (unsigned char), one for each column label. Each element can be one of .B XmALIGNMENT_BEGINNING, .BR XmALIGNMENT_CENTER " or " XmALIGNMENT_END . This specifies the alignment of the text of each column label. See the description of .B XmNalignment for .BR XmLabel(3X) . If .B XmNcolumnLabelAlignments is .SM NULL, each column label will default to .BR XmALIGNMENT_BEGINNING . This resource is copied. .LI XmNcolumnLabelColor Specifies a Pixel value in which to draw the .BR XmNcolumnLabels . .LI XmNcolumnLabels Points to an array of Strings to be drawn above each column. Each String may have embedded newline characters, in which case the label will be drawn on multiple lines. If there is a .B XmNxmColumnLabels defined for this coluumn it will be displayed in place of the .B XmNcolumnLabels. If .B XmNcolumnLabels and .B XmNxmColumnLabels are .SM NULL, no labels will be drawn. This resource is copied. .LI XmNcolumnMaxLengths Points to an array of int, one for each column. These specify the maximum length of a String which can be entered in the cells in that column. See the description of the .B XmText(3X) XmNmaxLength resource. If .B XmNcolumnMaxLengths is .SM NULL or an element of the array is equal to 0, then the corresponding width from .B XmNcolumnWidths is used. This resource is copied. .LI XmNcolumnShadowTypes Specifies on a per column basis, the .BR XmNcellShadowType . Values for the resource are the same as for .BR XmNcellShadowType . This resource is copied. .LI XmNcolumnUserData Points to a user defined data area associated with a particular column. The data should be set using .B XbaeMatrixSetColumnUserData(\|) and retrieved using .BR XbaeMatrixGetColumnUserData(\|) . This resource cannot be specified in a resource file. .LI XmNcolumnWidthInPixels Specifies wether the elements of .B XmNcolumnWidths are measured in pixels or characters. .LI XmNcolumnWidths Points to an array of short, one for each column. These specify the visible width of the cells in each column. See the description of the .B XmText(3X) XmNcolumns resource. This resource is copied. .LI XmNcolumns Specifies the total number of columns of cells. .B XmNcolumns must be at least one. If the number of columns is changed via XtSetValues, then .B XmNcolumnMaxLengths must change or be .SM NULL, .B XmNcolumnLabels must change or be .SM NULL, .B XmNcolumnAlignments must change or be .SM NULL and .B XmNcolumnLabelAlignments must change or be .SM NULL. The preferred way to dynamically change the number of columns is to use .BR XbaeMatrixAddColumns(\|) " or " XbaeMatrixDeleteColumns(\|) . .LI XmNdefaultActionCallback Specifies a list of callbacks to be called when a double click occurs in a cell. A pointer to an .B XbaeMatrixDefaultActionCallbackStruct is passed to the callbacks. Events are reported to the cell in which the double click occurs regardless of whether or not a callback exists. This callback is called by the DefaultAction(\|) action and is NULL by default. The .B XmNdefaultActionCallback is ideal for popping up a dialog or other window when a double click occurs. .LI XmNdoubleClickInterval Specifies the amount of time between mouse clicks before it is considered a double click. A double click is defined to be the time between the realease of the mouse button and subsequent press in the same cell. The default value is inherited from the display. .LI XmNdrawCellCallback Specifies a list of callbacks to be called when a cell needs to be drawn. A pointer to an .B XbaeMatrixDrawCellCallbackStruct is passed to the callbacks. The application can specify what to put in a cell by modifying the callback struct's data fields. When the application callback returns to the widget code, the type field will determine what the widget draws on the screen. If the value is .BR XbaeString , then the regular string drawing function for the widget will be called with the value the applicaton assigned to the string field in the struct. If the value is .BR XbaeStringFree the widget also calls .BR XtFree on the string when it is not needed anymore. Else, if the value is .BR XbaePixmap , the widget will do an .BR XCopyPlane(\|) , in the case of a single plane bitmap, or .BR XCopyArea(\|) , in the case of a color pixmap. The width and height of cell is passed in the struct so the application can know how big to make the pixmap. In no case will a copy of the string or the pixmap value be made. The widget also uses the .B XmNcolumnAlignments resource to determine the horizontal alignment of the Pixmap. To have an editable array of data when the .B XmNdrawCellCallback is used and the cell is of type XbaeString or XbaeStringFree, use the .BR XmNwriteCellCallback . .LI XmNenterCellCallback Specifies a list of callbacks to be called immediately before a cell is to be edited. This callback list is called by the EditCell(\|) action. A pointer to an .B XbaeMatrixEnterCellCallbackStruct is passed to the callbacks. The application can specify the editability of specific cells using this callback list as well as specifying configuration options for the .BR XmText . .LI XmNevenRowBackground Specifies a background cell Pixel value to use on even rows. This allows the matrix to look like computer paper. For wider bands of color, increase the size of .BR XmNaltRowCount . .LI XmNfill If True, controls whether the matrix should fill all of its available space when additional space if available, or if it should simply size itself as large as necessary, regardless of any additonal available space. .LI XmNhorzFill If True, controls whether the matrix should highlight available space on the right of the selected cell(s) when the selected cell(s) are in the last column of the matrix. .LI XmNvertFill If True, controls whether the matrix should highlight available space below the selected cell(s) when the selected cell(s) are in the last row of the Matrix. .LI XmNfixedColumns Specifies the number of leading columns (starting from the left column) which should not be horizontally scrollable. .B XmNfixedColumns must be less than .BR XmNcolumns - XmNtrailingFixedColumns . Cells in fixed columns are not editable unless .B XmNtraverseFixedCells is set to True. .LI XmNfixedRows Specifies the number of leading rows (starting from the top row) which should not be vertically scrollable. .B XmNfixedRows must be less than .BR XmNrows - XmNtrailingFixedRows . Cells in fixed rows are not editable unless .B XmNtraverseFixedCells is set to True. .LI XmNfontList If the value of .B XmNrenderTable is NULL this resource specifies the font list to be used for the text displayed in the cells and the .B XmText cell edit widget. See .B XmFontListCreate(3X) to create a font list. This resource is copied. The preferred way of specifying a font for the table is in a resource file. When drawing a cell, the matrix uses the first entry with the tag .B XmFONTLIST_DEFAULT_TAG if no tag has been set on the cell using .B XbaeMatrixSetCellTag. If a tag has been set on the cell the first entry with a matching tag is used. .LI XmNgridLineColor Specifies the color in which the grid line should be drawn if .B XmNgridType is set to .BR XmGRID_CELL_LINE , .B XmGRID_ROW_LINE or .BR XmGRID_COLUMN_LINE . The default is that of .BR XmNforeground . .LI XmNgridType Sets the way the matrix grid is drawn. The grid types available include .BR XmGRID_NONE , .BR XmGRID_CELL_LINE , .BR XmGRID_CELL_SHADOW , .BR XmGRID_ROW_LINE , .BR XmGRID_ROW_SHADOW , .B XmGRID_COLUMN_LINE and .BR XmGRID_COLUMN_SHADOW . All of the grid types vary the way the shadow or line is drawn around the cell. .BR XmGRID_ROW_LINE , .BR XmGRID_ROW_SHADOW , .BR XmGRID_COLUMN_LINE , and .B XmGRID_COLUMN_SHADOW only draw a border around the rows and columns, giving a more tabular rather than spreadsheet appearance. The default is .B XmGRID_CELL_LINE which draws a solid line around the cells. .LI XmNhighlightedCells Points to an array of pointers to rows. Each row is an array of unsigned char values, one for each column in that row. This data structure is the same as that for .BR XmNcells , except each entry is an unsigned char instead of a String. Each entry in the array will have a value that is either .BR HighlightNone , .BR HighlightCell , .BR HighlightRow , .BR HighlightColumn , .B HighlightOther or the bitwise OR of those values, depending on the value of .B XmNgridType and which call was used to highlight the cell. A cell will be drawn as highlighted if the corresponding unsigned char does not have the value .BR HighlightNone . If .B XmNhighlightedCells is .SM NULL, .B XbaeMatrix then no cells have been highlighted. This resource is copied, and cannot be specified in a resource file. .LI XmNhorizontalScrollBar The widget ID of the horizontal .BR XmScrollBar . This resource exists only for those applications that need to tie another scrollbar to the matrix's for synchronized scrolling. This resource can not be set to a new value. .LI XmNhorizontalScrollBarDisplayPolicy Determines when to display a horizontal scrollbar in the matrix. Possible values are .BR XmDISPLAY_NONE , which makes the matrix never display the scrollbar, .BR XmDISPLAY_AS_NEEDED , which makes the matrix display the scrollbar when the list is too large, and .BR XmDISPLAY_STATIC , which makes the matrix always display the scrollbar. .LI XmNlabelFont If the value of .B XmNrenderTable is NULL this resource specifies the font list to be used for the text displayed in row and column labels. If .B XmNlabelFont is not specified, the value of .B XmNfontList is used for the label fonts. See .B XmFontListCreate(3X) to create a font list. This resource is copied. The preferred way of specifying a font for the labels is in a resource file. When drawing a label, the matrix uses the first entry with the tag .B XmFONTLIST_DEFAULT_TAG. .LI XmNlabelActivateCallback Specifies a list of callbacks to be called after a button label has been pressed. A pointer to an .B XbaeMatrixLabelActivateCallbackStruct is passed to the callbacks on this list. .LI XmNleaveCellCallback Specifies a list of callbacks to be called immediately after a cell has been edited. This callback list is called by the EditCell(\|) and CommitEdit(\|) actions. A pointer to an .B XbaeMatrixLeaveCellCallbackStruct is passed to the callbacks. The application can perform cell specific data checks using this callback list. .LI XmNleftColumn Allows the programmer to specify the first non fixed column to appear on the leftmost side of the matrix. This resource compliments the .B XmNtopRow resource. See the discussion of .B XmNtopRow for more details. .LI XmNmodifyVerifyCallback Specifies a list of callbacks to be called before text is deleted from or inserted into the .B XmText cell edit widget. A pointer to an .B XbaeMatrixModifyVerifyCallbackStruct is passed to the callbacks. See the description of the .B XmText(3X) XmNmodifyVerifyCallback resource. .LI XmNmultiLineCell is a boolean (default False) which specifies whether the matrix displays more than one line of text in a cell, when appropriate. .LI XmNnonFixedDetachedLeft Indicated that empty space should be displayed after the fixed rows. This resource only has effect when .B XmNfill is true and .B XmNfixedRows is greater than zero. .LI XmNnonFixedDetachedTop Indicated that empty space should be displayed after the fixed columns. This resource only has effect when .B XmNfill is true and .B XmNfixedColumns is greater than zero. .LI XmNoddRowBackground Specifies a background cell color to use on odd rows. This allows the matrix to look like computer paper. For wider bands of color, increase the size of .BR XmNaltRowCount . .LI XmNprocessDragCallback Specifies a list of callbacks to be called from the ProcessDrag(\|) action A pointer to an .B XbaeMatrixProcessDragCallbackStruct will be passed to the callbacks. The application can use this callback list to perform particular processing during a drag. .LI XmNrenderTable Specifies the render table used to derive a font set or a font to draw the text displayed in the cells, the .B XmText cell edit widget and the labels. When drawing a cell, the matrix uses the first entry with the tag .B _MOTIF_DEFAULT_LOCALE if no tag has been set on the cell using .B XbaeMatrixSetCellTag. If a tag has been set on the cell the first entry with a matching tag is used. When drawing a label, the matrix uses the first entry with the tag "labels". If there is no such entry the first entry with the tag .B _MOTIF_DEFAULT_LOCALE is used. .LI XmNresizeCallback Specifies a list of callbacks to be called when the matrix is resized. .LI XmNresizeColumnCallback Specifies a list of callbacks to be called when a column is dynamically resized by the user. .LI XmNreverseSelect Overrides the default .B XmNselectedForeground and .B XmNselectedBackground and draws a selected cell in the colours specified by .B XmNcellBackgrounds and .B XmNcolors for the particular cell. If these values are not set then the default colours will be used. .LI XmNrowButtonLabels An array of Booleans that tells the .B XbaeMatrix which row labels should be drawn as a button. Each Boolean can be specified as a Boolean string or integer. In order to use this resource, .B XmNbuttonLabels should be set to False. .LI XmNrowLabelAlignment Specifies the alignment of the row labels. It can be one of .BR XmALIGNMENT_BEGINNING ", " XmALIGNMENT_CENTER " or " XmALIGNMENT_END . See the description of .B XmNalignment for .BR XmLabel(3X) . .B XmNrowLabelAlignment defaults to .BR XmALIGNMENT_END . .LI XmNrowLabelColor Specifies a Pixel value in which to draw the .BR XmNrowLabels . .LI XmNrowLabelWidth Specifies the width of the row labels. .B XmNrowLabelWidth defaults to the width of the longest row label. .LI XmNrowLabels Points to an array of Strings to be drawn to the left of each row. Each String may have embedded newline characters, in which case the label will be drawn on multiple lines. If there is a .B XmNxmRowLabels defined for this row it will be displayed in place of the .B XmNrowLabels. If .B XmNrowLabels and .B XmNxmRowLabels are .SM NULL, no labels will be drawn. This resource is copied. .LI XmNrowHeightInPixels Specifies wether the elements of .B XmNrowHeights are measured in pixels or lines. .LI XmNrowHeights Points to an array of short, one for each row. These specify the visible height of the cells in each row. This resource is copied. .LI XmNrowShadowTypes Specifies on a per row basis, the .BR XmNcellShadowType . Values for the resource are the same as for .BR XmNcellShadowType . This resource is copied. .LI XmNrowUserData Points to a user defined data area associated with a particular row. The data should be set using .B XbaeMatrixSetRowUserData(\|) and retrieved using .BR XbaeMatrixGetRowUserData(\|) . This resource cannot be specified in a resource file. .LI XmNrows Specifies the total number of rows of cells. .B XmNrows must be at least one. If the number of rows is changed via XtSetValues, then .B XmNrowLabels must change or be .SM NULL. The preferred way to dynamically change the number of rows is to use .BR XbaeMatrixAddRows(\|) " or " XbaeMatrixDeleteRows(\|) . .LI XmNscrollBarPlacement Determines where the scrollbars will be drawn. See the discussion of .B XmNscrollBarPlacement in .B XmScrolledWindow(3) for a complete discussion on this resource. .LI XmNselectCellCallback Specifies a list of callbacks to be called from the SelectCell(\|) action. A pointer to an .B XbaeMatrixSelectCellCallbackStruct will be passed to the callbacks. The application can use this callback list to perform selection/deselection of cells using the provided widget methods. .LI XmNselectScrollVisible Specifies whether the matrix will scroll to make the selected cell visible. This flag is only checked when cells are selected programmatically, as when the user selects a cell with the mouse, it will already be visible. .LI XmNselectedBackground Allows the background of selected cells in .B XmNselectedCells to be specified. .LI XmNselectedCells Points to an array of pointers to rows. Each row is an array of Boolean values, one for each column in that row. This data structure is the same as that for .BR XmNcells , except each entry is a Boolean instead of a String. A cell will be drawn as selected if the corresponding Boolean is True. If .B XmNselectedCells is .SM NULL, then no cells have been selected. This resource is copied. It cannot be specified in a resource file. .LI XmNselectedForeground Allows the foreground of selected cells in .B XmNselectedCells to be specified. .LI XmNshadowType Specifies the type of shadow drawn around the border of the matrix. Possible values for this resource are .BR XmSHADOW_OUT , .BR XmSHADOW_IN , .BR XmSHADOW_ETCHED_OUT , and .BR XmSHADOW_ETCHED_IN . The default shadow type is XmSHADOW_OUT. .LI XmNshowArrows Specifies whether arrows should be drawn when data in a cell has been obscured due to the value of .BR XmNcolumnWidths . .LI XmNspace Specifies the distance that separates the ScrollBars from the cell grid. The default value is 4 pixels. .LI XmNtextBackground Specifies the background of the .B XmText cell edit widget. This can be used to make the .B XmText stand out against a uniformly colored matrix. .LI XmNtextBackgroundIsCell Specifies if the background of the .B XmText cell edit widget defaults to the core background of the matrix or the background of the cell being edited when .B XmNtextBackground has the value .B XmUNSPECIFIED_PIXEL. .LI XmNtextField The widget ID of the .BR XmText . This resource cannot be set to a new value. .LI XmNtextShadowThickness Specifies the .B XmNshadowThickness of the .BR XmText . Interesting effects can be achieved by setting the .B XmNcellHighlightThickness to 0 and replacing the highlight with an indented shadow. .LI XmNtextTranslations Specifies the .B XmNtranslations resource of the .B XmText cell edit widget. See the description of .B XmNtranslations in .BR XmText(3X) . .LI XmNtopRow Specifies the row which should be displayed at the top of the non-fixed rows. .B XmNtopRow is specified relative to the first non-fixed row, so (XmNfixedRows + XmNtopRow) is the actual row number which will be moved to the top. If (XmNtopRow > (XmNrows - ( + XmNfixedRows), then the actual row which will be moved to the top is (XmNrows - ( + XmNfixedRows). .LI XmNtrackCellCallback specifies a list of callbacks to be called when the mouse pointer is being moved. .LI XmNtrailingAttachedBottom Indicated that any trailing fixed rows should be attached to the bottom of the matrix. This resource only has effect when .B XmNfill is true and .B XmNtrailingFixedRows is greater than zero. .LI XmNtrailingAttachedRight Indicated that any trailing fixed columns should be attached to the right of the matrix. This resource only has effect when .B XmNfill is true and .B XmNtrailingFixedColumns is greater than zero. .LI XmNtrailingFixedColumns Specifies the number of trailing columns (starting from the right column) which should not be horizontally scrollable. .B XmNtrailingFixedColumns must be less than .BR XmNcolumns - XmNfixedColumns . Cells in trailing fixed columns are not editable unless .B XmNtraverseFixedCells is set to True. .LI XmNtrailingFixedRows Specifies the number of trailing rows (starting from the bottom row) which should not be vertically scrollable. .B XmNtrailingFixedRows must be less than .BR XmNrows - XmNfixedRows . Cells in trailing fixed rows are not editable unless .B XmNtraverseFixedCells is set to True. .LI XmNtraverseCellCallback Specifies a list of callbacks to be called before a new cell is edited. These callbacks are called by the EditCell(\|) action and when .B XbaeMatrix receives or looses focus. A pointer to an .B XbaeMatrixTraverseCellCallbackStruct is passed to the callbacks. The application can specify the next cell which should be edited via this callback list, thereby performing custom traversal. .LI XmNtraverseFixedCells If True, this resource allows fixed cells and columns to be edited. The default is to not allow fixed rows or columns to be edited. .LI XmNuseXbaeInput This boolean value determines whether to use XbaeInput or XmTextField as the widget used for editing cells. Default is not to use XbaeInput. .LI XmNvalueChangedCallback Specifies a list of callbacks to be called after text is deleted from or inserted into the .B XmText cell edit widget. A pointer to an .B XbaeMatrixValueChangedCallbackStruct is passed to the callbacks. See the description of the .B XmText(3X) XmNvalueChangedCallback resource. .LI XmNverticalScrollBar The widget ID of the vertical .BR XmScrollBar . This resource exists only for those applications that need to tie another scrollbar to the matrix's for synchronized scrolling. This resource can not be set to a new value. .LI XmNverticalScrollBarDisplayPolicy Determines when to display a horizontal scrollbar in the matrix. Possible values and their effects are listed under .BR XmNhorizontalScrollBarDisplayPolicy . .LI XmNvisibleColumns Specifies the number of non-fixed columns which should be visible. The widget will request a size which will allow .B XmNvisibleColumns columns to be displayed. The programmer should take into allowance any .B XmNfixedColumns that are specified. This feature becomes even more apparent if the number of .B XmNfixedColumns changes at runtime as the value may need to be adjusted to avoid a warning. .LI XmNvisibleRows Specifies the number of rows which should be visible at any one time. The widget will request a size which will allow .B XmNvisibleRows rows to be displayed. .LI XmNwrapType When .B XmNmultiLineCell is true this resource specifies how to break the lines. When set to XbaeWrapNone, lines are broken on newlines only. When set to XbaeWrapContinuous, long lines are further broken up so they fit in their cell. When set to XbaeWrapWord the breaking of long lines occures preferably on spaces. .LI XmNwriteCellCallback Specifies a list of callbacks to be called when a cell value changes and an .B XmNdrawCellCallback is defined. A pointer to an .B XbaeMatrixWriteCellCallbackStruct is passed to the callbacks. The .B XmNwriteCellCallback allows data to be written back into the application's data structure and must be defined for an editable .B XbaeMatrix with an .BR XmNdrawCellCallback . .LI XmNxmRowLabels Points to an array of XmStrings to be drawn to the left of each row. If .B XmNxmRowLabels is .SM NULL, .B XmNrowLabels will be used. This resource is copied. .LI XmNxmColumnLabels Points to an array of XmStrings to be drawn above each column. If .B XmNxmColumnLabels is .SM NULL, .B XmNcolumnLabels will be used. This resource is copied. .PP .SH "Inherited Resources" The following table lists the resources which .B XbaeMatrix inherits from it's superclasses .BR XmManager , .B Compositeand .BR Core . For a complete description of each resource, refer to the man page for that superclass. The codes in the ``Access'' column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .LP .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . XmManager Resource Set _ Name Class Type Default Access = XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG _ XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNforeground XmCForeground Pixel dynamic CSG _ XmNhighlightColor XmCHighlightColor Pixel dynamic CSG _ XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG _ XmNinitialFocus XmCInitialFocus Widget NULL CSG _ XmNnavigationType XmCNavigationType XmNavigationType XmTAB_GROUP CSG _ XmNshadowThickness XmCShadowThickness Dimension dynamic CSG _ XmNstringDirection XmCStringDirection XmStringDirection dynamic CG _ XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG _ XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG _ XmNtraversalOn XmCTraversalOn Boolean True CSG _ XmNunitType XmCUnitType unsigned char dynamic CSG _ XmNuserData XmCUserData XtPointer NULL CSG .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . Composite Resource Set = Name Class Type Default Access _ XmNchildren XmCReadOnly WidgetList NULL G _ XmNinsertPosition XmCInsertPosition XtOrderProc NULL CSG _ XmNnumChildren XmCReadOnly Cardinal 0 G .TE .LP .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . Core Resource Set = Name Class Type Default Access _ XmNaccelerators XmCAccelerators XtAccelerators NULL CSG _ XmNancestorSensitive XmCSensitive Boolean dynamic G _ XmNbackground XmCBackground Pixel dynamic CSG _ XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG _ XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderWidth XmCBorderWidth Dimension 1 CSG _ XmNcolormap XmCColormap Colormap dynamic CG _ XmNdepth XmCDepth int dynamic CG _ XmNdestroyCallback XmCCallback XtCallbackList NULL C _ XmNheight XmCHeight Dimension dynamic CSG _ XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C _ XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG _ XmNscreen XmCScreen Screen dynamic CG _ XmNsensitive XmCSensitive Boolean True CSG _ XmNtranslations XmCTranslations XtTranslations dynamic CSG _ XmNwidth XmCWidth Dimension dynamic CSG _ XmNx XmCPosition Position 0 CSG _ XmNy XmCPosition Position 0 CSG .TE .PP .SH "Callback Information" .PP .LI XbaeMatrixAnyCallbackStruct A callback struct that is suitable for all callbacks that require the .IR reason , .IR event , .I row and .I column to be available. Any callback called may therefore cast the third parameter to the following struct in .B XbaeMatrix and can rest assured that evrything in it will be available. .sp .ne 7 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; int row; int column; XEvent *event; .T& lb s s . \&} XbaeMatrixAnyCallbackStruct; .TE .RS .sp Each of the members are set to the appropriate struct for the callback. .PP If this idea is a little foreign to you, recommended reading is K&R II page 213. .RE .PP .LI XmNdefaultActionCallback Callbacks on the .B XmNdefaultActionCallback list are called when the DefaultAction(\|) action occurs. The application can bind the DefaultAction(\|) action to any pointer based event. When a double click occurs on this pointer event, DefaultAction(\|) will call the callbacks on the .B XmNdefaultActionCallback list. A pointer to the following structure is passed to each callback on the .B XmNdefaultActionCallback list: .sp .ne 7 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; .T& lb s s . \&} XbaeMatrixDefaultActionCallbackStruct; .TE .RS .sp .cI reason Set to .B XbaeDefaultActionReason . .cI event The event that invoked this callback. .cI row The row number of the cell in which the double click occurred. .cI column The column number of the cell in which the double click occurred. .cI event .PP If an application has an .BR XmNdefaultActionCallback , then the callbacks on the list will be called when the user clicks twice in a cell within .BR XmNdoubleClickInterval , enabling some action to occur for the particular cell. .RE .PP .LI XmNdrawCellCallback Callbacks on the .B XmNdrawCellCallback list are called when the widget needs to draw a cell. A pointer to the following structure is passed to each callback on the .B XmNdrawCellCallback list: .sp .ne 16 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; int width; int height; XbaeCellType type; String string; Pixmap pixmap; Pixmap mask; Pixel foreground; Pixel background; int depth; .T& lb s s. \&} XbaeMatrixDrawCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeDrawCellReason . .cI event Always set to .SM NULL .cI row The row number of the cell that needs to be drawn. .cI column The column number of the cell that needs to be drawn. .cI width The width of the cell that needs to be drawn. .cI height The height of the cell that needs to be drawn. .cI type The type of ``data'' the programmer wants drawn in the cell, or which field should be looked at for data to draw: string or pixmap. .cI string The string to draw if \fItype\fP is set to .BR XbaeString or .BR XbaeStringFree . .cI pixmap The pixmap to copy if \fItype\fP is set to .BR XbaePixmap . It will be clipped to width by height if necessary. .cI mask A mask for the pixmap as obtained from the XPM library. \fImask\fR is only necessary when \fIpixmap\fR has a depth greater than one. .cI foreground The foreground color of the cell. .cI background The background color of the cell. .cI depth The depth of the pixmap image (in bits per pixel). .PP If the application adds this callback, when the .B XbaeMatrix determines that a cell at (row, column) needs to be redrawn, the normal cell drawing mechanism will be skipped and this callback called so the application can tell the widget what to put in the cell. .PP The \fItype\fP field is defaulted to .B XbaeString and no cacheing or saving of the string or pixmap is done. .PP If the application sets \fItype\fP to XbaePixmap, the width, height and depth of the returned pixmap will be calculated with a call to .BR XGetGeometry(\|) . If the programmer wishes to supply the width, height and depth there is a marked improvement as a round trip to the X server is avoided. Note that all geometry parameters must be supplied to ensure successful display of the pixmap. .PP If a \fImask\fR is also provided, it will be used to display the pixmap transparently. Pixmaps drawn in cells also respect the value of .BR XmNcolumnAlignments . .PP By defining an .B XmNdrawCellCallback the need for the storage of the .B XbaeMatrix data within the matrix is eliminated and can prove to be advantageous for memory usage. .PP To write the data back to the application, use the .B XmNwriteCellCallback described below. .RE .LI XmNenterCellCallback Callbacks on the .B XmNenterCellCallback list are called from the EditCell(\|) action just before a cell is edited to determine it's editability. A pointer to the following structure is passed to each callback on the .B XmNenterCellCallback list: .sp .ne 17 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; int position; String pattern; Boolean auto_fill; Boolean convert_case; Boolean overwrite_mode; Boolean select_text; Boolean map; Cardinal num_params; String *params; Boolean doit; .T& lb s s. \&} XbaeMatrixEnterCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeEnterCellReason . .cI event The event that invoked the callback. .cI row The row number of the cell about to be edited. .cI column The column number of the cell about to be edited. .cI position The location of the cursor in the text field. The default is to place the cursor at the end of the string in the cell. .cI pattern A pattern for the .B XbaeInput widget (see \fCXbaeInput(3)\fR). The default is to not specify a .IR pattern . .cI auto_fill Used in conjunction with the setting of the .I pattern to allow literals in the .I pattern to be automatically inserted. .cI convert_case If the \fIpattern\fR specifies an upper or lower case letter, the character typed in the position can automatically be converted to the appropriate case when set to True. The default is to not convert the case of the typed letter. .cI overwrite_mode Normally, the cursor appears as the familiar I caret. By setting \fIoverwrite_mode\fR to True, the text field will go into overwrite mode where keystrokes replace the character underneath the block cursor. .cI select_text Indicates whether the text in the cell should be highlighted (only valid if \fIdoit\fR is set to True also. .cI map Tells the matrix if the .B XmText should be mapped onto the cell. Only makes sense if \fIdoit\fR is set to False. .cI num_params The number of String parameters passed to the EditCell(\|) action. .cI params An array containing the num_params String parameters passed to the EditCell(\|) action. .cI doit Indicates whether or not this cell is editable. Setting doit to False will make this cell not editable. The default value is True. .PP If the application determines that the cell at (\fIrow\fR, \fIcolumn\fR) is not editable, it should set the doit flag to False. If the \fImap\fR flag is also set to False, .B XbaeMatrix will not place the .B XmText cell editor on the cell. If \fImap\fR is left as True, the .B XmText will be placed on the cell but the user will not be able to add or delete characters from it. If the application leaves \fIdoit\fR as True, then the TextField will be editable. In addition, if \fIselect_text\fR is set to True, the text in the cell will be selected via .BR XmTextSetSelection . Assuming .B XmNpendingDelete for the .B XmText is also True, the selected text will be deleted as soon as the next text insertion occurs. .RE .PP .LI XmNlabelActivateCallback Callbacks on the .B XmNlabelActivateCallback list are called after a button label has been activated via a mouse click. A pointer to the following structure is passed to each callback on the .B XmNlabelActivateCallback list: .sp .ne 9 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; Boolean row_label; String label; .T& lb s s. \&} XbaeMatrixLabelActivateCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeLabelActivateReason . .cI event The event that invoked this callback. .cI row The row number of the button label or -1 if the button was a column label. .cI column The column number of the button label or -1 if the button was a row label. .cI row_label If the button label that invoked the callback is a row label, then this value is set to True. If it was a column label then it is set to False. .cI label The label on the button that was pressed. .PP When the .B XbaeMatrix receives a ButtonRelease event on the same button label that it received a ButtonPress event, the .B XmNlabelActivateCallback is called to allow the programmer to respond to the event. The callback has been provided to emulate some popular spreadsheets on the market. .RE .PP .LI XmNleaveCellCallback Callbacks on the .B XmNleaveCellCallback list are called from the EditCell(\|) and CommitEdit(\|) actions just before the edit to the current cell is committed. The application can validate the changes made to the cell, and allow or disallow them. A pointer to the following structure is passed to each callback on the .B XmNleaveCellCallback list: .sp .ne 8 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row, column; String value; Boolean doit; .T& lb s s. \&} XbaeMatrixLeaveCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeLeaveCellReason . .cI event The event that invoked this callback. .cI row The row number of the cell being edited. .cI column The column number of the cell being edited. .cI value Contains the new data which will be stored in this cell if doit is True. The memory pointed to by value may be modified, or if the new contents are larger than the current contents, then value should be set to point to a larger piece of allocated memory. .cI doit Indicates whether the edits applied to this cell should actually be stored into .BR XbaeMatrix . Setting doit to False will cause the changes to be discarded and the cell will retain its original value. The default value is True. .PP If the application determines that the value entered in the cell at (row, column) is not valid, it should set the doit flag to False. This will prevent the changes from being stored in the cell. The TextField edit widget will remain on the current cell. If the application leaves doit as True, then the changes made to the cell will be committed and the TextField will move to the next cell or be unmapped. The application can also modify the String in value, e.g. to force a String to be all upper case. .RE .PP .LI XmNmodifyVerifyCallback Callbacks on the .B XmNmodifyVerifyCallback list are called while a cell is being edited. The callbacks are called before text is inserted into or deleted from the TextField edit widget. A pointer to the following structure is passed to each callback on the .B XmNmodifyVerifyCallback list: .sp .ne 9 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; XmTextVerifyCallbackStruct *verify; const char *prev_text; .T& lb s s. \&} XbaeMatrixModifyVerifyCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeModifyVerifyReason . .cI event Always set to NULL. .cI row The row number of the cell being edited. .cI column The column number of the cell being edited. .cI verify The contents of this structure and its use are documented in the .B XmText(3X) man page. .cI prev_text The contents of the cell as seen by this user before the new text. If other text has already been entered, this value will not match the official .B XbaeMatrix value of the cell. This pointer and the string should not be modified. .RE .PP .LI XmNprocessDragCallback Callbacks on the .B XmNprocessDragCallback list are called from the ProcessDrag(\|) action. The application can bind the ProcessDrag(\|) action to any pointer based event, though by default it is bound to the Button2Down event. When this event occurs, ProcessDrag(\|) will call the callbacks on the .B XmNprocessDragCallback list. A pointer to the following structure is passed to each callback on the .B XmNprocessDragCallback list: .sp .ne 13 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; String string; XbaeCellType type; Pixmap pixmap; Pixmap mask; Cardinal num_params; String *params; .T& lb s s. \&} XbaeMatrixProcessDragCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeProcessDragReason . .cI event The XEvent which invoked the ProcessDrag(\|) action. .cI row The row number of the cell where the drag was initiated.. .cI column The column number of the cell where the drag was initiated.. .cI string The string in the cell where the drag was initiated if \fItype\fP is .BR XbaeString or .BR XbaeStringFree . This is provided as a convenience to the application. .cI type The type of the cell in which the drag was initiated. .cI pixmap The pixmap in the cell where the drag was initiated if \fItype\fP is .BR XbaePixmap . This is provided as a convenience to the application. .cI mask A mask for the pixmap as obtained from the XPM library. \fImask\fR is only necessary when \fIpixmap\fR has a depth greater than one. Also provided as a convenience to the application. .cI num_params The number of String parameters passed to the ProcessDrag(\|) action. .cI params An array containing the num_params String parameters passed to the ProcessDrag(\|) action. .PP The application can use the .B XmNprocessDragCallback list to implement particular processing for Motif's drag-and-drop. .RE .PP .LI XmNresizeCallback Callbacks on the .B XmNresizeCallback list are called when the .B XbaeMatrix widget is resized. A pointer to the following structure is passed to each callback on the .B XmNresizeCallback list: .sp .ne 9 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; Dimension width; Dimension height; .T& lb s s. \&} XbaeMatrixResizeCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeResizeReason . .cI event Always set to .SM NULL .cI row Set to the number of rows in the matrix (provided for convenience). .cI column Set to the number of colums in the matrix (provided for convenience). .cI width The new width of the .B XbaeMatrix widget. .cI height The new height of the .B XbaeMatrix widget. .PP The application can use the .B XmNresizeCallback to adjust such resources as .BR XmNcolumnWidths , .B XmNvisibleColumns and .B XmNvisibleRows when the widget containing an .B XbaeMatrix widget is resized. .RE .PP .LI XmNresizeColumnCallback Callbacks on the .B XmNresizeColumnCallback list are called when a column of the .B XbaeMatrix widget is dynamically resized by the user. A pointer to the following structure is passed to each callback on the .B XmNresizeColumnCallback list: .sp .ne 10 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; int which; int columns; short *column_widths; .T& lb s s. \&} XbaeMatrixResizeColumnCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeResizeColumnReason . .cI event The XEvent that ended the resize. The event will be of type .BR XButtonReleasedEvent . .cI row The row in which the .B ResizeColumn(\|) action began. .cI column The column in which the .B ResizeColumn(\|) action began (and ended). .cI which The column that was resized in the .B ResizeColumn(\|) action. .cI columns The number of columns in the .B XbaeMatrix widget. .cI column_widths The widths of each column as they stand \fIafter\fP the .B ResizeColumn(\|) action. .PP The application can use the .B XmNresizeColumnCallback to perform post processing after a column has been resized. By adjusting the values contained in \fIcolumn_widths\fP the .B XbaeMatrix widget will use the values upon return from the callback. Changing the number of columns in the matrix in the .B XmNresizeColumnCallback should be used carefully as it may cause unexpected results. .RE .PP .LI XmNselectCellCallback Callbacks on the .B XmNselectCellCallback list are called from the SelectCell(\|) action. The application can bind the SelectCell(\|) action to any pointer based event. When this event occurs, SelectCell(\|) will call the callbacks on the .B XmNselectCellCallback list. A pointer to the following structure is passed to each callback on the .B XmNselectCellCallback list: .sp .ne 11 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; Boolean **selected_cells; String **cells; Cardinal num_params; String *params; .T& lb s s. \&} XbaeMatrixSelectCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeSelectCellReason . .cI event The XEvent which invoked the SelectCell(\|) action. .cI row The row number of the cell which was selected. .cI column The column number of the cell which was selected. .cI selected_cells The value of the .B XmNselectedCells resource. This is provided as a convenience to the application and will be .SM NULL if no cells have yet been selected. .cI cells The value of the .B XmNcells resource. This is provided as a convenience to the application and will be .SM NULL if no cells have been specified or the .B XmNdrawCellCallback is being used. .cI num_params The number of String parameters passed to the SelectCell(\|) action. .cI params An array containing the num_params String parameters passed to the SelectCell(\|) action. .PP The application can use the .B XmNselectCellCallback list to implement it's own selection model. The .B XbaeMatrixSelectCellCallbackStruct contains the array of String parameters passed to the SelectCell(\|) action which invoked this callback. By binding the SelectCell(\|) action to various events via the translation manager, and using String action parameters to distinguish them, the application can implement various selection models. For example, the following translations could be used to implement a model in which a modifier key indicates whether a single cell or an entire row should be selected. The callbacks on the .B XmNselectCellCallback list would examine the parameter and take the appropriate action. .PP .ne 3 .TS l l l l l l. #override\\n\\ Shift: SelectCell(cell)\\n\\ Ctrl: SelectCell(row) .TE .PP The callbacks on the .B XmNselectCellCallback list can also be used in other ways, e.g. to pop up a cell specific menu. .PP .B NOTE: If no cells have been selected, the value of \fIselected_cells\fP will be .SM NULL. The same applies for \fIcells\fP. Care must be taken so as not to dereference these members of the callback struct. .RE .PP .LI XmNtrackCellCallback Callbacks on the .B XmNtrackCellCallback list are being called by the HandleTracking(\|) action, which is triggered by pointer motion. One of the purposes of this callback list is to figure out from which cell to which cell the pointer is being moved. A pointer to the .B XbaeMatrixTrackCellCallbackStruct structure is being passed. Its fields are defined as : .sp .ne 17 .TS lb s s l lb li . typedef struct _XbaeMatrixTrackCellCallbackStruct \&{ XbaeReasonType reason; XEvent *event; int row, column; int prev_row, prev_column; Position pointer_x, pointer_y; .T& lb s s. } XbaeMatrixTrackCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeSelectCellReason . .cI event The XEvent which invoked the HandleTracking(\|) action. .cI row This is the row number that the pointer is currently in. .cI column This is the column number that the pointer is currently in. .cI prev_row The row that the pointer was previously in. .cI prev_column The column that the pointer was previously in. .cI pointer_x The x position of the pointer. .cI pointer_y The y position of the pointer. .RE .PP .LI XmNtraverseCellCallback Callbacks on the .B XmNtraverseCellCallback list are called from the EditCell(\|) action and when .B XbaeMatrix receives or looses focus. The application can customize cell traversal using these callbacks. .B XbaeMatrix has a default traversal order, outlined below, which the application can override. A pointer to the following structure is passed to each callback on the .B XmNtraverseCellCallback list: .sp .ne 17 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; int next_row; int next_column; int fixed_rows; int fixed_columns; int trailing_fixed_rows; int trailing_fixed_columns; int num_rows; int num_columns; String param; XrmQuark qparam; .T& lb s s. \&} XbaeMatrixTraverseCellCallbackStruct; .TE .RS .cI reason Set to .BR XbaeTraverseCellReason . .cI event The event that invoked this callback. .cI row The row number of the cell currently being edited. .cI column The column number of the cell currently being edited. .cI next_row The row number of the next cell to be edited, this can be changed by the application. .cI next_column The column number of the next cell to be edited, this can be changed by the application. .cI fixed_rows The value of the .B XmNfixedRows resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI fixed_columns The value of the .B XmNfixedColumns resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI trailing_fixed_rows The value of the .B XmNtrailingFixedRows resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI trailing_fixed_columns The value of the .B XmNtrailingFixedColumns resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI num_rows The value of the .B XmNrows resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI num_columns The value of the .B XmNcolumns resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI param The String value of the parameter passed to the EditCell(\|) action. .cI qparam The XrmQuark value of the parameter passed to the EditCell(\|) action. .PP The EditCell(\|) action takes an arbitrary parameter which it passes through to the callbacks on the .B XmNtraverseCellCallback list in both String and XrmQuark forms. The EditCell(\|) action recognizes five special parameters which it uses to implement it's default cell traversal. These parameters and their corresponding traversal results are: .PP .cI Pointer Set next_row and next_column to the cell underneath the mouse pointer. .cI Left If we are currently editing cell (XmNfixedRows, XmNfixedColumns), then do not move. Otherwise move one column to the left, if that column is less than .B XmNfixedColumns , then move up to the last column of the row above. .cI Right If we are currently editing cell (XmNrows - 1, XmNcolumns - 1), then do not move. Otherwise move one column to the right, if that column is greater than or equal to .B XmNcolumns , then move down to column .B XmNfixedColumns of the row below. .cI Up Move up one row. If that row is less than .B XmNfixedRows , then move to the last row. .cI Down Move down one row. If that row is greater than or equal to .B XmNrows , then move to row .BR XmNfixedRows . .PP If the EditCell(\|) action recognizes one of these special parameters, it calculates the new cell to be edited accordingly and stores the results in the next_row and next_column fields of the .BR XbaeMatrixTraverseCellCallbackStruct . If EditCell(\|) does not recognize it's parameter, it sets next_row and next_column to the current row and column. It also stores a String and XrmQuark version of it's parameter in the param and qparam fields. EditCell(\|) then calls the callbacks on the .B XmNtraverseCellCallback list. These callbacks can examine the parameter and recalculate the next_row and next_column fields appropriately. The application can override the default calculation for the special parameters, or it can define an entirely new parameter with a corresponding new calculation. It would do this by binding EditCell(\|) with a new application specific parameter to an event in a translation table. It is expected that application callbacks will use the XrmQuark version of the parameter for efficiency reasons (by statically creating the new XrmQuarks and comparing them against the incoming qparam). .PP When .B XbaeMatrix receives the focus it will also call the .B XmNtraverseCellCallback callbacks before returning to the current cell or the upper left most visible cell if no cell is currently edited. The .B XbaeMatrixTraverseCellCallbackStruct will have param and qparm set to .I Focus. If there is no current cell row and column will be set to -1. When XbaeMatrix looses the focus it will also call the .B XmNtraverseCellCallback with param and qparm set to .I LoosingFocus. .RE .PP .PP .LI XmNvalueChangedCallback Callbacks on the .B XmNvalueChangedCallback list are called while a cell is being edited. The callbacks are called after text is inserted into or deleted from the TextField edit widget. A pointer to the following structure is passed to each callback on the .B XmNvalueChangedCallback list: .sp .ne 7 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; .T& lb s s. \&} XbaeMatrixValueChangedCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeValueChangedReason . .cI event The event that triggered this callback. .cI row The row number of the cell being edited. .cI column The column number of the cell being edited. .RE .PP .LI XmNwriteCellCallback Callbacks (although it probably only makes sense to have one) on the .B XmNwriteCellCallback list are called when the widget needs to write data to a cell, but only when .B XmNdrawCellCallback is defined. A pointer to the following structure is passed to each callback on the .B XmNwriteCellCallback list: .sp .ne 11 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; XbaeCellType type; String string; Pixmap pixmap; Pixmap mask; .T& lb s s. \&} XbaeMatrixWriteCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeWriteCellReason . .cI event Always set to .SM NULL .cI row The row number of the cell that needs to be written. .cI column The column number of the cell that needs to be written. .cI type The type of ``data'' contained in the cell, either .BR XbaeString " or " XbaePixmap . .cI string The string to store if \fItype\fP is set to .BR XbaeString . .cI pixmap The pixmap to store if \fItype\fP is set to .BR XbaePixmap . (maybe a little meaningless unless you can edit a pixmap in a cell) .cI mask A mask for the pixmap as obtained from the XPM library. \fImask\fR is only necessary when \fIpixmap\fR has a depth greater than one. .PP If the application adds this callback, when the .B XbaeMatrix is editable and has been assigned an .BR XmNdrawCellCallback , data on the widget can be edited and stored back in the application's data structure. Only if an .B XmNdrawCellCallback has been assigned to the .B XbaeMatrix widget, will the .B XmNwriteCellCallback be called. .PP At the moment, \fIpixmap\fR and \fImask\fR will be sent to the .B XmNwriteCellCallback as .SM NULL. .DE .PP .SH Translations .B XbaeMatrix inherits translations from .BR XmManager . In addition, .B XbaeMatrix uses the following translation: .ne 4 \fC .TS lw(6cm) l . :: DefaultAction(\|)\\n\\ :: DefaultAction(\|) EditCell(Pointer)\\n\\ :Shift: ResizeColumns(\|)\\n\\ :: ProcessDrag(\|)\\n\\ :: HandleMotion() HandleTracking()(\|)\\n\\ :: HandleTracking()(\|)\\n\\ :: ScrollRows(-50)(\|)\\n\\ :: ScrollRows( 50)(\|) .TE \fR .PP .B XbaeMatrix installs the following default .B XmNtextTranslations on the .B TextField edit widget: .ne 11 \fC .TS lw(6cm) l . \&#override\\n\\ Shift ~Ctrl ~Meta ~Alt Tab: EditCell(Left)\\n\\ ~Ctrl ~Meta ~Alt Tab: EditCell(Right)\\n\\ osfUp: EditCell(Up)\\n\\ osfDown: EditCell(Down)\\n\\ osfActivate: CommitEdit(False)\\n\\ ~Shift ~Meta ~Alt Return: CommitEdit(False)\\n\\ osfCancel: CommitEdit(False)\\n\\ Shift Ctrl ~Meta ~Alt Tab: TraversePrev(\|)\\n\\ Ctrl ~Meta ~Alt Tab: TraverseNext(\|)\\n\\ osfPageDown: PageDown()\\n\\ osfPageUp: PageUp()\\n .TE \fR .PP .SH "Action Routines" .PP .sp 2 .IP CancelEdit(\|) If the single parameter to CancelEdit(\|) is the String True, then it unmaps the edit TextField, discarding any changes which were made to the cell being edited. If the parameter is False, then CancelEdit(\|) restores the edit TextField to the original contents of the cell, discarding any changes made to the cell being edited. The TextField is not unmapped. .IP CommitEdit(\|) .RS CommitEdit(\|) first calls any callbacks on the .B XmNleaveCellCallback list to determine if the changes made to the current cell are valid. If they are, it then saves any changes made to the cell into the cell. If the callbacks on the .B XmNleaveCellCallback list return that the changes are not valid, CommitEdit(\|) does nothing. .PP If the changes are valid, CommitEdit(\|) examines it's one parameter, which must be the string True or False. If the parameter is True, then the edit TextField is unmapped. If it is False, then the TextField is not unmapped. .RE .IP DefaultAction(\|) .RS DefaultAction(\|) sets up a mechanism for determining whether two successive mouse clicks form a double click. The DefaultAction(\|) should normally be used in conjunction with other pointer based events and provides a mechanism for acting on double clicks in a cell. .RE .IP EditCell(\|) .RS EditCell(\|) edits a new cell. EditCell(\|) first calculates the new cell to edit based on it's single parameter. It then calls the callbacks on the .B XmNtraverseCellCallback list to allow them to specify a different cell to edit (see the discussion of .B XmNtraverseCellCallback above). EditCell(\|) then calls the callbacks on the .B XmNleaveCellCallback list to determine if the changes made to the current cell are valid. If they are, it then saves any changes made to the cell into the cell. If the changes are not valid, EditCell(\|) does nothing further. .PP If the changes are valid, EditCell(\|) attempts to scroll the new cell to be edited so that it is fully visible. If the new cell is in a fixed row or column, EditCell(\|) returns and does nothing further (these cells are not editable). Otherwise, EditCell(\|) calls the callbacks on the .B XmNenterCellCallback list to determine if the new cell is editable. It then moves the .B XmText edit widget to the new cell, setting it's editability based on the return from the .B XmNenterCellCallback callbacks. .RE .IP ProcessDrag(\|) .RS ProcessDrag(\|) calls the callbacks on the .B XmNprocessDragCallback list, passing them a pointer to a .BR XbaeMatrixProcessDragCallbackStruct . .RE .IP ResizeColumns(\|) .RS Allows the user to dynamically resize the column widths, provided that .B XmNallowColumnResize is True. .RE .IP ScrollRows(\|) ScrollRows(\|) makes the rows of the matrix scroll by the pixel amount specified by it's argument. .IP ScrollColumns(\|) ScrollColumns(\|) makes the columns of the matrix scroll by the pixel amount specified by it's argument. .IP SelectCell(\|) SelectCell(\|) calls the callbacks on the .B XmNselectCellCallback list, passing them a pointer to a .BR XbaeMatrixSelectCellCallbackStruct . This structure will contain the String parameters passed to the SelectCell(\|) action, among other things (see the discussion of .B XmNselectCellCallback above). .IP TraverseNext(\|) TraverseNext(\|) will traverse out of the Matrix and into the next tab group. .IP TraversePrev(\|) TraversePrev(\|) will traverse out of the Matrix and into the previous tab group. .IP PageDown(\|) PageDown(\|) causes the Matrix to scroll down a full page. The text widget is placed on the first non fixed row of the new page. .IP PageUp(\|) PageUp(\|) causes the Matrix to scroll up a full page. The text widget is placed on the first non fixed row of the new page. .SH "Type Converters" .sp .PP In addition to the standard type converters registered by Xt and Motif, .B XbaeMatrix registers the following additional type converters: .IP \fCCvtStringToStringArray(\|)\fP Converts a comma separated list of Strings to an array of String pointers, one for each substring. Commas in the list may be escaped with the character `\\'. This converter allows the .B XmNrowLabels and .B XmNcolumnLabels resources to be specified in resource files. .IP \fCCvtStringToWidthArray(\|)\fP Converts a comma separated list of numeric Strings to an array of short integers. This converter allows the .B XmNcolumnWidths resource to be specified in resource files. .IP \fCCvtStringToMaxLengthArray(\|)\fP Converts a comma separated list of numeric Strings to an array of integers. This converter allows the .B XmNcolumnMaxLengths resource to be specified in resource files. .IP \fCCvtStringToAlignmentArray(\|)\fP Converts a comma separated list of alignments to an array of unsigned chars. This converter allows the .B XmNcolumnLabelAlignments and .B XmNcolumnAlignments resources to be specified in resource files. .IP \fCCvtStringToGridType(\|)\fP Converts a single string as discussed in .B XmNgridType to a grid type value. This converter allows .B XmNgridType to be specified in resource files. .IP \fCCvtStringToMatrixScrollBarDisplayPolicy(\|)\fP Converts a single string as discussed in .B XmNhorizontalScrollBarDisplayPolicy and .B XmNverticalScrollBarDisplayPolicy to a display policy value. This converter allows .B XmNhorizontalScrollBarDisplayPolicy and .B XmNverticalScrollBarDisplayPolicy to be specified in resource files. .IP \fCCvtStringToCellTable(\|)\fP Converts a comma separated list of Strings with \\n delimited rows to a two dimensional array of String pointers. This converter allows the .B XmNcells resource to be specified in resource files. .IP \fCCvtStringToPixelTable(\|)\fP Converts a comma separated list of color names with \\n delimited rows to a two dimensional array of Pixel values. This converter allows the .BR XmNcellBackgrounds and XmNcolors resources to be specified in resource files. .IP \fCCvtStringToBooleanArray(\|)\fP Converts a comma separated list of string or numeric values to an array of Booleans. The converter recongnises a comma separated list of values. Each value is parsed such that if the first character is '1', 'T' or 't' it is interpreted as True, if the first character is '0', 'F' or 'f' it is interpreted as False, otherwise it is illegal. This converter allows the .B XmNcolumnButtonLabels and .B XmNrowButtonLabels resources to be specified in resource files. .SH "Public Functions" .sp The following external entry points to .B XbaeMatrix class methods are defined: .sp .B XbaeCreateMatrix(\|) .PP .RS .ne 5 .TS l s s l l li. Widget XbaeCreateMatrix(\|) Widget parent; String name; ArgList arglist; Cardinal argcount; .TE .sp .cI parent Specifies the parent widget ID. .cI name Specifies the name of the created widget .cI arglist Specifies the argument list .cI argcount Specifies the number of attribute/value pairs in the argument list (arglist) .PP .B XbaeCreateMatrix(\|) creates an unmanaged instance of an XbaeMatrix widget and returns the associated widget ID. .RE .PP .sp .B XbaeMatrixAddColumns(\|) .PP .RS .ne 12 .TS l s s l l li . void XbaeMatrixAddColumns(\|) Widget w; int position; String *columns; String *labels; short *widths; int *max_lengths; unsigned char *alignments; unsigned char *label_alignments; Pixel *colors; int num_columns; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The column position before which to add the new columns. Must be greater than or equal to zero, and less than or equal to .BR XmNcolumns . .cI columns Points to an ordinary two dimensional array of String, or .SM NULL. These Strings will be used to modify the .B XmNcells resource to populate the new columns. Each row in the array must have .B XmNrows elements and represents one of the new columns. columns must have .B num_columns rows. If columns is .SM NULL, empty columns will be added. .cI labels Points to an array of String, or .SM NULL. These Strings will be used as the .B XmNcolumnLabels for the new columns. The labels array must have num_columns elements. If labels is .SM NULL, and .B XmNcolumnLabels is set, then blank column labels will be used. .cI widths Points to an array of short or .SM NULL. These values will be used as the .B XmNcolumnWidths for the new columns. The widths array must have num_columns elements. if widths is NULL then a default width will be used for the new columns. .cI max_lengths Points to an array of int, or .SM NULL. These values will be used as the .B XmNcolumnMaxLengths for the new columns. The max_lengths array must have num_columns elements. If max_lengths is .SM NULL, then the corresponding value from widths will be used. .cI alignments Points to an array of unsigned char, or .SM NULL. These values will be used as the .B XmNcolumnAlignments for the new columns. The alignments array must have num_columns elements. If alignments is .SM NULL, then .B XmALIGNMENT_BEGINNING will be used. .cI label_alignments Points to an array of unsigned char, or .SM NULL. These values will be used as the .B XmNcolumnLabelAlignments for the new column labels. The label_alignments array must have num_columns elements. If label_alignments is .SM NULL, then .B XmALIGNMENT_BEGINNING will be used. .cI colors Points to an array of Pixel, or .SM NULL. These values will be used to set the corresponding columns in the .B XmNcolors table for the new columns. The colors array must have num_columns elements. If colors is .SM NULL, then .B XmNforeground will be used. .cI num_columns The number of columns which are being added to the widget. .PP .B XbaeMatrixAddColumns(\|) allows the application developer to dynamically add new columns anywhere in the Matrix. The columns will be added before the column specified in position. Columns are numbered starting at zero. To append new columns onto the end of the Matrix, specify position as the total number of columns. Most of the arguments to .B XbaeMatrixAddColumns(\|) may be specified as .SM NULL. Default values will be used by the widget. .PP If the programmer attempts to add columns using .B XbaeMatrixAddColumns(\|) when there are no rows, it will result in a warning message. There must be at least one row in the .B XbaeMatrix widget to add columns. .PP To maintain backward compatability, the cell backgrounds cannot be set in a call to .B XbaeMatrixAddColumns(\|) and must be set (if so desired) in a separate call to .BR XtVaSetValues(\|) . .sp .RE .ne 8 .B XbaeMatrixAddRows(\|) .PP .RS .TS l s s l l li . void XbaeMatrixAddRows(\|) Widget w; int position; String *rows; String *labels; Pixel *colors; int num_rows; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The row position before which to add the new rows. Must be greater than or equal to zero, and less than or equal to .BR XmNrows . .cI rows Points to an ordinary two dimensional array of String, or .SM NULL. These Strings will be used to modify the .B XmNcells resource to populate the new rows. Each row in the array must have .B XmNcolumns elements and represents one of the new rows. rows must have num_rows rows. If rows is .SM NULL, empty rows will be added. .cI labels Points to an array of String, or .SM NULL. These Strings will be used as the .B XmNrowLabels for the new rows. The labels array must have num_rows elements. If labels is .SM NULL, and .B XmNrowLabels is set, then blank row labels will be used .cI colors Points to an array of Pixel, or .SM NULL. These values will be used to set the corresponding rows in the .B XmNcolors table for the new rows. The colors array must have num_rows elements. If colors is .SM NULL, then .B XmNforeground will be used. .cI num_rows The number of rows which are being added to the widget. .PP .B XbaeMatrixAddRows(\|) allows the application developer to dynamically add new rows anywhere in the Matrix. The rows will be added before the row specified in position. Rows are numbered starting at zero. To append new rows onto the end of the Matrix, specify position as the total number of rows. .PP To maintain backward compatability, the cell backgrounds cannot be set in a call to .B XbaeMatrixAddRows(\|) and must be set (if so desired) in a separate call to .BR XtVaSetValues(\|) . .RE .sp .ne 4 .B XbaeMatrixCancelEdit(\|) .PP .RS .TS l s s l l li . void XbaeMatrixCancelEdit(\|) Widget w; Boolean unmap; .TE .sp .cI w An .B XbaeMatrix widget. .cI unmap Specifies whether the TextField cell edit widget should be unmapped after the edit is canceled. .PP .B XbaeMatrixCancelEdit(\|) allows the application developer to programmatically cancel a cell edit in progress, discarding any changes made by the user. This function unmaps the TextField edit widget if the unmap flag is True. If unmap is False, the contents of the TextField are restored to their original value, and the TextField is not unmapped. .sp .ne 4 .RE .B XbaeMatrixCommitEdit(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixCommitEdit(\|) Widget w; Boolean unmap; .TE .sp .cI w An XbaeMatrix widget. .cI unmap Specifies whether the TextField cell edit widget should be unmapped after an edit is successfully committed. .PP .B XbaeMatrixCommitEdit(\|) can be used by the application developer to programmatically commit an edit, saving any changes made by the user. This will cause the callbacks on the .B XmNleaveCellCallback list to be called to verify that the changes the user made are valid. If the changes are valid, then they are saved into the cell and if the unmap flag is True, the TextField widget will be unmapped. .sp .ne 5 .RE .B XbaeMatrixDeleteColumns(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeleteColumns(\|) Widget w; int position; int num_columns; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The column position at which to begin deleting columns. Must be greater than or equal to zero, and (position + num_columns) must be less than or equal to .BR XmNcolumns . .cI num_columns The number of columns to delete from the widget. .PP .B XbaeMatrixDeleteColumns(\|) allows the application developer to dynamically delete columns from anywhere in the Matrix. Columns will be deleted starting at the column specified by position. .sp .ne 5 .RE .B XbaeMatrixDeleteRows(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeleteRows(\|) Widget w; int position; int num_rows; .TE .sp .cI w An XbaeMatrix widget. .cI position The row position at which to begin deleting rows. Must be greater than or equal to zero, and (position + num_rows) must be less than or equal to .BR XmNrows . .cI num_rows The number of rows to delete from the widget. .PP .B XbaeMatrixDeleteRows(\|) allows the application developer to dynamically delete rows from anywhere in the Matrix. Rows will be deleted starting at the row specified by position. .sp .ne 3 .RE .B XbaeMatrixDeselectAll(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeselectAll(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixDeselectAll(\|) allows the application developer to programmatically deselect all cells. .B XbaeMatrixDeselectAll(\|) redraws the cells in normal video. All Booleans in the .B XmNselectedCells array will be set to False. .sp .ne 5 .RE .B XbaeMatrixDeselectCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeselectCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to deselect. .cI column The column of the cell to deselect. .PP .B XbaeMatrixDeselectCell(\|) allows the application developer to programmatically deselect a cell. .B XbaeMatrixDeselectCell(\|) redraws the cell in normal video. The corresponding Boolean in the .B XmNselectedCells array will be set to False. .sp .ne 4 .RE .B XbaeMatrixDeselectColumn(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeselectColumn(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column to deselect. .PP .B XbaeMatrixDeselectColumn(\|) allows the application developer to programmatically deselect a column. .B XbaeMatrixDeselectColumn(\|) draws the column in normal video. The corresponding Booleans in the .B XmNselectedCells array will be set to False. .sp .ne 4 .RE .B XbaeMatrixDeselectRow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeselectRow(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row to deselect. .PP .B XbaeMatrixDeselectRow(\|) allows the application developer to programmatically deselect a row. .B XbaeMatrixDeselectRow(\|) draws the row in reverse video (or selectedForeground / selectedBackground if set). The corresponding Booleans in the .B XmNselectedCells array will be set to False. .sp .ne 3 .RE .B XbaeMatrixDisableRedisplay(\|) .PP .RS .TS l s s l l li . int XbaeMatrixDisableRedisplay(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixDisableRedisplay(\|) and .B XbaeMatrixEnableRedisplay(\|) allow an application to make multiple changes to a matrix without immediate visual updates. When multiple changes are made with redisplay enabled, visual flashing often occurs. These routines help eliminate this problem. .sp .ne 5 .RE .B XbaeMatrixEditCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixEditCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to be edited. .cI column The column of the cell to be edited. .PP .B XbaeMatrixEditCell(\|) allows the application developer to programmatically force a specific cell to be edited. This function will first attempt to commit the edit in the current cell. If the .B XmNleaveCellCallback callbacks disallow this commit, then .B XbaeMatrixEditCell(\|) will return. Otherwise the specified cell is scrolled until it is visible. If the specified cell is in a fixed row or column, it cannot be edited and .B XbaeMatrixEditCell(\|) will return. Next, the callbacks on the .B XmNenterCellCallback callback list are called for the specified cell to determine it's editability. Then the TextField edit widget is mapped on top of the specified cell. .sp .ne 4 .RE .B XbaeMatrixEnableRedisplay(\|) .PP .RS .TS l s s l l li . int XbaeMatrixEnableRedisplay(\|) Widget w; Boolean redisplay; .TE .sp .cI w An .B XbaeMatrix widget. .cI redisplay Force the matrix to redisplay if True and no other calls to .B XbaeMatrixDisableRedisplay(\|) have been made. .PP .B XbaeMatrixDisableRedisplay(\|) and .B XbaeMatrixEnableRedisplay(\|) allow an application to make multiple changes to a matrix without immediate visual updates. When multiple changes are made with redisplay enabled, visual flashing often occurs. These routines help eliminate this problem. .sp .ne 6 .RE .B XbaeMatrixEventToXY(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixEventToXY(\|) Widget w; XEvent *event; int *x; int *y; .TE .sp .cI w An .B XbaeMatrix widget. .cI event An X event structure pointer, usually from an XEventHandler function. .cI x The translated x coordinate. .cI y The translated y coordinate. .PP .B XbaeMatrixEventToXY enables the programmer to determine the x and y values of a given event with respect to the .B XbaeMatrix widget. The returned values are also adjusted to allow for the .B XbaeClip widget. .sp .ne 5 .RE .B XbaeMatrixFirstSelectedCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixFirstSelectedCell(\|) Widget w; int *row; int *column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The first selected row. .cI column The first selected column. .PP .B XbaeMatrixFirstSelectedCell(\|) allows the application developer to find out which cell is the first selected. The function traverses the .B XbaeMatrix widget in a left to right, top to bottom manner to determine this value. If no cell is selected, row and column are set to -1. .sp .ne 3 .RE .B XbaeMatrixFirstSelectedColumn(\|) .PP .RS .TS l s s l l li . int XbaeMatrixFirstSelectedColumn(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixFirstSelectedColumn(\|) returns the column number of the first selected column in the .B XbaeMatrix widget. The function traverses the matrix from column 0. A column must be entirely selected for the column to be considered selected. If no column is selected then -1 is returned. .sp .ne 3 .RE .B XbaeMatrixFirstSelectedRow(\|) .PP .RS .TS l s s l l li . int XbaeMatrixFirstSelectedRow(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixFirstSelectedRow(\|) returns the row number of the first selected row in the .B XbaeMatrix widget. The function traverses the matrix from row 0. A row must be entirely selected for the row to be considered selected. If no row is selected then -1 is returned. .sp .ne 5 .RE .B XbaeMatrixGetCell(\|) .PP .RS .TS l s s l l li . String XbaeMatrixGetCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose value should be retrieved. .cI column The column of the cell whose value should be retrieved. .PP .B XbaeMatrixGetCell(\|) returns the String value stored in the specified cell. This String should not be freed. To examine many cells, it is more efficient to do an XtGetValues(\|) on .B XmNcells and examine the values in that array. .sp .ne 6 .RE .B XbaeMatrixGetCellBackground(\|) .PP .RS .TS l s s l l li . Pixel XbaeMatrixGetCellBackground(\|) Widget w; int row; int column; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose background color should be retrieved. .cI column The column of the cell whose background color should be retrieved. .sp .ne 6 .RE .B XbaeMatrixGetCellColor(\|) .PP .RS .TS l s s l l li . Pixel XbaeMatrixGetCellColor(\|) Widget w; int row; int column; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose foreground color should be retrieved. .cI column The column of the cell whose foreground color should be retrieved. .sp .ne 6 .RE .B XbaeMatrixGetCellPixmap(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetCellPixmap(\|) Widget w; int row; int column; Pixmap *pixmap; Pixmap *mask; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose pixmap and mask should be retrieved. .cI column The column of the cell whose pixmap and mask should be retrieved. .cI pixmap A pointer to a Pixmap variable, in which the function will store the cell's pixmap. .cI mask A pointer to a Pixmap variable, in which the function will store the cell's pixmap mask. .sp .ne 6 .RE .B XbaeMatrixGetCellTag(\|) .PP .RS .TS l s s l l li . XmStringTag XbaeMatrixGetCellTag(\|) Widget w; int row; int column; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose tag should be retrieved. .cI column The column of the cell tag should be retrieved. .PP .sp .B XbaeMatrixGetCellTag returns the font tag of the indicated cell. The application should not modify or free the returned value. .ne 5 .RE .B XbaeMatrixGetCellUserData(\|) .PP .RS .TS l s s l l li . XtPointer XbaeMatrixGetCellUserData(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose data should be retrieved. .cI column The column of the cell whose data should be retrieved. .PP .B XbaeMatrixGetCellUserData(\|) returns a pointer to the data assigned to the cell in the given coordinates. The data should be set using .BR XbaeMatrixSetCellUserData(\|) . If no data is found to be associated with the particular cell, .SM NULL is returned. .sp .ne 6 .RE .B XbaeMatrixGetColumnWidth(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetColumnWidth(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column whose width we're querying. .PP .B XbaeMatrixGetColumnWidth(\|) is a convenient way to query a column width. .sp .ne 4 .RE .B XbaeMatrixGetColumnLabel(\|) .PP .RS .TS l s s l l li . String XbaeMatrixGetColumnLabel(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the label that should be retrieved. .PP .B XbaeMatrixGetColumnLabel(\|) returns a pointer to the label of the given column. If no column labels exist or the given column is not a valid column .SM NULL is returned. If no data is found to be associated with the particular column, .SM NULL is returned. .sp .ne 4 .RE .B XbaeMatrixGetColumnUserData(\|) .PP .RS .TS l s s l l li . XtPointer XbaeMatrixGetColumnUserData(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the cell whose data should be retrieved. .PP .B XbaeMatrixGetColumnUserData(\|) returns a pointer to the data assigned to the given column. The data should be set using .BR XbaeMatrixSetColumnUserData(\|) . If no data is found to be associated with the particular column, .SM NULL is returned. .sp .ne 5 .RE .B XbaeMatrixGetCurrentCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixGetCurrentCell(\|) Widget w; int *row; int *column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell the ``cursor'' or TextField is in. .cI column The column of the cell the ``cursor'' or TextField is in. .PP .B XbaeMatrixGetCurrentCell(\|) allows the application developer to determine what cell is being edited or has focus. .sp .ne 5 .RE .B XbaeMatrixGetEventRowColumn(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetEventRowColumn(\|) Widget w; XEvent *event; int *row; int *column; .TE .sp .cI w An .B XbaeMatrix widget. .cI event An X event structure pointer. This is usually from an XEventHandler function. It can be either a button or a key event. .cI row The row of the cell the ``cursor'' or TextField is in. .cI column The column of the cell the ``cursor'' or TextField is in. .PP .B XbaeMatrixGetEventRowColumn(\|) allows the application developer to determine what cell corresponds to an (x, y) in an event. If the (x, y) of the event is a legal cell, row and column are set and True is returned. However, if the (x, y) is not over a cell, False is returned, and row and column will have undefined values. .sp .ne 3 .RE .B XbaeMatrixGetNumSelected(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetNumSelected(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixGetNumSelected(\|) returns the number of cells that are currently selected in the given matrix. The widget maintains an internal variable as cells are selected and deselected so a complete traversal of the widget is avoided. .sp .ne 6 .RE .B XbaeMatrixGetRowHeight(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetRowHeight(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row whose height we query. .PP .B XbaeMatrixGetRowHeight(\|) is a convenient way to query a row height. .sp .ne 4 .RE .B XbaeMatrixGetRowLabel(\|) .PP .RS .TS l s s l l li . String XbaeMatrixGetRowLabel(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the label that should be retrieved. .PP .B XbaeMatrixGetRowLabel(\|) returns a pointer to the label of the given row. If no row labels exist or the given row is not a valid row .SM NULL is returned. .sp .ne 4 .RE .B XbaeMatrixGetRowUserData(\|) .PP .RS .TS l s s l l li . XtPointer XbaeMatrixGetRowUserData(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose data should be retrieved. .PP .B XbaeMatrixGetRowUserData(\|) returns a pointer to the data assigned to the given row. The data should be set using .BR XbaeMatrixSetRowUserData(\|) . If no data is found to be associated with the particular row, .SM NULL is returned. .sp .ne 5 .RE .B XbaeMatrixGetXmColumnLabel(\|) .PP .RS .TS l s s l l li . XmString XbaeMatrixGetXmColumnLabel(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the xmLabel that should be retrieved. .PP .B XbaeMatrixGetXmColumnLabel(\|) returns a pointer to the xmLabel of the given column. If no xmColumnLabels exist or the given column is not a valid column .SM NULL is returned. If no data is found to be associated with the particular column, .SM NULL is returned. .sp .ne 4 .RE .B XbaeMatrixGetXmRowLabel(\|) .PP .RS .TS l s s l l li . XmString XbaeMatrixGetXmRowLabel(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the xmLabel that should be retrieved. .PP .B XbaeMatrixGetXmRowLabel(\|) returns a pointer to the xmLabel of the given row. If no xmRowLabels exist or the given row is not a valid row .SM NULL is returned. If no data is found to be associated with the particular row, .SM NULL is returned. .sp .ne 4 .RE .B XbaeMatrixHighlightCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixHighlightCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to highlight. .cI column The column of the cell to highlight. .PP .B XbaeMatrixHighlightCell(\|) allows the application developer to programmatically highlight a cell. .B XbaeMatrixHighlightCell(\|) draws the highlight around the cell. The corresponding unsigned char in the .B XmNhighlightedCells array will be have its .B HighlightCell bit set. .sp .ne 4 .RE .B XbaeMatrixHighlightColumn(\|) .PP .RS .TS l s s l l li . void XbaeMatrixHighlightColumn(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column to highlight. .PP .B XbaeMatrixHighlightColumn(\|) allows the application developer to programmatically highlight a column. .B XbaeMatrixHighlightColumn(\|) draws the highlight around the column if .B XmNgridType is .B XmGRID_COLUMN_SHADOW or from around each cell in the column otherwise. The corresponding unsigned chars in the .B XmNhighlightedCells array will be have its .B HighlightColumn or .B HighlightOther bit set, depending on whether .B XmNgridType is set to .B XmGRID_COLUMN_SHADOW or not. .sp .ne 4 .RE .B XbaeMatrixHighlightRow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixHighlightRow(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row to highlight. .PP .B XbaeMatrixHighlightRow(\|) allows the application developer to programmatically highlight a row. .B XbaeMatrixHighlightRow(\|) draws the highlight around the row if .B XmNgridType is .B XmGRID_ROW_SHADOW or from around each cell in the row otherwise. The corresponding unsigned chars in the .B XmNhighlightedCells array will be have its .B HighlightRow or .B HighlightOther bit set, depending on whether .B XmNgridType is set to .B XmGRID_ROW_SHADOW or not. .sp .ne 5 .RE .B XbaeMatrixIsCellSelected(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsCellSelected(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to check. .cI column The column of the cell to check. .PP .B XbaeMatrixIsCellSelected(\|) allows the application developer to determine whether or not a particular cell is selected. The function returns True if the cell is selected and False otherwise. .sp .ne 5 .RE .B XbaeMatrixIsCellVisible(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsCellVisible(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to check. .cI column The column of the cell to check. .PP .B XbaeMatrixIsCellVisible(\|) allows the application developer to determine whether or not a particular cell is in the visible area of the .B XbaeMatrix widget. The function returns True if the cell is visible and False otherwise. .sp .ne 4 .RE .B XbaeMatrixIsColumnSelected(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsColumnSelected(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the matrix to check. .PP .B XbaeMatrixIsColumnSelected(\|) allows the application developer to determine whether or not a particular column is selected. The function returns True if the column is selected and False otherwise. A column must be selected in its entirety for .B XbaeMatrixIsColumnSelected(\|) to return True. .sp .ne 4 .RE .B XbaeMatrixIsColumnVisible(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsColumnVisible(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the matrix to check. .PP .B XbaeMatrixIsColumnVisible(\|) allows the application developer to determine whether or not a particular column is in the visible area of the .B XbaeMatrix widget. The function returns True if the column is visible and False otherwise. .sp .ne 4 .RE .B XbaeMatrixIsRowSelected(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsRowSelected(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the matrix to check. .PP .B XbaeMatrixIsRowSelected(\|) allows the application developer to determine whether or not a particular row is selected. The function returns True if the row is selected and False otherwise. A row must be selected in its entirety for .B XbaeMatrixIsRowSelected(\|) to return True. .sp .ne 4 .RE .B XbaeMatrixIsRowVisible(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsRowVisible(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the matrix to check. .PP .B XbaeMatrixIsRowVisible(\|) allows the application developer to determine whether or not a particular row is in the visible area of the .B XbaeMatrix widget. The function returns True if the row is visible and False otherwise. .sp .ne 5 .RE .B XbaeMatrixMakeCellVisible(\|) .PP .RS .TS l s s l l li . int XbaeMatrixMakeCellVisible(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row to scroll into the visible area of the matrix. .cI column The column to scroll into the visible area of the matrix. .PP .B XbaeMatrixMakeCellVisible(\|) allows a cell to be programatically scrolled into the visible area of the .B XbaeMatrix widget. By calling this function, the .B XmNselectScrollVisible resource is ignored. For a more accurate cell location after scrolling, the programmer should use the .BR XmNleftColumn and XmNtopRow resources. .sp .ne 3 .RE .B XbaeMatrixNumRows(\|) .PP .RS .TS l s s l l li . int XbaeMatrixNumRows(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixNumRows(\|) returns the number of rows in the given matrix. .sp .ne 3 .RE .B XbaeMatrixNumColumns(\|) .PP .RS .TS l s s l l li . int XbaeMatrixNumColumns(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixNumColumns(\|) returns the number of columns in the given matrix. .sp .ne 3 .RE .B XbaeMatrixNumRows(\|) .PP .RS .TS l s s l l li . int XbaeMatrixNumRows(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixNumRows(\|) returns the number of rows in the given matrix. .sp .ne 3 .RE .B XbaeMatrixRefresh(\|) .PP .RS .TS l s s l l li . void XbaeMatrixRefresh(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixRefresh(\|) allows the application developer to force the widget to redraw itself. This might be used when the programmer knows the widget's values have changed, but the widget has not detected the change. For example, the quickest way to swap the values of 2 rows would be to do an XtGetValues on .BR XmNcells , swap the values of the 2 rows, and then do an XtSetValues on .B XmNcells with the same StringTable variable. Because of the way the Intrinsics work, the widget will not see this change and will display the old values until a redraw is preformed because of a resize or scroll event (assuming no other change in the XtSetValues caused a redraw). Calling .B XbaeMatrixRefresh(\|) will cause the correct values to be drawn and overcome this limitation in the Intrinsics. While this function should rarely be needed, it is provided ``just in case''. .sp .ne 5 .RE .B XbaeMatrixRefreshCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixRefreshCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to redraw. .cI column The column of the cell to redraw. .PP .B XbaeMatrixRefreshCell(\|) allows the application developer to redraw a specific cell of the matrix. This function is particularly useful when used with the .B XbaeMatrixDrawCellCallback as it allows updates of the data without an explicit expose event. .sp .ne 5 .RE .B XbaeMatrixRefreshColumn(\|) .PP .RS .TS l s s l l li . void XbaeMatrixRefreshColumn(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the matrix to redraw. .PP .B XbaeMatrixRefreshColumn(\|) allows the application developer to efficiently redraw a specific column of the matrix. .sp .ne 5 .RE .B XbaeMatrixRefreshRow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixRefreshRow(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the matrix to redraw. .PP .B XbaeMatrixRefreshRow(\|) allows the application developer to efficiently redraw a specific row of the matrix. .sp .ne 6 .RE .B XbaeMatrixRowColToXY(\|) .PP .RS .TS l s s l l li . int XbaeMatrixRowColToXY(\|) Widget w; int row; int column; int *x; int *y; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row the of the cell in question. .cI column The column the of the cell in question. .cI x The x coordinate returned that represents the left coordinates of the given cell. .cI y The y coordinate returned that represents the upper coordinates of the given cell. .PP .B XbaeMatrixRowColToXY(\|) allows the application developer to determine the coordinates of the upper left corner of a given cell. If the given widget is not an .B XbaeMatrix widget, False will be returned and the values of x and y will be undefined. This function is useful for drag and drop calculations. .sp .ne 3 .RE .B XbaeMatrixSelectAll(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSelectAll(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixSelectAll(\|) allows the application developer to programmatically select all cells. .B XbaeMatrixSelectAll(\|) redraws the cells in reverse video. All Booleans in the .B XmNselectedCells array will be set to True. .sp .ne 5 .RE .B XbaeMatrixSelectCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSelectCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to select. .cI column The column of the cell to select. .PP .B XbaeMatrixSelectCell(\|) allows the application developer to programmatically select a cell. .B XbaeMatrixSelectCell(\|) first scrolls the specified cell until it is visible, and then draws the cell in reverse video (or selectedForeground / selectedBackground if set). The corresponding Boolean in the .B XmNselectedCells array will be set to True. .sp .ne 4 .RE .B XbaeMatrixSelectColumn(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSelectColumn(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column to select. .PP .B XbaeMatrixSelectColumn(\|) allows the application developer to programmatically select a column. .B XbaeMatrixSelectColumn(\|) first scrolls the specified column until it is visible, and then draws the column in reverse video (or selectedForeground / selectedBackground if set). The corresponding Booleans in the .B XmNselectedCells array will be set to True. .sp .ne 4 .RE .B XbaeMatrixSelectRow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSelectRow(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row to select. .PP .B XbaeMatrixSelectRow(\|) allows the application developer to programmatically select a row. .B XbaeMatrixSelectRow(\|) first scrolls the specified row until it is visible, and then draws the row in reverse video (or selectedForeground / selectedBackground if set). The corresponding Booleans in the .B XmNselectedCells array will be set to True. .sp .ne 6 .RE .B XbaeMatrixSetCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCell(\|) Widget w; int row; int column; const String value; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose value should be set. .cI column The column of the cell whose value should be set. .cI value The new value to set this cell to. .PP .B XbaeMatrixSetCell(\|) allows the application developer to programmatically set the value of the specified cell. To set the values of many cells, it may be more efficient to do an XtSetValues(\|) on the .B XmNcells resource. .sp .ne 6 .RE .B XbaeMatrixSetCellBackground(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellBackground(\|) Widget w; int row; int column; Pixel color; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose backgroundshould be set. .cI column The column of the cell whose background should be set. .cI color The new color to which to set this cell's background. .PP .B XbaeMatrixSetCellBackground(\|) is a convenient way to specify and modify the .B XmNcellBackgrounds resource when changing the background of a single cell. If .B XmNcellBackgrounds is .SM NULL, then .B XbaeMatrixSetCellBackground(\|) will create a Pixel table initialized to .B XmNforeground except for the cell specified in it's arguments. If .B XmNcellBackgrounds is not .SM NULL, then .B XbaeMatrixSetCellBackground(\|) will changed the specified cell in that resource to the specified color. .sp .ne 6 .RE .B XbaeMatrixSetCellColor(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellColor(\|) Widget w; int row; int column; Pixel color; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose color should be set. .cI column The column of the cell whose color should be set. .cI color The new color to which to set this cell. .PP .B XbaeMatrixSetCellColor(\|) is a convenient way to specify and modify the .B XmNcolors resource when changing the color of a single cell. If .B XmNcolors is .SM NULL, then .B XbaeMatrixSetCellColor(\|) will create a Pixel table initialized to .B XmNforeground except for the cell specified in it's arguments. If .B XmNcolors is not .SM NULL, then .B XbaeMatrixSetCellColor(\|) will changed the specified cell in that resource to the specified color. .sp .ne 6 .RE .B XbaeMatrixSetCellPixmap(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellPixmap(\|) Widget w; int row; int column; Pixmap pixmap; Pixmap mask; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose pixmap and mask should be set. .cI column The column of the cell whose pixmap and mask should be set. .cI pixmap the function will store the contents of this Pixmap variable .cI mask the function will store the contents of this variable as the pixmap mask .PP .sp .B XbaeMatrixSetCellPixmap will set the pixmap and the associated mask of the indicated cell. If the row or column are out of bounds, or the widget is not an .B XbaeMatrix widget, then nothing is changed; this erroneous condition is silently ignored. .sp .ne 6 .RE .B XbaeMatrixSetCellShadow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellShadow(\|) Widget w; int row; int column; unsigned char shadow_type; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose shadow should be set. .cI column The column of the cell whose shadow should be set. .cI shadow_type The value to which to set the cells shadow .PP .B XbaeMatrixSetShadow(\|) allows the application developer to programmatically set the shadow of a specified cell. .sp .ne 6 .RE .B XbaeMatrixSetCellTag(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellTag(\|) Widget w; int row; int column; XmStringTag tag; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose tag should be set. .cI column The column of the cell whose tag should be set. .cI tag The value to which to set the cells tag .PP .B XbaeMatrixSetTag(\|) allows the application developer to programmatically set the font tag of a specified cell. This value is copied (quarkified). .sp .ne 6 .RE .B XbaeMatrixSetCellUserData(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellUserData(\|) Widget w; int row; int column; XtPointer data; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose value should be set. .cI column The column of the cell whose value should be set. .cI data A pointer to a user defined data area. .PP .B XbaeMatrixSetCellUserData(\|) allows the application developer to programmatically set the user data of a specified cell. To set the data value of many cells, it may be more efficient to do an XtSetValues(\|) on the .B XmNcellUserData resource. This resource is copied. .sp .ne 6 .RE .\" .\" XXX 1 .\" .xcb1 XbaeMatrixSetCellWidget .TS l s s l l li . void XbaeMatrixSetCellWidget(w, row, column, widget) Widget w; int row; int column; Widget widget; .TE .xcb2 .B XbaeMatrixSetCellWidget(\|) is a function to attach a widget to a matrix cell. The cell is selected by specifying its .B row and .B column , .B widget is the cell widget to be associated with that cell. XbaeMatrix will manage the cell widget's position and size so it is displayed inside the cell at all times, including when scrolling. .PP Using a NULL .B widget removes the link between a widget and its cell. Only one widget can be in a cell, a widget should also be in only one cell at a time. .xcb3 .\" .\" XXX 2 .\" .B XbaeMatrixSetCellWidget(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellWidget(w, row, column, widget) Widget w; int row; int column; Widget widget; .TE .sp .B XbaeMatrixSetCellWidget(\|) is a function to attach a widget to a matrix cell. The cell is selected by specifying its .B row and .B column , .B widget is the cell widget to be associated with that cell. XbaeMatrix will manage the cell widget's position and size so it is displayed inside the cell at all times, including when scrolling. .PP Using a NULL .B widget removes the link between a widget and its cell. Only one widget can be in a cell, a widget should also be in only one cell at a time. .sp .ne 6 .RE .\" .\" XXX 3 .\" .B XbaeMatrixSetColumnBackgrounds(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetColumnBackgrounds(\|) Widget w; int position; Pixel *colors; int num_colors; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The column position at which to begin applying the new backgrounds. Must be greater than or equal to zero, and (position + num_colors) must be less than or equal to .BR XmNcolumns . .cI colors Points to an array of Pixel. These specify the backgrounds for the cells in the specified columns. The colors array must have num_colors elements. .cI num_colors The number of colors in the colors array. .PP .B XbaeMatrixSetColumnBackgrounds(\|) is a convenient way to specify and modify the .B XmNcellBackgrounds resource when setting the background of an entire column or columns. If .B XmNcellBackgrounds is .SM NULL, then .B XbaeMatrixSetColumnBackgrounds(\|) will create a Pixel table initialized to .B XmNforeground except for the columns specified in it's arguments. If .B XmNcellBackgrounds is not .SM NULL, then .B XbaeMatrixSetColumnBackgrounds(\|) will changed the specified columns in that resource to the specified colors. .sp .ne 6 .RE .B XbaeMatrixSetColumnColors(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetColumnColors(\|) Widget w; int position; Pixel *colors; int num_colors; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The column position at which to begin applying the new colors. Must be greater than or equal to zero, and (position + num_colors) must be less than or equal to .BR XmNcolumns . .cI colors Points to an array of Pixel. These specify the colors for the cells in the specified columns. The colors array must have num_colors elements. .cI num_colors The number of colors in the colors array. .PP .B XbaeMatrixSetColumnColors(\|) is a convenient way to specify and modify the .B XmNcolors resource when setting the color of an entire column or columns. If .B XmNcolors is .SM NULL, then .B XbaeMatrixSetColumnColors(\|) will create a Pixel table initialized to .B XmNforeground except for the columns specified in it's arguments. If .B XmNcolors is not .SM NULL, then .B XbaeMatrixSetColumnColors(\|) will changed the specified columns in that resource to the specified colors. .sp .ne 6 .RE .B XbaeMatrixSetColumnWidth(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetColumnWidth(\|) Widget w; int column; int width; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column whose width we'll be changing. .cI width The new width of this column. A column width can be 0 to hide a column. .PP .B XbaeMatrixSetColumnWidth(\|) is a convenient way to change the width of a column without the need to allocate an array with column width numbers. Passing -1 as the new width will reset the column width to the default value. .sp .ne 5 .RE .xcb1 XbaeMatrixSetColumnLabel .TS l s s l l li . void XbaeMatrixSetColumnLabel(\|) Widget w; int column; String value; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column of the label is to be set. .cI value The new value of the label. .PP .B XbaeMatrixSetColumnLabel(\|) allows the application developer to programmatically change the label of a specified column. .xcb3 .sp .ne 5 .RE .xcb1 XbaeMatrixSetColumnShadow .TS l s s l l li . void XbaeMatrixSetColumnShadow(\|) Widget w; int column; unsidned char shadow_type; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column for which the shadow to be set. .cI shadow_type The new value of the shadow. .PP .B XbaeMatrixSetColumnShadow(\|) allows the application developer to programmatically change the shadow of a specified column. .xcb3 .xcb1 XbaeMatrixSetColumnUserData .TS l s s l l li . void XbaeMatrixSetColumnUserData(\|) Widget w; int column; XtPointer data; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column whose value should be set. .cI data A pointer to a user defined data area. .PP .B XbaeMatrixSetColumnUserData(\|) allows the application developer to programmatically associate user data for the specified column. .xcb3 .xcb1 XbaeMatrixSetRowBackgrounds .TS l s s l l li . void XbaeMatrixSetRowBackgrounds(\|) Widget w; int position; Pixel *colors; int num_colors; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI position The row position at which to begin applying the new colors. Must be greater than or equal to zero, and (position + num_colors) must be less than or equal to .BR XmNrows . .cI colors Points to an array of Pixel. These specify the backgrounds for the cells in the specified rows. The colors array must have num_colors elements. .cI num_colors The number of colors in the colors array. .PP .B XbaeMatrixSetRowBackgrounds(\|) is a convenient way to specify and modify the .B XmNcellBackgrounds resource when setting the background of an entire row or rows. If .B XmNcellBackgrounds is .SM NULL, then .B XbaeMatrixSetRowBackgrounds(\|) will create a Pixel table initialized to .B XmNforeground except for the rows specified in it's arguments. If .B XmNcellBackgrounds is not .SM NULL, then .B XbaeMatrixSetRowBackgrounds(\|) will changed the specified rows in that resource to the specified colors. .xcb3 .xcb1 XbaeMatrixSetRowColors .TS l s s l l li . void XbaeMatrixSetRowColors(\|) Widget w; int position; Pixel *colors; int num_colors; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI position The row position at which to begin applying the new colors. Must be greater than or equal to zero, and (position + num_colors) must be less than or equal to .BR XmNrows . .cI colors Points to an array of Pixel. These specify the colors for the cells in the specified rows. The colors array must have num_colors elements. .cI num_colors The number of colors in the colors array. .PP .B XbaeMatrixSetRowColors(\|) is a convenient way to specify and modify the .B XmNcolors resource when setting the color of an entire row or rows. If .B XmNcolors is .SM NULL, then .B XbaeMatrixSetRowColors(\|) will create a Pixel table initialized to .B XmNforeground except for the rows specified in it's arguments. If .B XmNcolors is not .SM NULL, then .B XbaeMatrixSetRowColors(\|) will changed the specified rows in that resource to the specified colors. .xcb3 .xcb1 XbaeMatrixSetRowHeight .TS l s s l l li . void XbaeMatrixSetRowHeight(\|) Widget w; int row; int height; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row whose height we'll be changing. .cI height The new height of this row. A row height can be 0 to hide a row. .PP .B XbaeMatrixSetRowHeight(\|) is a convenient way to change the height of a row without the need to allocate an array with row height numbers. Passing -1 as the new height will reset the row's height to the default value. .xcb3 .xcb1 XbaeMatrixSetRowLabel .TS l s s l l li . void XbaeMatrixSetRowLabel(\|) Widget w; int row; String value; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row of the label is to be set. .cI value The new value of the label. .PP .B XbaeMatrixSetRowLabel(\|) allows the application developer to programmatically change the label of the specified row. .xcb3 .xcb1 XbaeMatrixSetRowShadow .TS l s s l l li . void XbaeMatrixSetRowShadow(\|) Widget w; int column; unsigned char shadow_type; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row whose shadow should be set. .cI shadow_type The value of the new shadow. .PP .B XbaeMatrixSetRowShadow(\|) allows the application developer to programmatically change the shadow for the specified row. .xcb3 .xcb1 XbaeMatrixSetRowUserData .TS l s s l l li . void XbaeMatrixSetRowUserData(\|) Widget w; int column; XtPointer data; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row whose value should be set. .cI data A pointer to a user defined data area. .PP .B XbaeMatrixSetRowUserData(\|) allows the application developer to programmatically associate user data for the specified row. .xcb3 .xcb1 XbaeMatrixSetXmColumnLabel .TS l s s l l li . void XbaeMatrixSetXmColumnLabel(\|) Widget w; int column; XmString value; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column of the xmLabel is to be set. .cI value The new value of the xmLabel. .PP .B XbaeMatrixSetXmColumnLabel(\|) allows the application developer to programmatically change the xmLabel of a specified column. .xcb3 .xcb1 XbaeMatrixSetXmRowLabel .TS l s s l l li . void XbaeMatrixSetXmRowLabel(\|) Widget w; int row; XmString value; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row of the xmLabel is to be set. .cI value The new value of the xmLabel. .PP .B XbaeMatrixSetXmRowLabel(\|) allows the application developer to programmatically change the xmLabel of a specified row. .xcb3 .xcb1 XbaeMatrixSortColumns .TS l s s l l li . void XbaeMatrixSortColumns(\|) Widget w; int (*proc)(Widget, int, int, void *); void *user_data; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI proc a pointer to a function that can compare columns. .cI user_data a pointer the application can use for its own needs. .PP .B XbaeMatrixSortColumns allows you to sort the columns in the .B XbaeMatrix widget according to criteria determined by the .B proc function. The .B proc function should have the above signature and functionality as demanded by the .B qsort(3) function. It will be called with a the matrix being sorted, the indices of two columns to compare and the user_data pointer .B XbaeMatrixSortColumns was called with. It should return -1, 0, or 1 as appropriate. It is guaranteed that the matrix does not change while sorting and the necessary reordering will only take place after the last call to proc has been made. .xcb3 .xcb1 XbaeMatrixSortRows .TS l s s l l li . void XbaeMatrixSortRows(\|) Widget w; int (*proc)(Widget, int, int, void *); void *user_data; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI proc a pointer to a function that can compare rows. .cI user_data a pointer the application can use for its own needs. .PP .B XbaeMatrixSortRows allows you to sort the rows in the .B XbaeMatrix widget according to criteria determined by the .B proc function. The .B proc function should have the above signature and functionality as demanded by the .B qsort(3) function. It will be called with the matrix being sorted, the indices of two rows to compare and the user_data pointer .B XbaeMatrixSortRows was called with. It should return -1, 0, or 1 as appropriate. It is guaranteed that the matrix does not change while sorting and the necessary reordering will only take place after the last call to proc has been made. .xcb3 .xcb1 XbaeMatrixUnhighlightAll .TS l s s l l li . void XbaeMatrixUnhighlightAll(\|) Widget w; .TE .xcb2 .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixUnhighlightAll(\|) allows the application developer to programmatically unhighlight all cells. .B XbaeMatrixUnhighlightAll(\|) erases the highlight from all cells. All unsigned chars in the .B XmNhighlightedCells array will be set to .BR HighlightNone . .xcb3 .xcb1 XbaeMatrixUnhighlightCell .TS l s s l l li . void XbaeMatrixUnhighlightCell(\|) Widget w; int row; int column; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row of the cell to unhighlight. .cI column The column of the cell to unhighlight. .PP .B XbaeMatrixUnhighlightCell(\|) allows the application developer to programmatically unhighlight a cell. .B XbaeMatrixUnhighlightCell(\|) erases the highlight from the cell. The corresponding unsigned char in the .B XmNhighlightedCells array will be have its .B HighlightCell bit cleared. .xcb3 .xcb1 XbaeMatrixUnhighlightColumn .TS l s s l l li . void XbaeMatrixUnhighlightColumn(\|) Widget w; int column; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column to unhighlight. .PP .B XbaeMatrixUnhighlightColumn(\|) allows the application developer to programmatically unhighlight a column. .B XbaeMatrixUnhighlightColumn(\|) erases the highlight from around the column if .B XmNgridType is .B XmGRID_COLUMN_SHADOW or from around each cell in the column otherwise. The corresponding unsigned chars in the .B XmNhighlightedCells array will be have its .B HighlightColumn or .B HighlightOther bit cleared, depending on whether .B XmNgridType is set to .B XmGRID_COLUMN_SHADOW or not. .xcb3 .xcb1 XbaeMatrixUnhighlightRow .TS l s s l l li . void XbaeMatrixUnhighlightRow(\|) Widget w; int row; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row to unhighlight. .PP .B XbaeMatrixUnhighlightRow(\|) allows the application developer to programmatically unhighlight a row. .B XbaeMatrixUnhighlightRow(\|) erases the highlight from around the row if .B XmNgridType is .B XmGRID_ROW_SHADOW or from around each cell in the row otherwise. The corresponding unsigned chars in the .B XmNhighlightedCells array will be have its .B HighlightRow or .B HighlightOther bit cleared, depending on whether .B XmNgridType is set to .B XmGRID_ROW_SHADOW or not. .xcb3 .B XbaeMatrixVisibleCells(\|) .PP .RS .TS l s s l l li . int XbaeMatrixVisibleCells(\|) Widget w; int *top_row; int *bottom_row; int *left_column; int *right_column; .TE .sp .cI w An .B XbaeMatrix widget. .cI top_row The first row that is currently visible in the matrix. .cI bottom_row The last row that is currently visible in the matrix. .cI left_column The leftmost column that is currently visible in the matrix. .cI right_column The rightmost column that is currently visible in the matrix. .PP .B XbaeMatrixVisibleCells(\|) allows the the application developer to obtain the currently visible portion of the .B XbaeMatrix .IR w . .sp .ne 3 .RE .B XbaeMatrixVisibleColumns(\|) .PP .RS .TS l s s l l li . int XbaeMatrixVisibleColumns(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixVisibleColumns(\|) allows the the application developer to programmatically check how many columns are currently displayed in the .B XbaeMatrix .IR w . A partially visible column will be declared an entire column. .sp .ne 3 .RE .B XbaeMatrixVisibleRows(\|) .PP .RS .TS l s s l l li . int XbaeMatrixVisibleRows(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixVisibleRows(\|) allows the the application developer to programmatically check how many rows are currently displayed in the .B XbaeMatrix .IR w . A partially visible row will be declared an entire row. .PP .ne 3 .RE .B XbaeGetVersionNum(\|) .PP .RS .TS l s s l l li . int XbaeGetVersionNum(\|) .TE .sp .PP .B XbaeGetVersionNum(\|) is a function that returns the numeric representation of the version of the Xbae library that your program is working with. This is the run-time version of the Xbae widgets, where .B XbaeVersion is a macro that represents the compile-time version. .PP The numeric representation is a simple calculation based on the major, minor, and pico numbers representing an Xbae widget release. E.g. version 4.8.1 would be represented as 40801. .PP Releases prior to 4.8.0 didn't have this functionality. .PP .sp .ne 3 .RE .B XbaeGetVersionText(\|) .PP .RS .TS l s s l l li . char * XbaeGetVersionText(\|) .TE .sp .PP .B XbaeGetVersionText(\|) is a function that returns the textual representation of the version of the Xbae library that your program is working with. This is the run-time version of the Xbae widgets, where .B XbaeVersionTxt is a macro that represents the compile-time version. .PP .RE .sp .RE .sp .SH "Additional Behavior" .sp Using XtSetValues to set the Matrix's .B XmNwidth resource to 0 will cause it to recompute it's horizontal size. It will request a new size which results in .B XmNvisibleColumns columns being displayed. If .B XmNvisibleColumns is 0, then it will request a new size such that it does not need a horizontal ScrollBar (full horizontal size). .PP Using XtSetValues to set the Matrix's .B XmNheight resource to 0 will cause it to recompute it's vertical size. It will request a new size which results in .B XmNvisibleRows rows being displayed. If .B XmNvisibleRows is 0, then it will request a new size such that it does not need a vertical ScrollBar (full vertical size). .PP An XtSetValues on .B XmNvisibleRows will cause the Matrix to request a new size which results in .B XmNvisibleRows non-fixed rows being displayed, only if the new value is different than the old one. .PP An XtSetValues on .B XmNvisibleColumns will cause the Matrix to request a new size which results in the first .B XmNvisibleColumns non-fixed columns being displayed, only if the new value is different than the old one. .PP An XtSetValues on any other resource will not result in a request for a new size. Setting other resources in conjunction with setting .B XmNwidth and/or .B XmNheight to 0 allows for more control of the Matrix's geometry. .PP An XtSetValues setting .B XmNrowLabelWidth to 0 will cause .B XmNrowLabelWidth to be set to the width of the longest row label. .sp .SH "Virtual Bindings" .sp The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see .BR VirtualBindings(3X) . .SH AUTHOR .B Andrew Wason \fC(aw@bae.bellcore.com)\fP of Bellcore, Piscataway NJ, wrote the original version of the Xbae widgets. His final release of the widgets was version 3.8. .sp .B Kevin Brannen \fC(kbrannen@metronet.com)\fP took over maintainership following Andrew Wason's departure and released version 4.0. .sp .B Andrew Lister \fC(lister@db.com)\fP maintained from 1995 to 1999. .SH "SPECIAL THANKS" Andrew Wason for the original idea and source code. .br Jay Schmidgall for his contributions. .br Nick Banyard for providing the multibyte extensions. .br Callum Gibson for the pattern parsing in the XbaeInput widget. .br Sascha Goebel for debugging the scroll-per-pixel code. .br Tobias Oed for lots of code cleanup and debugging. .br The people from Arcad Systemhaus for code submission for XbaeMatrixSort and a couple of related functionalities, and easier pixmap support. .TE .SH RELEASE .sp This document describes XbaeMatrix, version @VERSION@. .SH "SEE ALSO" .B Core(3X), Composite(3X), XmManager(3X), XmScrollBar(3X), XbaeInput(3X), XmText(3X) .SH "Notice of Limitation" .sp Bellcore, previous and current maintainers of the Xbae widgets (collectively 'authors') provide this information solely to professionals who have the appropriate degree of experience to understand and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. No recommendations as to products or vendors is made or should be implied. .PP While the information contained herein has been prepared from sources deemed to be reliable, the authors reserve the right to revise the information without notice, but has no obligation to do so. Unless the recipient has been expressly granted a license by Bellcore under separate applicable written agreement with Bellcore, no license, expressed or implied, is granted under any patents, copyrights or other intellectual property rights. Use of the information is at your discretion and shall not be deemed an inducement by Bellcore to infringe any existing or later-issued patent, copyrights or other intellectual property right. .PP THE AUTHORS MAKE NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE INFORMATION IS PROVIDED ``AS IS'', AND IN NO EVENT SHALL THE AUTHORS OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION. .PP Copyright 1991, 1992 Bellcore. .br Copyright 1995-99 Andrew Lister All Rights Reserved. .br Copyright 1999-2002 LessTif Developers .sp 3 The above no warranty extends to all additions and contributions. No contributor shall be held liable; this work is provided ``as is''. If this is a problem for you, then don't use this software. xbae-4.60.4/src/XbaeCaption.30000664000076400007640000002634310436577376012561 00000000000000'\" t .\" $Id: XbaeCaption.3.in,v 1.3 2002/03/09 16:10:14 amai Exp $ .. .de cI .IP \fI\\$1\fR 10 .. .de LI .IP \fB\\$1\fR 5 .. .TH XbaeCaption 3x "4.60.4" "xbae" .SH NAME XbaeCaption \- The Bellcore Application Environment (BAE) XbaeCaption widget class. .SH SYNOPSIS #include .SH DESCRIPTION .B XbaeCaption is a simple manager used to associate a label with its single child. The label may be either an .B XmString or a Pixmap and can be displayed in any one of twelve positions around the edge of the child. .B XbaeCaption performs geometry management so that its size always matches its child's size plus the size of the label and label offset. By using .B XbaeCaption with an .B XmFrame child, groups of related widgets can be labeled in a visually appealing manner. .B XbaeCaption is also useful for associating labels with individual .BR XmTextFields . .SS "Classes" .B XbaeCaption inherits behavior and resources from the .BR Core , .BR Composite , .B Constraint and .B XmManager widget classes. .br The class pointer is .BR xbaeCaptionWidgetClass . .br The class name is .BR XbaeCaption . .SS "New Resources" The following table lists the new resources defined by .BR XbaeCaption . The codes in the Access column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XbaeCaption Resource Set _ Name Class Type Default Access = XmNfontList XmCFontList FontList dynamic CSG _ XmNlabelAlignment XmCLabelAlignment XbaeLabelAlignment XbaeAlignmentCenter CSG _ XmNlabelOffset XmCLabelOffset Int 0 CSG _ XmNlabelPixmap XmCLabelPixmap PrimForegroundPixmap XmUNSPECIFIED_PIXMAP CSG _ XmNlabelPosition XmCLabelPosition XbaeLabelPosition XbaePositionLeft CSG _ XmNlabelString XmCXmString XmString widget name CSG _ XmNlabelTextAlignment XmCAlignment Alignment XmALIGNMENT_CENTER CSG _ XmNlabelType XmCLabelType LabelType XmString CSG .TE .sp .LI XmNfontList Specifies the font of the text used in the caption label. If this value is .SM NULL at initialization, it is initialized by looking up the parent hierarchy of the widget for an ancestor that is a subclass of the .BR XmBulletinBoard , .B VendorShell or .B XmMenuShell widget class. If such an ancestor is found, the font list is initialized to the appropriate default font list of the ancestor widget .B XmNdefaultFontList for .B VendorShell and .BR XmMenuShell , .B XmNlabelFontList or .B XmNbuttonFontList for .B XmBulletinBoard. Refer to .B XmFontList(3X) for more information on the creation and structure of a font list. This resource is copied. .LI XmNlabelAlignment Specifies the alignment of the caption label along the side of the caption child. Must be one of the enumerated .B XbaeLabelAlignment types: .BR XbaeAlignmentTopOrLeft , .BR XbaeAlignmentCenter , .BR XbaeAlignmentBottomOrRight . .LI XmNlabelOffset Specifies the offset, in pixels, of the caption label from the caption child. If the offset is negative, then the caption label will overlap the caption child by that many pixels. .LI XmNlabelPixmap Specifies the caption label pixmap when .B XmNlabelType is .BR XmPIXMAP . .LI XmNlabelPosition Specifies on which side of the caption child the caption label should be placed. Must be one of the enumerated .B XbaeLabelPosition types: .BR XbaePositionLeft , .BR XbaePositionRight , .BR XbaePositionTop , .BR XbaePositionBottom . .LI XmNlabelString Specifies the compound string when the .B XmNlabelType is .BR XmSTRING . If this value is .SM NULL, it is initialized by converting the name of the widget to a compound string. Refer to .B XmString(3X) for more information on the creation and structure of compound strings. .LI XmNlabelTextAlignment Specifies the text alignment for the caption label. This resource is only useful for multi line caption labels. Valid values are: .B XmALIGNMENT_BEGINNING left alignment causes the left sides of the lines of text to be vertically aligned. .B XmALIGNMENT_CENTER center alignment causes the centers of the lines of text to be vertically aligned. .B XmALIGNMENT_END right alignment causes the right sides of the lines of text to be vertically aligned. .LI XmNlabelType Specifies the caption label type. Valid values are: .B XmSTRING - the caption label will display the .BR XmNlabelString . .B XmPIXMAP - the caption label will display the .BR XmNlabelPixmap . .PP .SS "Inherited Resources" The following table lists the resources which .B XbaeCaption inherits from it's superclasses .BR XmManager , .B Compositeand .BR Core . For a complete description of each resource, refer to the man page for that superclass. The codes in the "Access" column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .LP .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . XmManager Resource Set _ Name Class Type Default Access = XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG _ XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNforeground XmCForeground Pixel dynamic CSG _ XmNhelpCallback XmCCallback Callback NULL CSG _ XmNhighlightColor XmCHighlightColor Pixel dynamic CSG _ XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG _ XmNnavigationType XmCNavigationType XmNavigationType XmTAB_GROUP CSG _ XmNshadowThickness XmCShadowThickness Dimension 2 CSG _ XmNstringDirection XmCStringDirection XmStringDirection dynamic CG _ XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG _ XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG _ XmNtraversalOn XmCTraversalOn Boolean True CSG _ XmNunitType XmCUnitType UnsignedChar dynamic CSG _ XmNuserData XmCUserData Pointer NULL CSG .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . Composite Resource Set = Name Class Type Default Access _ XmNchildren XmCReadOnly WidgetList private G _ XmNinsertPosition XmCInsertPosition Function NULL CSG _ XmNnumChildren XmCReadOnly Cardinal 4 G .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp8 | lp8 | lp8 | lp8 | lp8 . Core Resource Set = Name Class Type Default Access _ XmNaccelerators XmCAccelerators AcceleratorTable NULL CSG _ XmNancestorSensitive XmCSensitive Boolean dynamic CSG _ XmNbackground XmCBackground Pixel dynamic G _ XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG _ XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderWidth XmCBorderWidth Dimension 0 CSG _ XmNcolormap XmCColormap Colormap dynamic CG _ XmNdepth XmCDepth Int dynamic CG _ XmNdestroyCallback XmCCallback Callback NULL CSG _ XmNheight XmCHeight Dimension dynamic CSG _ XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True CG _ XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG _ XmNscreen XmCScreen Screen dynamic CG _ XmNsensitive XmCSensitive Boolean True CSG _ XmNtranslations XmCTranslations TranslationTable internal CSG _ XmNwidth XmCWidth Dimension dynamic CSG _ XmNx XmCPosition Position 0 CSG _ XmNy XmCPosition Position 0 CSG .TE .sp .SS Translations .B XbaeCaption inherits translations from .BR XmManager . .SS "Type Converters" .sp .PP In addition to the standard type converters registered by Xt and Motif, .B XbaeCaption registers the following additional type converters: .IP \fCCvtStringToLabelAlignment(\|)\fP Converts a String to the enumerated .B XbaeLabelAlignment type. The Strings .BR TopOrLeft , .B Top and .B Left are converted to .BR XbaeAlignmentTopOrLeft . The String .B Center is converted to .BR XbaeAlignmentCenter . The Strings .BR BottomOrRight , .B Bottom and .B Right are converted to .BR XbaeAlignmentBottomOrRight . This converter allows the .B XmNlabelAlignment resource to be specified in a resource file. The converter is case insensitive. .IP \fCCvtStringToLabelPosition(\|)\fP Converts a String to the enumerated .B XbaeLabelPosition type. The String .B Left is converted to .BR XbaePositionLeft . The String .B Right is converted to .BR XbaePositionRight . The String .B Top is converted to .BR XbaePositionTop . The String .B Bottom is converted to .BR XbaePositionBottom . This converter allows the .B XmNlabelPosition resource to be specified in a resource file. The converter is case insensitive. .sp .SS "Public Functions" .sp The following external entry points to .B XbaeCaption class methods are defined: .sp .ne 6 .B XbaeCreateCaption(\|) .PP .RS .TS l s s l l li . Widget XbaeCreateCaption(\|) Widget parent; String name; ArgList arglist; Cardinal argcount; .TE .sp .cI parent Specifies the parent widget ID. .cI name Specifies the name of the created widget .cI arglist Specifies the argument list .cI argcount Specifies the number of attribute/value pairs in the argument list (arglist) .PP .B XbaeCreateCaption(\|) creates an instance of an XbaeCaption widget and returns the associated widget ID. .PP .SS "Virtual Bindings" .sp The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see .BR VirtualBindings(3X) . .SH AUTHOR .B Andrew Wason, Bellcore, Piscataway NJ; author .br (aw@bae.bellcore.com) .sp .B Andrew Lister .br (lister@db.com) .sp .SH RELEASE .sp This document describes XbaeCaption from Xbae Version 4.9. .SH "SEE ALSO" .B Core(3X), Composite(3X), XmManager(3X), XmLabel(3X) .SH "Notice of Limitation" .sp Bellcore, previous and current maintainers of the Xbae widgets (collectively 'authors') provide this information solely to professionals who have the appropriate degree of experience to understand and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. No recommendations as to products or vendors is made or should be implied. .PP While the information contained herein has been prepared from sources deemed to be reliable, the authors reserve the right to revise the information without notice, but have no obligation to do so. Unless the recipient has been expressly granted a license by Bellcore under separate applicable written agreement with Bellcore, no license, expressed or implied, is granted under any patents, copyrights or other intellectual property rights. Use of the information is at your discretion and shall not be deemed an inducement by Bellcore to infringe any existing or later-issued patent, copyrights or other intellectual property right. .PP THE AUTHORS MAKE NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE INFORMATION IS PROVIDED ``AS IS'', AND IN NO EVENT SHALL THE AUTHORS OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION. .PP Copyright 1991 Bellcore. All Rights Reserved. Copyright 1995-99 Andrew Lister All Rights Reserved. .br Copyright 1999-2002 LessTif Developers .sp 3 The above no warranty extends to all additions and contributions. No contributor shall be held liable; this work is provided ``as is''. If this is a problem for you, then don't use this software. xbae-4.60.4/src/Makefile.in0000664000076400007640000005066310436577344012342 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ # # $Header: /cvsroot/xbae/Xbae/src/Makefile.am,v 1.27 2005/08/15 07:41:08 dannybackx Exp $ # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/XbaeCaption.3.in $(srcdir)/XbaeInput.3.in \ $(srcdir)/XbaeMatrix.3.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = XbaeCaption.3 XbaeInput.3 XbaeMatrix.3 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 = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libXbae_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am_libXbae_la_OBJECTS = Actions.lo Caption.lo Clip.lo Converters.lo \ Create.lo Draw.lo Input.lo Matrix.lo Methods.lo Public.lo \ ScrollMgr.lo Shadow.lo Utils.lo DebugUtil.lo libXbae_la_OBJECTS = $(am_libXbae_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libXbae_la_SOURCES) DIST_SOURCES = $(libXbae_la_SOURCES) man3dir = $(mandir)/man3 NROFF = nroff MANS = $(man_MANS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST = $(MANS) Imakefile SUFFIXES = .1 .3 .5 .html INCLUDES = \ -I$(srcdir)/../include \ -I../include @MOTIF_CFLAGS@ @X_CFLAGS@ -DXBAE_PER_CELL libXbae_la_LDFLAGS = -version-info @XBAE_MAJOR@:@XBAE_MINOR@:@XBAE_AGE@ lib_LTLIBRARIES = libXbae.la # This doesn't work out yet: # picks up wrong Motif lib, won't work with non-installed library, etc. #libXbae_la_LIBADD = @MOTIF_LIBS@ @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} # doesn't work either since it may introduce a wrong linker path #libXbae_la_LIBADD = @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 $(X_EXTRA_LIBS) libXbae_la_LIBADD = @MOTIF_LIBS@ @LIBS@ @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} libXbae_la_SOURCES = \ Actions.c Caption.c Clip.c Converters.c Create.c Draw.c \ Input.c Matrix.c Methods.c Public.c ScrollMgr.c Shadow.c Utils.c \ DebugUtil.c man_MANS = XbaeCaption.3 XbaeInput.3 XbaeMatrix.3 all: all-am .SUFFIXES: .SUFFIXES: .1 .3 .5 .html .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh XbaeCaption.3: $(top_builddir)/config.status $(srcdir)/XbaeCaption.3.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ XbaeInput.3: $(top_builddir)/config.status $(srcdir)/XbaeInput.3.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ XbaeMatrix.3: $(top_builddir)/config.status $(srcdir)/XbaeMatrix.3.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libXbae.la: $(libXbae_la_OBJECTS) $(libXbae_la_DEPENDENCIES) $(LINK) -rpath $(libdir) $(libXbae_la_LDFLAGS) $(libXbae_la_OBJECTS) $(libXbae_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(COMPILE) -c $< .c.obj: $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-man3: $(man3_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)" @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.3*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 3*) ;; \ *) ext='3' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \ done uninstall-man3: @$(NORMAL_UNINSTALL) @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.3*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 3*) ;; \ *) ext='3' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man3dir)/$$inst"; \ done 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(MANS) installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)"; 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-man install-exec-am: install-libLTLIBRARIES install-info: install-info-am install-man: install-man3 installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES uninstall-man uninstall-man: uninstall-man3 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am \ install-libLTLIBRARIES install-man install-man3 install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-libLTLIBRARIES uninstall-man uninstall-man3 @LT_BUILD_MAN2HTML_FALSE@.3.html: @LT_BUILD_MAN2HTML_FALSE@ $(MAN2HTML) -f -w <$*.3 >$*.html # # The dependencies from include files # Actions.lo: $(top_srcdir)/include/Xbae/MatrixP.h Actions.lo: $(top_srcdir)/include/Xbae/Clip.h Actions.lo: $(top_srcdir)/include/Xbae/Draw.h Actions.lo: $(top_srcdir)/include/Xbae/Actions.h Actions.lo: $(top_srcdir)/include/Xbae/Utils.h Actions.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h Actions.lo: $(top_srcdir)/include/Xbae/ClipP.h Caption.lo: $(top_srcdir)/include/Xbae/Macros.h Caption.lo: $(top_srcdir)/include/Xbae/CaptionP.h Clip.lo: $(top_srcdir)/include/Xbae/Macros.h Clip.lo: $(top_srcdir)/include/Xbae/ClipP.h Converters.lo: $(top_srcdir)/include/Xbae/MatrixP.h Converters.lo: $(top_srcdir)/include/Xbae/Converters.h Create.lo: $(top_srcdir)/include/Xbae/MatrixP.h Create.lo: $(top_srcdir)/include/Xbae/Macros.h Create.lo: $(top_srcdir)/include/Xbae/Utils.h Create.lo: $(top_srcdir)/include/Xbae/Actions.h Create.lo: $(top_srcdir)/include/Xbae/Create.h DebugUtil.lo: $(top_srcdir)/include/Xbae/Utils.h Draw.lo: $(top_srcdir)/include/Xbae/MatrixP.h Draw.lo: $(top_srcdir)/include/Xbae/Utils.h Draw.lo: $(top_srcdir)/include/Xbae/Shadow.h Draw.lo: $(top_srcdir)/include/Xbae/Draw.h Input.lo: $(top_srcdir)/include/Xbae/InputP.h Matrix.lo: $(top_srcdir)/include/Xbae/Input.h Matrix.lo: $(top_srcdir)/include/Xbae/Clip.h Matrix.lo: $(top_srcdir)/include/Xbae/MatrixP.h Matrix.lo: $(top_srcdir)/include/Xbae/Converters.h Matrix.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h Matrix.lo: $(top_srcdir)/include/Xbae/Actions.h Matrix.lo: $(top_srcdir)/include/Xbae/Create.h Matrix.lo: $(top_srcdir)/include/Xbae/Methods.h Matrix.lo: $(top_srcdir)/include/Xbae/Utils.h Matrix.lo: $(top_srcdir)/include/Xbae/Shadow.h Methods.lo: $(top_srcdir)/include/Xbae/MatrixP.h Methods.lo: $(top_srcdir)/include/Xbae/Methods.h Methods.lo: $(top_srcdir)/include/Xbae/Actions.h Methods.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h Methods.lo: $(top_srcdir)/include/Xbae/Utils.h Methods.lo: $(top_srcdir)/include/Xbae/Shadow.h Methods.lo: $(top_srcdir)/include/Xbae/Draw.h Methods.lo: $(top_srcdir)/include/Xbae/Create.h Methods.lo: $(top_srcdir)/include/Xbae/ClipP.h Methods.lo: $(top_srcdir)/include/Xbae/Input.h Public.lo: $(top_srcdir)/include/Xbae/MatrixP.h Public.lo: $(top_srcdir)/include/Xbae/Shadow.h Public.lo: $(top_srcdir)/include/Xbae/Draw.h Public.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h Public.lo: $(top_srcdir)/include/Xbae/Actions.h Public.lo: $(top_srcdir)/include/Xbae/Utils.h Public.lo: $(top_srcdir)/include/Xbae/Clip.h Public.lo: $(top_srcdir)/include/Xbae/Create.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/MatrixP.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/Draw.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/Shadow.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/Utils.h Shadow.lo: $(top_srcdir)/include/Xbae/MatrixP.h Shadow.lo: $(top_srcdir)/include/Xbae/Shadow.h Shadow.lo: $(top_srcdir)/include/Xbae/Draw.h Shadow.lo: $(top_srcdir)/include/Xbae/Utils.h Utils.lo: $(top_srcdir)/include/Xbae/MatrixP.h Utils.lo: $(top_srcdir)/include/Xbae/Macros.h Utils.lo: $(top_srcdir)/include/Xbae/Utils.h Utils.lo: $(top_srcdir)/include/Xbae/Actions.h # 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: xbae-4.60.4/src/ScrollMgr.c0000644000076400007640000003463210432427471012330 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: ScrollMgr.c,v 1.82 2006/05/16 19:59:53 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include /* for relayout */ #include /* * Callback for vertical scrollbar * SGO: changed scrolling routine for vertical scrolling. * using same approach as in xbaeScrollHorizCB. */ void xbaeScrollVertCB(Widget w, XtPointer client_data, XmScrollBarCallbackStruct * call_data) { XbaeMatrixWidget mw = (XbaeMatrixWidget) XtParent(w); int delta = VERT_ORIGIN(mw) - call_data->value; int current_row; XtVaGetValues(TextField(mw), XmNattachRow, ¤t_row, NULL); if (delta == 0) { /* Didn't scroll */ return; } /* * Adjust our vertical origin */ VERT_ORIGIN(mw) = call_data->value; /* * The textField needs to scroll along with the cells. */ if (mw->matrix.text_field_is_mapped && !IS_FIXED_ROW(mw, current_row)) { xbaePositionTextField(mw); } /* Cell widgets that are in the vertical scrolling region * need to scroll along as well... Linas */ if (mw->matrix.per_cell) { int roe, kol; for (kol = 0; kol < (mw->matrix.columns); kol++) { for (roe = mw->matrix.fixed_rows; roe < TRAILING_ROW_ORIGIN(mw); roe++) { xbaePositionCellWidget(mw, roe, kol); } } xbaeSetInitialFocus(mw); } if (!XtIsRealized((Widget) mw)) return; /* * Scroll the contents of the clips */ if (XtIsManaged(CenterClip(mw))) XbaeClipScrollVert(CenterClip(mw), mw->matrix.draw_gc, delta); if (XtIsManaged(LeftClip(mw))) XbaeClipScrollVert(LeftClip(mw), mw->matrix.draw_gc, delta); if (XtIsManaged(RightClip(mw))) XbaeClipScrollVert(RightClip(mw), mw->matrix.draw_gc, delta); if (XtIsManaged(RowLabelClip(mw))) XbaeClipScrollVert(RowLabelClip(mw), mw->matrix.draw_gc, delta); } /* * Callback for horizontal scrollbar */ /* ARGSUSED */ void xbaeScrollHorizCB(Widget w, XtPointer client_data, XmScrollBarCallbackStruct * call_data) { XbaeMatrixWidget mw = (XbaeMatrixWidget) XtParent(w); int delta = HORIZ_ORIGIN(mw) - call_data->value; int current_column; XtVaGetValues(TextField(mw), XmNattachColumn, ¤t_column, NULL); if (delta == 0) { /* Didn't scroll */ return; } /* * Adjust our horizontal origin */ HORIZ_ORIGIN(mw) = call_data->value; /* * The textField needs to scroll along with the cells. */ if (mw->matrix.text_field_is_mapped && !IS_FIXED_COLUMN(mw, current_column)) { xbaePositionTextField(mw); } /* Cell widgets that are in the horizontal scrolling region * need to scroll along as well... Linas */ if (mw->matrix.per_cell) { int roe, kol; for (roe = 0; roe < (mw->matrix.rows); roe++) { for (kol = mw->matrix.fixed_columns; kol < TRAILING_COLUMN_ORIGIN(mw); kol++) { xbaePositionCellWidget(mw, roe, kol); } } xbaeSetInitialFocus(mw); } if (!XtIsRealized((Widget) mw)) return; /* * Scroll the contents of the clips */ if (XtIsManaged(CenterClip(mw))) XbaeClipScrollHoriz(CenterClip(mw), mw->matrix.draw_gc, delta); if (XtIsManaged(TopClip(mw))) XbaeClipScrollHoriz(TopClip(mw), mw->matrix.draw_gc, delta); if (XtIsManaged(BottomClip(mw))) XbaeClipScrollHoriz(BottomClip(mw), mw->matrix.draw_gc, delta); if (XtIsManaged(ColumnLabelClip(mw))) XbaeClipScrollHoriz(ColumnLabelClip(mw), mw->matrix.draw_gc, delta); } #define OVERLAP(r1, r2) ( \ (r1).x + (r1).width > (r2).x && \ (r1).x < (r2).x + (r2).width && \ (r1).y + (r1).height > (r2).y && \ (r1).y < (r2).y + (r2).height) /* * Redraw the cells or labels of a region that are in the expose Rectangle. */ void xbaeRedrawRegion(XbaeMatrixWidget mw, XRectangle *expose, XRectangle *region) { int row, start_row, end_row; int column, start_column, end_column; assert(!mw->matrix.disable_redisplay); DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "redrawing region with expose (x,y,w,h)=(%d,%d,%d,%d)\n", expose->x, expose->y, expose->width, expose->height)); if (OVERLAP(*expose, *region)) { int xmin = Max(expose->x, region->x); int ymin = Max(expose->y, region->y); int xmax = Min(expose->x + expose->width - 1, region->x + region->width - 1); int ymax = Min(expose->y + expose->height -1, region->y + region->height -1); xbaeMatrixYtoRow(mw, &ymin, &start_row); xbaeMatrixYtoRow(mw, &ymax, &end_row); xbaeMatrixXtoColumn(mw, &xmin, &start_column); xbaeMatrixXtoColumn(mw, &xmax, &end_column); DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "redrawing region (rows,columns)=((%d,%d)-(%d,%d))\n", start_row, start_column, end_row, end_column)); if (start_row == -2 || start_column == -2 || (start_row == -1 && start_column == -1)) { /* Do nothing, there are no rows or columns to display. */ } else if (start_row == -1) { assert(end_row == -1 && start_column >= 0 && end_column >= start_column && end_column < mw->matrix.columns); for(column = start_column; column <= end_column; column++) { xbaeDrawColumnLabel(mw, column, False); } } else if (start_column == -1) { assert(end_column == -1 && start_row >= 0 && end_row >= start_row && end_row < mw->matrix.rows); for(row = start_row; row <= end_row; row++) { xbaeDrawRowLabel(mw, row, False); } } else { assert(start_row >= 0 && end_row >= start_row && end_row < mw->matrix.rows); assert(start_column >= 0 && end_column >= start_column && end_column < mw->matrix.columns); for (row = start_row; row <= end_row; row++) { for (column = start_column; column <= end_column; column++) { xbaeDrawCell(mw, row, column); } } } } } /* * Redraw the fixed labels and the totally fixed cells that are in the expose Rectangle. */ void xbaeRedrawLabelsAndFixed(XbaeMatrixWidget mw, XRectangle * expose) { /* * Set up some local variables to avoid calling too many macros */ int horiz_sb_offset = HORIZ_SB_OFFSET(mw); int vert_sb_offset = VERT_SB_OFFSET(mw); int column_label_height = COLUMN_LABEL_HEIGHT(mw); int row_label_width = ROW_LABEL_WIDTH(mw); int r, c; struct { Bool exists; int position; int size; } row_regions[] = { {mw->matrix.column_labels || mw->matrix.xmcolumn_labels, HORIZ_SB_OFFSET(mw), COLUMN_LABEL_HEIGHT(mw)}, {mw->matrix.fixed_rows, FIXED_ROW_POSITION(mw), VISIBLE_FIXED_ROW_HEIGHT(mw)}, {mw->matrix.trailing_fixed_rows, TRAILING_FIXED_ROW_POSITION(mw), VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw)} }, column_regions[] = { {mw->matrix.row_labels != NULL || mw->matrix.xmrow_labels, VERT_SB_OFFSET(mw), ROW_LABEL_WIDTH(mw)}, {mw->matrix.fixed_columns, FIXED_COLUMN_POSITION(mw), VISIBLE_FIXED_COLUMN_WIDTH(mw)}, {mw->matrix.trailing_fixed_columns, TRAILING_FIXED_COLUMN_POSITION(mw), VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw)} }; assert(!mw->matrix.disable_redisplay); DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "xbaeRedrawLabelsAndFixed() with expose (x,y)=((%d,%d)-(%d,%d))\n", expose->x, expose->y, expose->width, expose->height)); for (r = 0; r < sizeof row_regions / sizeof *row_regions; r++){ if (row_regions[r].exists) { for(c = 0; c < sizeof column_regions / sizeof *column_regions; c++){ if (column_regions[c].exists && (c != 0 || r != 0)) { XRectangle region = { column_regions[c].position, row_regions[r].position, column_regions[c].size, row_regions[r].size}; xbaeRedrawRegion(mw, expose, ®ion); } } } } /* Danny Here */ /* * Draw a shadow just inside row/column labels and around outer edge * of clip widget. */ if (mw->manager.shadow_thickness) { Dimension width, height; width = VISIBLE_NON_FIXED_WIDTH(mw) + VISIBLE_FIXED_COLUMN_WIDTH(mw) + VISIBLE_TRAILING_FIXED_COLUMN_WIDTH(mw) + 2 * mw->manager.shadow_thickness; height = VISIBLE_NON_FIXED_HEIGHT(mw) + VISIBLE_FIXED_ROW_HEIGHT(mw) + VISIBLE_TRAILING_FIXED_ROW_HEIGHT(mw) + 2 * mw->manager.shadow_thickness; DRAW_SHADOW(XtDisplay(mw), XtWindow(mw), "win", mw->manager.top_shadow_GC, mw->manager.bottom_shadow_GC, mw->manager.shadow_thickness, row_label_width + vert_sb_offset, column_label_height + horiz_sb_offset, width, height, mw->matrix.shadow_type); } } /* * Redraws labels and cells on rows between rs and re and columns between cs and ce */ void xbaeRedrawAll(XbaeMatrixWidget mw, int rs, int cs, int re, int ce) { int c; XRectangle rect; Widget clips[] = { CenterClip(mw), TopClip(mw), LeftClip(mw), RightClip(mw), BottomClip(mw), RowLabelClip(mw), ColumnLabelClip(mw) }; assert(!mw->matrix.disable_redisplay && XtIsRealized((Widget) mw)); xbaeSaneRectangle(mw, &rect, rs, cs, re, ce); for (c = 0; c < sizeof clips / sizeof *clips; c++) { if (XtIsManaged(clips[c])) { XRectangle region = { clips[c]->core.x, clips[c]->core.y, clips[c]->core.width, clips[c]->core.height}; xbaeRedrawRegion(mw, &rect, ®ion); } } xbaeRedrawLabelsAndFixed(mw, &rect); } /* * Redraws the whole matrix */ void xbaeRefresh(XbaeMatrixWidget mw, Boolean relayout) { /* * Don't respond to exposures. */ mw->matrix.disable_redisplay++; /* * Relayout. */ if (relayout) { xbaeRelayout(mw); } /* * Flush pending expose events. */ XmUpdateDisplay((Widget) mw); /* * Respond to exposures. */ mw->matrix.disable_redisplay--; XClearArea(XtDisplay((Widget) mw), XtWindow((Widget) mw), 0, 0, 0, 0, True); if (XtIsManaged(CenterClip(mw))) XClearArea(XtDisplay(mw), XtWindow(CenterClip(mw)), 0, 0, 0, 0, True); if (XtIsManaged(TopClip(mw))) XClearArea(XtDisplay(mw), XtWindow(TopClip(mw)), 0, 0, 0, 0, True); if (XtIsManaged(LeftClip(mw))) XClearArea(XtDisplay(mw), XtWindow(LeftClip(mw)), 0, 0, 0, 0, True); if (XtIsManaged(RightClip(mw))) XClearArea(XtDisplay(mw), XtWindow(RightClip(mw)), 0, 0, 0, 0, True); if (XtIsManaged(BottomClip(mw))) XClearArea(XtDisplay(mw), XtWindow(BottomClip(mw)), 0, 0, 0, 0, True); if (XtIsManaged(RowLabelClip(mw))) XClearArea(XtDisplay(mw), XtWindow(RowLabelClip(mw)), 0, 0, 0, 0, True); if (XtIsManaged(ColumnLabelClip(mw))) XClearArea(XtDisplay(mw), XtWindow(ColumnLabelClip(mw)), 0, 0, 0, 0, True); } xbae-4.60.4/src/XbaeMatrix.30000664000076400007640000041562510436577376012435 00000000000000'\" t .\" $Header: /cvsroot/xbae/Xbae/src/XbaeMatrix.3.in,v 1.28 2005/08/04 13:34:38 tobiasoed Exp $ .\" .\" .\" Don't touch the macros here - they appear to do some magic to make the .LI .\" lines display its parameter as a heading, instead of just a bullet. .\" .. .de cI .IP \fI\\$1\fR 10 .. .de LI .IP \fB\\$1\fR 5 .. .\" .\" End of those lines. .\" .\" Some macro definitions for simplifying this manual page .\" .de xcb1 .B \\$1(\|) .PP .RS .. .de xcb2 .sp .. .de xcb3 .sp .ne 6 .RE .. .\" .B XbaeMatrixSetCellWidget(\|) .\" .PP .\" .RS .\" .TS .\" l s s .\" l l li . .\" void XbaeMatrixSetCellWidget(w, row, column, widget) .\" Widget w; .\" int row; .\" int column; .\" Widget widget; .\" .TE .\" .sp .\" .B XbaeMatrixSetCellWidget(\|) .\" is a function to attach a widget to a matrix cell. .\" The cell is selected by specifying its .\" .B row .\" and .\" .B column , .\" .B widget .\" is the cell widget to be associated with that cell. .\" XbaeMatrix will manage the cell widget's position and size so it .\" is displayed inside the cell at all times, including when scrolling. .\" .PP .\" Using a NULL .\" .B widget .\" removes the link between a widget and its cell. .\" Only one widget can be in a cell, .\" a widget should also be in only one cell at a time. .\" .sp .\" .ne 6 .\" .RE .\" .\" End of those lines. .\" .TH XbaeMatrix 3x "2006-05-29" "4.60.4" "xbae" .SH NAME XbaeMatrix \- The Bellcore Application Environment (BAE) XbaeMatrix widget class. .SH SYNOPSIS #include .SH DESCRIPTION .B XbaeMatrix presents an editable array of string data to the user in a scrollable grid-like format similar to a spreadsheet. Non editable pixmaps can also be displayed on the matrix. The rows and columns of the Matrix may optionally be labeled. Also, a number of fixed leading or trailing rows or columns may be specified - these behave similarly to the labels. While .B XbaeMatrix looks and acts like a grid of .B XmText widgets, it actually contains only one .BR XmText . This means that .B XbaeMatrix widgets with hundreds or thousands of rows have much less overhead than they would if they used an .B XmText for each cell. .PP Clicking on a cell with .B Button1 will edit the cell. While a cell is being edited, .B Tab and .B Shift-Tab will edit the cell to the right or left respectively. The .B osfUp and .B osfDown keys will edit the cell above or below. .B Ctrl-Tab and .B Shift-Ctrl-Tab will traverse out of the Matrix and into the next or previous tab groups. .PP The .B osfCancel key will cancel any edits made to a cell. The .B osfActivate key will commit any edits made to a cell and store them in the Matrix. When traversing from another tab group into the Matrix, the focus will go to whichever cell is currently being edited. If no cells are being edited, then the upper left most visible non-fixed cell will be edited. .PP The column sizes may be dynamically resized by pressing the Shift-Button2 combination when over a column boundary, similar to the behaviour of some popular spreadsheets. After a column has been resized in this manner, the .B XbaeMatrix calls the callbacks on the .B XmNresizeColumnCallback callback list for post processing. .PP If the Matrix is resized until it is too small to display all of the cells in a given dimension, then it will display a ScrollBar for that dimension. The horizontal ScrollBar will scroll the cells and column labels, but not the row labels, fixed columns or trailing fixed columns. The vertical ScrollBar will scroll the cells and row labels, but not the column labels, fixed rows or trailing fixed rows. .PP For the application programmer, .B XbaeMatrix provides callbacks to assist in data validation. The callbacks on the .B XmNmodifyVerifyCallback callback list are called before text is inserted into, or deleted from, a cell. This callback list can be used to force user input to match a certain pattern (e.g. a date format). Similarly, the .B XmNvalueChangedCallback is called after text is inserted or deleted. .PP When a cell is edited (by clicking on it or tabbing into it), the .B XmNleaveCellCallback callbacks are called for the previous cell being edited, if any. The application can verify the data entered in that cell and disallow editing of the new cell if the data is invalid. If the data was valid, then the .B XmNenterCellCallback callbacks for the new cell are called. These callbacks can be used to specify the editability of the new cell. .PP The .B XmNtraverseCellCallback callbacks are also called when the user attempts to edit a new cell and when the matrix gains or looses focus. This allows the application to override the default traversal behavior of .BR XbaeMatrix . .PP The .B XmNdefaultActionCallback is provided to allow a double click action in a cell to perform some function. .PP Motif's Drag and Drop functionality can be achieved via the .BR XmNprocessDragCallback . .PP For large amounts of data, the overhead of assigning data to the widget can be avoided using the .BR XmNdrawCellCallback . This callback also allows user defined pixmaps to be placed in a certain cell. When using this callback, data for string fields can be written back to the application by using the .BR XmNwriteCellCallback . .SH "Classes" .B XbaeMatrix inherits behavior and resources from the .BR Core , .BR Composite , .BR Constraint , and .B XmManager widget classes. .br The class pointer is .BR xbaeMatrixWidgetClass . .br The class name is .BR XbaeMatrix . .SH "New Resources" The following table lists the new resources defined by .BR XbaeMatrix . The codes in the ``Access'' column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . XbaeMatrix Resource Set _ Name Class Type Default Access = XmNallowColumnResize XmCAllowResize Boolean True CSG _ XmNallowRowResize XmCAllowResize Boolean True CSG _ XmNaltRowCount XmCAltRowCount int 1 CSG _ XmNboldLabels XmCBoldLabels Boolean False CSG _ XmNbuttonLabels XmCButtonLabels Boolean False CSG _ XmNbuttonLabelBackground XmCColor Pixel dynamic CSG _ XmNcalcCursorPosition XmCCalcCursorPosition Boolean False CSG _ XmNcellBackgrounds XmCColors PixelTable NULL CSG _ XmNcellHighlightThickness XmCHighlightThickness Dimension dynamic CSG _ XmNcellMarginHeight XmCMarginHeight Dimension dynamic CSG _ XmNcellMarginWidth XmCMarginWidth Dimension dynamic CSG _ XmNcellShadowThickness XmCShadowThickness Dimension 2 CSG _ XmNcellShadowType XmCShadowType unsigned char XmSHADOW_OUT CSG _ XmNcellShadowTypes XmCCellShadowTypes unsigned char ** NULL CSG _ XmNcellUserData XmCCellUserData XtPointer ** NULL CSG _ XmNclipWindow XmCClipWindow Widget NULL G _ XmNcells XmCCells CellTable NULL CSG _ XmNcolors XmCColors PixelTable NULL CSG _ XmNcolumnAlignments XmCAlignments AlignmentArray dynamic CSG _ XmNcolumnButtonLabels XmCButtonLabels BooleanArray NULL CSG _ XmNcolumnLabelAlignments XmCAlignments AlignmentArray dynamic CSG _ XmNcolumnLabelColor XmCColor Pixel dynamic CSG _ XmNcolumnLabels XmCLabels StringArray NULL CSG _ XmNcolumnMaxLengths XmCColumnMaxLengths MaxLengthArray NULL CSG _ XmNcolumnShadowTypes XmCShadowTypes unsigned char * NULL CSG _ XmNcolumnUserData XmCUserDatas XtPointer * NULL CSG _ XmNcolumnWidthInPixels XmCColumnWidthInPixels Boolean False CSG _ XmNcolumnWidths XmCColumnWidths WidthArray NULL CSG _ XmNcolumns XmCColumns int 0 CSG _ XmNdefaultActionCallback XmCCallback XtCallbackList NULL CSG _ XmNdoubleClickInterval XmCDoubleClickInterval int dynamic CSG _ XmNdrawCellCallback XmCCallback Callback NULL CSG _ XmNenterCellCallback XmCCallback Callback NULL CSG _ XmNevenRowBackground XmCBackground Pixel dynamic CSG _ XmNfill XmCFill Boolean False CSG _ XmNhorzFill XmCHorzFill Boolean False CSG _ XmNvertFill XmCVertFill Boolean False CSG _ XmNfixedColumns XmCFixedColumns Dimension 0 CSG _ XmNfixedRows XmCFixedRows Dimension 0 CSG _ XmNfontList XmCFontList FontList fixed CSG _ XmNgridLineColor XmCColor Pixel dynamic CSG _ XmNgridType XmCGridType GridType XmGRID_CELL_LINE CSG _ .TE .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . XbaeMatrix Resource Set (continued) _ Name Class Type Default Access = XmNhighlightedCells XmCHighlightedCells HighlightTable * dynamic CSG _ XmNhorizontalScrollBar XmCHorizontalScrollBar Widget NULL G _ XmNhorizontalScrollBarDisplayPolicy XmCMatrixScrollBarDisplayPolicy unsigned char XmDISPLAY_AS_NEEDED CSG _ XmNlabelActivateCallback XmCCallback Callback NULL CSG _ XmNlabelFont XmCFontList FontList dynamic CSG _ XmNleaveCellCallback XmCCallback Callback NULL CSG _ XmNleftColumn XmCLeftColumn int 0 CSG _ XmNmodifyVerifyCallback XmCCallback Callback NULL CSG _ XmNmultiLineCell XmCMultiLineCell Boolean False CSG _ XmNnonFixedDetachedLeft XmCNonFixedDetachedLeft Boolean False CSG _ XmNnonFixedDetachedTop XmCNonFixedDetachedTop Boolean False CSG _ XmNoddRowBackground XmCBackground Pixel dynamic CSG _ XmNprocessDragCallback XmCCallback Callback NULL CSG _ XmNrenderTable XmCRenderTable RenderTable NULL CSG _ XmNresizeCallback XmCCallback Callback NULL CSG _ XmNresizeColumnCallback XmCCallback Callback NULL CSG _ XmNreverseSelect XmCReverseSelect Boolean False CSG _ XmNrowButtonLabels XmCButtonLabels BooleanArray NULL CSG _ XmNrowHeightInPixels XmCRowHeightInPixels Boolean True CSG _ XmNrowHeights XmCColumnWidths WidthArray NULL CSG _ XmNrowLabelAlignment XmCAlignment Alignment XmALIGNMENT_END CSG _ XmNrowLabelColor XmCColor Pixel dynamic CSG _ XmNrowLabelWidth XmCRowLabelWidth Short dynamic CSG _ XmNrowLabels XmCLabels StringArray NULL CSG _ XmNrowShadowTypes XmCShadowTypes unsigned char * NULL CSG _ XmNrowUserData XmCUserDatas XtPointer * NULL CSG _ XmNrows XmCRows int 0 CSG _ XmNscrollBarPlacement XmCScrollBarPlacement unsigned char XmBOTTOM_RIGHT CSG _ XmNselectCellCallback XmCCallback Callback NULL CSG _ XmNselectScrollVisible XmCSelectScrollVisible Boolean True CSG _ XmNselectedBackground XmCColor Pixel dynamic CSG _ XmNselectedCells XmCSelectedCells BooleanTable dynamic CSG _ XmNselectedForeground XmCColor Pixel dynamic CSG _ XmNshadowType XmCShadowType unsigned char XmSHADOW_IN CSG _ XmNshowArrows XmCShowArrows Boolean False CSG _ XmNspace XmCSpace Dimension dynamic CSG _ XmNtextBackground XmCBackground Pixel XmUNSPECIFIED_PIXEL CSG _ XmNtextBackgroundIsCell XmCTextBackgroundIsCell Boolean False CSG _ XmNtextField XmCTextField Widget NULL G _ XmNtextShadowThickness XmCTextShadowThickness Dimension 0 CSG _ XmNtextTranslations XmCTranslations TranslationTable dynamic CSG _ XmNtopRow XmCTopRow int 0 CSG _ XmNtrackcellCallback XmCCallback Callback NULL CSG _ XmNtrailingAttachedBottom XmCTrailingAttachedBottom Boolean False CSG _ XmNtrailingAttachedRight XmCTrailingAttachedRight Boolean False CSG _ XmNtrailingFixedColumns XmCTrailingFixedColumns Dimension 0 CSG _ XmNtrailingFixedRows XmCTrailingFixedRows Dimension 0 CSG _ XmNtraverseCellCallback XmCCallback Callback NULL CSG _ XmNtraverseFixedCells XmCTraverseFixedCells Boolean False CSG _ .TE .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . XbaeMatrix Resource Set (continued) _ Name Class Type Default Access = XmNuseXbaeInput XmCUseXbaeInput Boolean False CSG _ XmNvalueChangedCallback XmCCallback Callback NULL CSG _ XmNverticalScrollBar XmCVerticalScrollBar Widget NULL G _ XmNverticalScrollBarDisplayPolicy XmCMatrixScrollBarDisplayPolicy unsigned char XmDISPLAY_AS_NEEDED CSG _ XmNvisibleColumns XmCVisibleColumns Dimension 0 CSG _ XmNvisibleRows XmCVisibleRows Dimension 0 CSG _ XmNwrapType XmCWrapType Boolean XbaeWrapNone CSG _ XmNwriteCellCallback XmCCallback Callback NULL CSG _ XmNxmColumnLabels XmCXmLabels XmString * NULL CSG _ XmNxmRowLabels XmCXmLabels XmString * NULL CSG _ .TE .PP This resource cannot be specified in a resource file .PP .LI XmNallowColumnResize If True, allows the columns to be dynamically resized via the ResizeColumns(\|) action. The default value is to allow column resizing. .LI XmNallowRowResize If True, allows the rows to be dynamically resized via the ResizeRows(\|) action. The default value is to allow row resizing. .LI XmNaltRowCount Specifies the number of rows to use for each of the .B XmNevenRowBackground and .B XmNoddRowBackround colors. This resource is ignored if .B XmNevenRowBackground and .B XmNoddRowBackround are not used. .LI XmNboldLabels Overstrikes the row and column labels to create a bold font appearance when True. .LI XmNbuttonLabels When set to True, the labels will be drawn with a shadow around them similar to an .B XmPushButton widget. A ButtonPress event generated on the labels, when .B XmNbuttonLabels is True will cause the label to reverse the shadow and take on a pushed in appearance. A ButtonRelease event on the same label will invoke callbacks on the .BR XmNlabelActivateCallback , list. The default value is False. .LI XmNbuttonLabelBackground Specifies a Pixel value in which to draw the .BR XmNbuttonLabels . .LI XmNcalcCursorPosition If set to True, the insertion position on the text field is calculated with respect to where the pointer was clicked in the cell. The default value is False. The insertion position will be overridden if the .I position member of the .B XbaeEnterCellCallbackStruct is set to a valid position. .LI XmNcellBackgrounds Points to an array of pointers to rows. Each row is an array of Pixel values, one for each column in that row. This data structure is the same as that for .BR XmNcells , except each entry is a Pixel instead of a String. The background of a cell will be drawn in the color specified for that cell. If .B XmNcellBackgrounds is .SM NULL, backgrounds will be drawn using the color specified by .BR XmNbackground . This resource is copied. .B XmNcellBackgrounds may be specified in a resource file but due to the two dimensional nature of the .B XbaeMatrix widget, it must be done by terminating each line with a \\n character. If the .B XbaeMatrix widget had .B XmNrows set to 5 and .B XmNcolumns set to 5, .B XmNcellBackgrounds would be specified as: .sp \fC .TS l l . *mw.cellBackgrounds: blue, white, blue, white, blue\\n\\ white, blue, white, blue, white\\n\\ blue, white, blue, white, blue\\n\\ white, blue, white, blue, white\\n\\ blue, white, blue, white, blue\\n .TE \fR Care must be taken when specifying these values in a resource file as an incorrect format can produce undesirable results. .LI XmNcellHighlightThickness Specifies the .B XmNhighlightThickness resource of the .B XmText cell edit widget. This resource is also used to compute the size of each cell. See the description of .B XmNhighlightThickness in .BR XmText(3X) . .LI XmNcellMarginHeight Specifies the .B XmNmarginHeight resource of the .B XmText widget. This resource is also used to compute the size of each cell. See the description of .B XmNmarginHeight in .BR XmText(3X) . .LI XmNcellMarginWidth Specifies the .B XmNmarginWidth resource of the .B XmText cell edit widget. This resource is also used to compute the size of each cell. See the description of .B XmNmarginWidth in .BR XmText(3X) . .LI XmNcellShadowThickness Specifies the .B XmNshadowThickness resource of the .B XmText cell edit widget. This resource is also used to compute the size of each cell. See the description of .B XmNshadowThickness in .BR XmText(3X) . .LI XmNcellShadowType Specifies the type of shadow drawn around each cell. Possible values for this resource are .BR XmSHADOW_OUT , .BR XmSHADOW_IN , .BR XmSHADOW_ETCHED_OUT , and .BR XmSHADOW_ETCHED_IN . The default shadow type is .BR XmSHADOW_OUT . .LI XmNcellShadowTypes Specifies on a per cell basis, the .BR XmNcellShadowType . Values for the resource are the same as for .BR XmNcellShadowType . This resource is copied. .LI XmNcellUserData Points to an array of pointers to individual user defined data areas associated with each cell. The data should be set using .B XbaeMatrixSetCellUserData(\|) and retrieved using .BR XbaeMatrixGetCellUserData(\|) . This resource cannot be specified in a resource file and is copied. .LI XmNcells Points to an array of pointers to rows. Each row is an array of String, one for each column in that row. For example, the cells for a 2x3 Matrix could be set up as follows: .sp \fC .TS tab(^); l s s s l l l l . String rows[2][3] = { ^"00",^"01",^"02", ^"10",^"11",^"12" }; .TE .TS l l l l l l. String *cells[2]; cells[0] = &rows[0][0]; cells[1] = &rows[1][0]; .TE \fR .sp Now cells could be used as the .B XmNcells resource. If .B XmNcells is .SM NULL, .B XbaeMatrix will .B not generate an internal table of empty Strings. This implies that if .B XmNcells is .BR NULL , no cells have been set. This resource is copied. See the discussion in .B XmNcellBackgrounds for how to specify .B XmNcells in a resource file. .LI XmNclipWindow The widget ID of the clip window. The clip window is the widget that contains the non-fixed region of cells. This resource can not be set to a new value. .LI XmNcolors Points to an array of pointers to rows. Each row is an array of Pixel values, one for each column in that row. This data structure is the same as that for .BR XmNcells , except each entry is a Pixel instead of a String. The text in a cell will be drawn in the color specified for that cell. If .B XmNcolors is .SM NULL, text will be drawn using the color specified by .BR XmNforeground . This resource is copied. See the discussion in .B XmNcellBackgrounds for how to specify .B XmNcolors in a resource file. .LI XmNcolumnAlignments Points to an array of alignments (unsigned char), one for each column. Each element can be one of .BR XmALIGNMENT_BEGINNING , .BR XmALIGNMENT_CENTER " or " XmALIGNMENT_END . This specifies the alignment of the text or pixmap in each cell of that column. See the description of .B XmNalignment for .BR XmLabel(3X) . If .B XmNcolumnAlignments is .SM NULL, each column will default to .BR XmALIGNMENT_BEGINNING . This resource is copied. .LI XmNcolumnButtonLabels An array of Booleans that tells the .B XbaeMatrix which column labels should be drawn as a button. Each Boolean can be specified as a Boolean string or integer. In order to use this resource, .B XmNbuttonLabels should be set to False. .LI XmNcolumnLabelAlignments Points to an array of alignments (unsigned char), one for each column label. Each element can be one of .B XmALIGNMENT_BEGINNING, .BR XmALIGNMENT_CENTER " or " XmALIGNMENT_END . This specifies the alignment of the text of each column label. See the description of .B XmNalignment for .BR XmLabel(3X) . If .B XmNcolumnLabelAlignments is .SM NULL, each column label will default to .BR XmALIGNMENT_BEGINNING . This resource is copied. .LI XmNcolumnLabelColor Specifies a Pixel value in which to draw the .BR XmNcolumnLabels . .LI XmNcolumnLabels Points to an array of Strings to be drawn above each column. Each String may have embedded newline characters, in which case the label will be drawn on multiple lines. If there is a .B XmNxmColumnLabels defined for this coluumn it will be displayed in place of the .B XmNcolumnLabels. If .B XmNcolumnLabels and .B XmNxmColumnLabels are .SM NULL, no labels will be drawn. This resource is copied. .LI XmNcolumnMaxLengths Points to an array of int, one for each column. These specify the maximum length of a String which can be entered in the cells in that column. See the description of the .B XmText(3X) XmNmaxLength resource. If .B XmNcolumnMaxLengths is .SM NULL or an element of the array is equal to 0, then the corresponding width from .B XmNcolumnWidths is used. This resource is copied. .LI XmNcolumnShadowTypes Specifies on a per column basis, the .BR XmNcellShadowType . Values for the resource are the same as for .BR XmNcellShadowType . This resource is copied. .LI XmNcolumnUserData Points to a user defined data area associated with a particular column. The data should be set using .B XbaeMatrixSetColumnUserData(\|) and retrieved using .BR XbaeMatrixGetColumnUserData(\|) . This resource cannot be specified in a resource file. .LI XmNcolumnWidthInPixels Specifies wether the elements of .B XmNcolumnWidths are measured in pixels or characters. .LI XmNcolumnWidths Points to an array of short, one for each column. These specify the visible width of the cells in each column. See the description of the .B XmText(3X) XmNcolumns resource. This resource is copied. .LI XmNcolumns Specifies the total number of columns of cells. .B XmNcolumns must be at least one. If the number of columns is changed via XtSetValues, then .B XmNcolumnMaxLengths must change or be .SM NULL, .B XmNcolumnLabels must change or be .SM NULL, .B XmNcolumnAlignments must change or be .SM NULL and .B XmNcolumnLabelAlignments must change or be .SM NULL. The preferred way to dynamically change the number of columns is to use .BR XbaeMatrixAddColumns(\|) " or " XbaeMatrixDeleteColumns(\|) . .LI XmNdefaultActionCallback Specifies a list of callbacks to be called when a double click occurs in a cell. A pointer to an .B XbaeMatrixDefaultActionCallbackStruct is passed to the callbacks. Events are reported to the cell in which the double click occurs regardless of whether or not a callback exists. This callback is called by the DefaultAction(\|) action and is NULL by default. The .B XmNdefaultActionCallback is ideal for popping up a dialog or other window when a double click occurs. .LI XmNdoubleClickInterval Specifies the amount of time between mouse clicks before it is considered a double click. A double click is defined to be the time between the realease of the mouse button and subsequent press in the same cell. The default value is inherited from the display. .LI XmNdrawCellCallback Specifies a list of callbacks to be called when a cell needs to be drawn. A pointer to an .B XbaeMatrixDrawCellCallbackStruct is passed to the callbacks. The application can specify what to put in a cell by modifying the callback struct's data fields. When the application callback returns to the widget code, the type field will determine what the widget draws on the screen. If the value is .BR XbaeString , then the regular string drawing function for the widget will be called with the value the applicaton assigned to the string field in the struct. If the value is .BR XbaeStringFree the widget also calls .BR XtFree on the string when it is not needed anymore. Else, if the value is .BR XbaePixmap , the widget will do an .BR XCopyPlane(\|) , in the case of a single plane bitmap, or .BR XCopyArea(\|) , in the case of a color pixmap. The width and height of cell is passed in the struct so the application can know how big to make the pixmap. In no case will a copy of the string or the pixmap value be made. The widget also uses the .B XmNcolumnAlignments resource to determine the horizontal alignment of the Pixmap. To have an editable array of data when the .B XmNdrawCellCallback is used and the cell is of type XbaeString or XbaeStringFree, use the .BR XmNwriteCellCallback . .LI XmNenterCellCallback Specifies a list of callbacks to be called immediately before a cell is to be edited. This callback list is called by the EditCell(\|) action. A pointer to an .B XbaeMatrixEnterCellCallbackStruct is passed to the callbacks. The application can specify the editability of specific cells using this callback list as well as specifying configuration options for the .BR XmText . .LI XmNevenRowBackground Specifies a background cell Pixel value to use on even rows. This allows the matrix to look like computer paper. For wider bands of color, increase the size of .BR XmNaltRowCount . .LI XmNfill If True, controls whether the matrix should fill all of its available space when additional space if available, or if it should simply size itself as large as necessary, regardless of any additonal available space. .LI XmNhorzFill If True, controls whether the matrix should highlight available space on the right of the selected cell(s) when the selected cell(s) are in the last column of the matrix. .LI XmNvertFill If True, controls whether the matrix should highlight available space below the selected cell(s) when the selected cell(s) are in the last row of the Matrix. .LI XmNfixedColumns Specifies the number of leading columns (starting from the left column) which should not be horizontally scrollable. .B XmNfixedColumns must be less than .BR XmNcolumns - XmNtrailingFixedColumns . Cells in fixed columns are not editable unless .B XmNtraverseFixedCells is set to True. .LI XmNfixedRows Specifies the number of leading rows (starting from the top row) which should not be vertically scrollable. .B XmNfixedRows must be less than .BR XmNrows - XmNtrailingFixedRows . Cells in fixed rows are not editable unless .B XmNtraverseFixedCells is set to True. .LI XmNfontList If the value of .B XmNrenderTable is NULL this resource specifies the font list to be used for the text displayed in the cells and the .B XmText cell edit widget. See .B XmFontListCreate(3X) to create a font list. This resource is copied. The preferred way of specifying a font for the table is in a resource file. When drawing a cell, the matrix uses the first entry with the tag .B XmFONTLIST_DEFAULT_TAG if no tag has been set on the cell using .B XbaeMatrixSetCellTag. If a tag has been set on the cell the first entry with a matching tag is used. .LI XmNgridLineColor Specifies the color in which the grid line should be drawn if .B XmNgridType is set to .BR XmGRID_CELL_LINE , .B XmGRID_ROW_LINE or .BR XmGRID_COLUMN_LINE . The default is that of .BR XmNforeground . .LI XmNgridType Sets the way the matrix grid is drawn. The grid types available include .BR XmGRID_NONE , .BR XmGRID_CELL_LINE , .BR XmGRID_CELL_SHADOW , .BR XmGRID_ROW_LINE , .BR XmGRID_ROW_SHADOW , .B XmGRID_COLUMN_LINE and .BR XmGRID_COLUMN_SHADOW . All of the grid types vary the way the shadow or line is drawn around the cell. .BR XmGRID_ROW_LINE , .BR XmGRID_ROW_SHADOW , .BR XmGRID_COLUMN_LINE , and .B XmGRID_COLUMN_SHADOW only draw a border around the rows and columns, giving a more tabular rather than spreadsheet appearance. The default is .B XmGRID_CELL_LINE which draws a solid line around the cells. .LI XmNhighlightedCells Points to an array of pointers to rows. Each row is an array of unsigned char values, one for each column in that row. This data structure is the same as that for .BR XmNcells , except each entry is an unsigned char instead of a String. Each entry in the array will have a value that is either .BR HighlightNone , .BR HighlightCell , .BR HighlightRow , .BR HighlightColumn , .B HighlightOther or the bitwise OR of those values, depending on the value of .B XmNgridType and which call was used to highlight the cell. A cell will be drawn as highlighted if the corresponding unsigned char does not have the value .BR HighlightNone . If .B XmNhighlightedCells is .SM NULL, .B XbaeMatrix then no cells have been highlighted. This resource is copied, and cannot be specified in a resource file. .LI XmNhorizontalScrollBar The widget ID of the horizontal .BR XmScrollBar . This resource exists only for those applications that need to tie another scrollbar to the matrix's for synchronized scrolling. This resource can not be set to a new value. .LI XmNhorizontalScrollBarDisplayPolicy Determines when to display a horizontal scrollbar in the matrix. Possible values are .BR XmDISPLAY_NONE , which makes the matrix never display the scrollbar, .BR XmDISPLAY_AS_NEEDED , which makes the matrix display the scrollbar when the list is too large, and .BR XmDISPLAY_STATIC , which makes the matrix always display the scrollbar. .LI XmNlabelFont If the value of .B XmNrenderTable is NULL this resource specifies the font list to be used for the text displayed in row and column labels. If .B XmNlabelFont is not specified, the value of .B XmNfontList is used for the label fonts. See .B XmFontListCreate(3X) to create a font list. This resource is copied. The preferred way of specifying a font for the labels is in a resource file. When drawing a label, the matrix uses the first entry with the tag .B XmFONTLIST_DEFAULT_TAG. .LI XmNlabelActivateCallback Specifies a list of callbacks to be called after a button label has been pressed. A pointer to an .B XbaeMatrixLabelActivateCallbackStruct is passed to the callbacks on this list. .LI XmNleaveCellCallback Specifies a list of callbacks to be called immediately after a cell has been edited. This callback list is called by the EditCell(\|) and CommitEdit(\|) actions. A pointer to an .B XbaeMatrixLeaveCellCallbackStruct is passed to the callbacks. The application can perform cell specific data checks using this callback list. .LI XmNleftColumn Allows the programmer to specify the first non fixed column to appear on the leftmost side of the matrix. This resource compliments the .B XmNtopRow resource. See the discussion of .B XmNtopRow for more details. .LI XmNmodifyVerifyCallback Specifies a list of callbacks to be called before text is deleted from or inserted into the .B XmText cell edit widget. A pointer to an .B XbaeMatrixModifyVerifyCallbackStruct is passed to the callbacks. See the description of the .B XmText(3X) XmNmodifyVerifyCallback resource. .LI XmNmultiLineCell is a boolean (default False) which specifies whether the matrix displays more than one line of text in a cell, when appropriate. .LI XmNnonFixedDetachedLeft Indicated that empty space should be displayed after the fixed rows. This resource only has effect when .B XmNfill is true and .B XmNfixedRows is greater than zero. .LI XmNnonFixedDetachedTop Indicated that empty space should be displayed after the fixed columns. This resource only has effect when .B XmNfill is true and .B XmNfixedColumns is greater than zero. .LI XmNoddRowBackground Specifies a background cell color to use on odd rows. This allows the matrix to look like computer paper. For wider bands of color, increase the size of .BR XmNaltRowCount . .LI XmNprocessDragCallback Specifies a list of callbacks to be called from the ProcessDrag(\|) action A pointer to an .B XbaeMatrixProcessDragCallbackStruct will be passed to the callbacks. The application can use this callback list to perform particular processing during a drag. .LI XmNrenderTable Specifies the render table used to derive a font set or a font to draw the text displayed in the cells, the .B XmText cell edit widget and the labels. When drawing a cell, the matrix uses the first entry with the tag .B _MOTIF_DEFAULT_LOCALE if no tag has been set on the cell using .B XbaeMatrixSetCellTag. If a tag has been set on the cell the first entry with a matching tag is used. When drawing a label, the matrix uses the first entry with the tag "labels". If there is no such entry the first entry with the tag .B _MOTIF_DEFAULT_LOCALE is used. .LI XmNresizeCallback Specifies a list of callbacks to be called when the matrix is resized. .LI XmNresizeColumnCallback Specifies a list of callbacks to be called when a column is dynamically resized by the user. .LI XmNreverseSelect Overrides the default .B XmNselectedForeground and .B XmNselectedBackground and draws a selected cell in the colours specified by .B XmNcellBackgrounds and .B XmNcolors for the particular cell. If these values are not set then the default colours will be used. .LI XmNrowButtonLabels An array of Booleans that tells the .B XbaeMatrix which row labels should be drawn as a button. Each Boolean can be specified as a Boolean string or integer. In order to use this resource, .B XmNbuttonLabels should be set to False. .LI XmNrowLabelAlignment Specifies the alignment of the row labels. It can be one of .BR XmALIGNMENT_BEGINNING ", " XmALIGNMENT_CENTER " or " XmALIGNMENT_END . See the description of .B XmNalignment for .BR XmLabel(3X) . .B XmNrowLabelAlignment defaults to .BR XmALIGNMENT_END . .LI XmNrowLabelColor Specifies a Pixel value in which to draw the .BR XmNrowLabels . .LI XmNrowLabelWidth Specifies the width of the row labels. .B XmNrowLabelWidth defaults to the width of the longest row label. .LI XmNrowLabels Points to an array of Strings to be drawn to the left of each row. Each String may have embedded newline characters, in which case the label will be drawn on multiple lines. If there is a .B XmNxmRowLabels defined for this row it will be displayed in place of the .B XmNrowLabels. If .B XmNrowLabels and .B XmNxmRowLabels are .SM NULL, no labels will be drawn. This resource is copied. .LI XmNrowHeightInPixels Specifies wether the elements of .B XmNrowHeights are measured in pixels or lines. .LI XmNrowHeights Points to an array of short, one for each row. These specify the visible height of the cells in each row. This resource is copied. .LI XmNrowShadowTypes Specifies on a per row basis, the .BR XmNcellShadowType . Values for the resource are the same as for .BR XmNcellShadowType . This resource is copied. .LI XmNrowUserData Points to a user defined data area associated with a particular row. The data should be set using .B XbaeMatrixSetRowUserData(\|) and retrieved using .BR XbaeMatrixGetRowUserData(\|) . This resource cannot be specified in a resource file. .LI XmNrows Specifies the total number of rows of cells. .B XmNrows must be at least one. If the number of rows is changed via XtSetValues, then .B XmNrowLabels must change or be .SM NULL. The preferred way to dynamically change the number of rows is to use .BR XbaeMatrixAddRows(\|) " or " XbaeMatrixDeleteRows(\|) . .LI XmNscrollBarPlacement Determines where the scrollbars will be drawn. See the discussion of .B XmNscrollBarPlacement in .B XmScrolledWindow(3) for a complete discussion on this resource. .LI XmNselectCellCallback Specifies a list of callbacks to be called from the SelectCell(\|) action. A pointer to an .B XbaeMatrixSelectCellCallbackStruct will be passed to the callbacks. The application can use this callback list to perform selection/deselection of cells using the provided widget methods. .LI XmNselectScrollVisible Specifies whether the matrix will scroll to make the selected cell visible. This flag is only checked when cells are selected programmatically, as when the user selects a cell with the mouse, it will already be visible. .LI XmNselectedBackground Allows the background of selected cells in .B XmNselectedCells to be specified. .LI XmNselectedCells Points to an array of pointers to rows. Each row is an array of Boolean values, one for each column in that row. This data structure is the same as that for .BR XmNcells , except each entry is a Boolean instead of a String. A cell will be drawn as selected if the corresponding Boolean is True. If .B XmNselectedCells is .SM NULL, then no cells have been selected. This resource is copied. It cannot be specified in a resource file. .LI XmNselectedForeground Allows the foreground of selected cells in .B XmNselectedCells to be specified. .LI XmNshadowType Specifies the type of shadow drawn around the border of the matrix. Possible values for this resource are .BR XmSHADOW_OUT , .BR XmSHADOW_IN , .BR XmSHADOW_ETCHED_OUT , and .BR XmSHADOW_ETCHED_IN . The default shadow type is XmSHADOW_OUT. .LI XmNshowArrows Specifies whether arrows should be drawn when data in a cell has been obscured due to the value of .BR XmNcolumnWidths . .LI XmNspace Specifies the distance that separates the ScrollBars from the cell grid. The default value is 4 pixels. .LI XmNtextBackground Specifies the background of the .B XmText cell edit widget. This can be used to make the .B XmText stand out against a uniformly colored matrix. .LI XmNtextBackgroundIsCell Specifies if the background of the .B XmText cell edit widget defaults to the core background of the matrix or the background of the cell being edited when .B XmNtextBackground has the value .B XmUNSPECIFIED_PIXEL. .LI XmNtextField The widget ID of the .BR XmText . This resource cannot be set to a new value. .LI XmNtextShadowThickness Specifies the .B XmNshadowThickness of the .BR XmText . Interesting effects can be achieved by setting the .B XmNcellHighlightThickness to 0 and replacing the highlight with an indented shadow. .LI XmNtextTranslations Specifies the .B XmNtranslations resource of the .B XmText cell edit widget. See the description of .B XmNtranslations in .BR XmText(3X) . .LI XmNtopRow Specifies the row which should be displayed at the top of the non-fixed rows. .B XmNtopRow is specified relative to the first non-fixed row, so (XmNfixedRows + XmNtopRow) is the actual row number which will be moved to the top. If (XmNtopRow > (XmNrows - ( + XmNfixedRows), then the actual row which will be moved to the top is (XmNrows - ( + XmNfixedRows). .LI XmNtrackCellCallback specifies a list of callbacks to be called when the mouse pointer is being moved. .LI XmNtrailingAttachedBottom Indicated that any trailing fixed rows should be attached to the bottom of the matrix. This resource only has effect when .B XmNfill is true and .B XmNtrailingFixedRows is greater than zero. .LI XmNtrailingAttachedRight Indicated that any trailing fixed columns should be attached to the right of the matrix. This resource only has effect when .B XmNfill is true and .B XmNtrailingFixedColumns is greater than zero. .LI XmNtrailingFixedColumns Specifies the number of trailing columns (starting from the right column) which should not be horizontally scrollable. .B XmNtrailingFixedColumns must be less than .BR XmNcolumns - XmNfixedColumns . Cells in trailing fixed columns are not editable unless .B XmNtraverseFixedCells is set to True. .LI XmNtrailingFixedRows Specifies the number of trailing rows (starting from the bottom row) which should not be vertically scrollable. .B XmNtrailingFixedRows must be less than .BR XmNrows - XmNfixedRows . Cells in trailing fixed rows are not editable unless .B XmNtraverseFixedCells is set to True. .LI XmNtraverseCellCallback Specifies a list of callbacks to be called before a new cell is edited. These callbacks are called by the EditCell(\|) action and when .B XbaeMatrix receives or looses focus. A pointer to an .B XbaeMatrixTraverseCellCallbackStruct is passed to the callbacks. The application can specify the next cell which should be edited via this callback list, thereby performing custom traversal. .LI XmNtraverseFixedCells If True, this resource allows fixed cells and columns to be edited. The default is to not allow fixed rows or columns to be edited. .LI XmNuseXbaeInput This boolean value determines whether to use XbaeInput or XmTextField as the widget used for editing cells. Default is not to use XbaeInput. .LI XmNvalueChangedCallback Specifies a list of callbacks to be called after text is deleted from or inserted into the .B XmText cell edit widget. A pointer to an .B XbaeMatrixValueChangedCallbackStruct is passed to the callbacks. See the description of the .B XmText(3X) XmNvalueChangedCallback resource. .LI XmNverticalScrollBar The widget ID of the vertical .BR XmScrollBar . This resource exists only for those applications that need to tie another scrollbar to the matrix's for synchronized scrolling. This resource can not be set to a new value. .LI XmNverticalScrollBarDisplayPolicy Determines when to display a horizontal scrollbar in the matrix. Possible values and their effects are listed under .BR XmNhorizontalScrollBarDisplayPolicy . .LI XmNvisibleColumns Specifies the number of non-fixed columns which should be visible. The widget will request a size which will allow .B XmNvisibleColumns columns to be displayed. The programmer should take into allowance any .B XmNfixedColumns that are specified. This feature becomes even more apparent if the number of .B XmNfixedColumns changes at runtime as the value may need to be adjusted to avoid a warning. .LI XmNvisibleRows Specifies the number of rows which should be visible at any one time. The widget will request a size which will allow .B XmNvisibleRows rows to be displayed. .LI XmNwrapType When .B XmNmultiLineCell is true this resource specifies how to break the lines. When set to XbaeWrapNone, lines are broken on newlines only. When set to XbaeWrapContinuous, long lines are further broken up so they fit in their cell. When set to XbaeWrapWord the breaking of long lines occures preferably on spaces. .LI XmNwriteCellCallback Specifies a list of callbacks to be called when a cell value changes and an .B XmNdrawCellCallback is defined. A pointer to an .B XbaeMatrixWriteCellCallbackStruct is passed to the callbacks. The .B XmNwriteCellCallback allows data to be written back into the application's data structure and must be defined for an editable .B XbaeMatrix with an .BR XmNdrawCellCallback . .LI XmNxmRowLabels Points to an array of XmStrings to be drawn to the left of each row. If .B XmNxmRowLabels is .SM NULL, .B XmNrowLabels will be used. This resource is copied. .LI XmNxmColumnLabels Points to an array of XmStrings to be drawn above each column. If .B XmNxmColumnLabels is .SM NULL, .B XmNcolumnLabels will be used. This resource is copied. .PP .SH "Inherited Resources" The following table lists the resources which .B XbaeMatrix inherits from it's superclasses .BR XmManager , .B Compositeand .BR Core . For a complete description of each resource, refer to the man page for that superclass. The codes in the ``Access'' column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G). .LP .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . XmManager Resource Set _ Name Class Type Default Access = XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG _ XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNforeground XmCForeground Pixel dynamic CSG _ XmNhighlightColor XmCHighlightColor Pixel dynamic CSG _ XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG _ XmNinitialFocus XmCInitialFocus Widget NULL CSG _ XmNnavigationType XmCNavigationType XmNavigationType XmTAB_GROUP CSG _ XmNshadowThickness XmCShadowThickness Dimension dynamic CSG _ XmNstringDirection XmCStringDirection XmStringDirection dynamic CG _ XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG _ XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG _ XmNtraversalOn XmCTraversalOn Boolean True CSG _ XmNunitType XmCUnitType unsigned char dynamic CSG _ XmNuserData XmCUserData XtPointer NULL CSG .TE .LP .sp .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . Composite Resource Set = Name Class Type Default Access _ XmNchildren XmCReadOnly WidgetList NULL G _ XmNinsertPosition XmCInsertPosition XtOrderProc NULL CSG _ XmNnumChildren XmCReadOnly Cardinal 0 G .TE .LP .TS expand box; c s s s s lb | lb | lb | lb | lb lp7 | lp7 | lp7 | lp7 | lp7 . Core Resource Set = Name Class Type Default Access _ XmNaccelerators XmCAccelerators XtAccelerators NULL CSG _ XmNancestorSensitive XmCSensitive Boolean dynamic G _ XmNbackground XmCBackground Pixel dynamic CSG _ XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG _ XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG _ XmNborderWidth XmCBorderWidth Dimension 1 CSG _ XmNcolormap XmCColormap Colormap dynamic CG _ XmNdepth XmCDepth int dynamic CG _ XmNdestroyCallback XmCCallback XtCallbackList NULL C _ XmNheight XmCHeight Dimension dynamic CSG _ XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C _ XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG _ XmNscreen XmCScreen Screen dynamic CG _ XmNsensitive XmCSensitive Boolean True CSG _ XmNtranslations XmCTranslations XtTranslations dynamic CSG _ XmNwidth XmCWidth Dimension dynamic CSG _ XmNx XmCPosition Position 0 CSG _ XmNy XmCPosition Position 0 CSG .TE .PP .SH "Callback Information" .PP .LI XbaeMatrixAnyCallbackStruct A callback struct that is suitable for all callbacks that require the .IR reason , .IR event , .I row and .I column to be available. Any callback called may therefore cast the third parameter to the following struct in .B XbaeMatrix and can rest assured that evrything in it will be available. .sp .ne 7 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; int row; int column; XEvent *event; .T& lb s s . \&} XbaeMatrixAnyCallbackStruct; .TE .RS .sp Each of the members are set to the appropriate struct for the callback. .PP If this idea is a little foreign to you, recommended reading is K&R II page 213. .RE .PP .LI XmNdefaultActionCallback Callbacks on the .B XmNdefaultActionCallback list are called when the DefaultAction(\|) action occurs. The application can bind the DefaultAction(\|) action to any pointer based event. When a double click occurs on this pointer event, DefaultAction(\|) will call the callbacks on the .B XmNdefaultActionCallback list. A pointer to the following structure is passed to each callback on the .B XmNdefaultActionCallback list: .sp .ne 7 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; .T& lb s s . \&} XbaeMatrixDefaultActionCallbackStruct; .TE .RS .sp .cI reason Set to .B XbaeDefaultActionReason . .cI event The event that invoked this callback. .cI row The row number of the cell in which the double click occurred. .cI column The column number of the cell in which the double click occurred. .cI event .PP If an application has an .BR XmNdefaultActionCallback , then the callbacks on the list will be called when the user clicks twice in a cell within .BR XmNdoubleClickInterval , enabling some action to occur for the particular cell. .RE .PP .LI XmNdrawCellCallback Callbacks on the .B XmNdrawCellCallback list are called when the widget needs to draw a cell. A pointer to the following structure is passed to each callback on the .B XmNdrawCellCallback list: .sp .ne 16 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; int width; int height; XbaeCellType type; String string; Pixmap pixmap; Pixmap mask; Pixel foreground; Pixel background; int depth; .T& lb s s. \&} XbaeMatrixDrawCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeDrawCellReason . .cI event Always set to .SM NULL .cI row The row number of the cell that needs to be drawn. .cI column The column number of the cell that needs to be drawn. .cI width The width of the cell that needs to be drawn. .cI height The height of the cell that needs to be drawn. .cI type The type of ``data'' the programmer wants drawn in the cell, or which field should be looked at for data to draw: string or pixmap. .cI string The string to draw if \fItype\fP is set to .BR XbaeString or .BR XbaeStringFree . .cI pixmap The pixmap to copy if \fItype\fP is set to .BR XbaePixmap . It will be clipped to width by height if necessary. .cI mask A mask for the pixmap as obtained from the XPM library. \fImask\fR is only necessary when \fIpixmap\fR has a depth greater than one. .cI foreground The foreground color of the cell. .cI background The background color of the cell. .cI depth The depth of the pixmap image (in bits per pixel). .PP If the application adds this callback, when the .B XbaeMatrix determines that a cell at (row, column) needs to be redrawn, the normal cell drawing mechanism will be skipped and this callback called so the application can tell the widget what to put in the cell. .PP The \fItype\fP field is defaulted to .B XbaeString and no cacheing or saving of the string or pixmap is done. .PP If the application sets \fItype\fP to XbaePixmap, the width, height and depth of the returned pixmap will be calculated with a call to .BR XGetGeometry(\|) . If the programmer wishes to supply the width, height and depth there is a marked improvement as a round trip to the X server is avoided. Note that all geometry parameters must be supplied to ensure successful display of the pixmap. .PP If a \fImask\fR is also provided, it will be used to display the pixmap transparently. Pixmaps drawn in cells also respect the value of .BR XmNcolumnAlignments . .PP By defining an .B XmNdrawCellCallback the need for the storage of the .B XbaeMatrix data within the matrix is eliminated and can prove to be advantageous for memory usage. .PP To write the data back to the application, use the .B XmNwriteCellCallback described below. .RE .LI XmNenterCellCallback Callbacks on the .B XmNenterCellCallback list are called from the EditCell(\|) action just before a cell is edited to determine it's editability. A pointer to the following structure is passed to each callback on the .B XmNenterCellCallback list: .sp .ne 17 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; int position; String pattern; Boolean auto_fill; Boolean convert_case; Boolean overwrite_mode; Boolean select_text; Boolean map; Cardinal num_params; String *params; Boolean doit; .T& lb s s. \&} XbaeMatrixEnterCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeEnterCellReason . .cI event The event that invoked the callback. .cI row The row number of the cell about to be edited. .cI column The column number of the cell about to be edited. .cI position The location of the cursor in the text field. The default is to place the cursor at the end of the string in the cell. .cI pattern A pattern for the .B XbaeInput widget (see \fCXbaeInput(3)\fR). The default is to not specify a .IR pattern . .cI auto_fill Used in conjunction with the setting of the .I pattern to allow literals in the .I pattern to be automatically inserted. .cI convert_case If the \fIpattern\fR specifies an upper or lower case letter, the character typed in the position can automatically be converted to the appropriate case when set to True. The default is to not convert the case of the typed letter. .cI overwrite_mode Normally, the cursor appears as the familiar I caret. By setting \fIoverwrite_mode\fR to True, the text field will go into overwrite mode where keystrokes replace the character underneath the block cursor. .cI select_text Indicates whether the text in the cell should be highlighted (only valid if \fIdoit\fR is set to True also. .cI map Tells the matrix if the .B XmText should be mapped onto the cell. Only makes sense if \fIdoit\fR is set to False. .cI num_params The number of String parameters passed to the EditCell(\|) action. .cI params An array containing the num_params String parameters passed to the EditCell(\|) action. .cI doit Indicates whether or not this cell is editable. Setting doit to False will make this cell not editable. The default value is True. .PP If the application determines that the cell at (\fIrow\fR, \fIcolumn\fR) is not editable, it should set the doit flag to False. If the \fImap\fR flag is also set to False, .B XbaeMatrix will not place the .B XmText cell editor on the cell. If \fImap\fR is left as True, the .B XmText will be placed on the cell but the user will not be able to add or delete characters from it. If the application leaves \fIdoit\fR as True, then the TextField will be editable. In addition, if \fIselect_text\fR is set to True, the text in the cell will be selected via .BR XmTextSetSelection . Assuming .B XmNpendingDelete for the .B XmText is also True, the selected text will be deleted as soon as the next text insertion occurs. .RE .PP .LI XmNlabelActivateCallback Callbacks on the .B XmNlabelActivateCallback list are called after a button label has been activated via a mouse click. A pointer to the following structure is passed to each callback on the .B XmNlabelActivateCallback list: .sp .ne 9 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; Boolean row_label; String label; .T& lb s s. \&} XbaeMatrixLabelActivateCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeLabelActivateReason . .cI event The event that invoked this callback. .cI row The row number of the button label or -1 if the button was a column label. .cI column The column number of the button label or -1 if the button was a row label. .cI row_label If the button label that invoked the callback is a row label, then this value is set to True. If it was a column label then it is set to False. .cI label The label on the button that was pressed. .PP When the .B XbaeMatrix receives a ButtonRelease event on the same button label that it received a ButtonPress event, the .B XmNlabelActivateCallback is called to allow the programmer to respond to the event. The callback has been provided to emulate some popular spreadsheets on the market. .RE .PP .LI XmNleaveCellCallback Callbacks on the .B XmNleaveCellCallback list are called from the EditCell(\|) and CommitEdit(\|) actions just before the edit to the current cell is committed. The application can validate the changes made to the cell, and allow or disallow them. A pointer to the following structure is passed to each callback on the .B XmNleaveCellCallback list: .sp .ne 8 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row, column; String value; Boolean doit; .T& lb s s. \&} XbaeMatrixLeaveCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeLeaveCellReason . .cI event The event that invoked this callback. .cI row The row number of the cell being edited. .cI column The column number of the cell being edited. .cI value Contains the new data which will be stored in this cell if doit is True. The memory pointed to by value may be modified, or if the new contents are larger than the current contents, then value should be set to point to a larger piece of allocated memory. .cI doit Indicates whether the edits applied to this cell should actually be stored into .BR XbaeMatrix . Setting doit to False will cause the changes to be discarded and the cell will retain its original value. The default value is True. .PP If the application determines that the value entered in the cell at (row, column) is not valid, it should set the doit flag to False. This will prevent the changes from being stored in the cell. The TextField edit widget will remain on the current cell. If the application leaves doit as True, then the changes made to the cell will be committed and the TextField will move to the next cell or be unmapped. The application can also modify the String in value, e.g. to force a String to be all upper case. .RE .PP .LI XmNmodifyVerifyCallback Callbacks on the .B XmNmodifyVerifyCallback list are called while a cell is being edited. The callbacks are called before text is inserted into or deleted from the TextField edit widget. A pointer to the following structure is passed to each callback on the .B XmNmodifyVerifyCallback list: .sp .ne 9 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; XmTextVerifyCallbackStruct *verify; const char *prev_text; .T& lb s s. \&} XbaeMatrixModifyVerifyCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeModifyVerifyReason . .cI event Always set to NULL. .cI row The row number of the cell being edited. .cI column The column number of the cell being edited. .cI verify The contents of this structure and its use are documented in the .B XmText(3X) man page. .cI prev_text The contents of the cell as seen by this user before the new text. If other text has already been entered, this value will not match the official .B XbaeMatrix value of the cell. This pointer and the string should not be modified. .RE .PP .LI XmNprocessDragCallback Callbacks on the .B XmNprocessDragCallback list are called from the ProcessDrag(\|) action. The application can bind the ProcessDrag(\|) action to any pointer based event, though by default it is bound to the Button2Down event. When this event occurs, ProcessDrag(\|) will call the callbacks on the .B XmNprocessDragCallback list. A pointer to the following structure is passed to each callback on the .B XmNprocessDragCallback list: .sp .ne 13 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; String string; XbaeCellType type; Pixmap pixmap; Pixmap mask; Cardinal num_params; String *params; .T& lb s s. \&} XbaeMatrixProcessDragCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeProcessDragReason . .cI event The XEvent which invoked the ProcessDrag(\|) action. .cI row The row number of the cell where the drag was initiated.. .cI column The column number of the cell where the drag was initiated.. .cI string The string in the cell where the drag was initiated if \fItype\fP is .BR XbaeString or .BR XbaeStringFree . This is provided as a convenience to the application. .cI type The type of the cell in which the drag was initiated. .cI pixmap The pixmap in the cell where the drag was initiated if \fItype\fP is .BR XbaePixmap . This is provided as a convenience to the application. .cI mask A mask for the pixmap as obtained from the XPM library. \fImask\fR is only necessary when \fIpixmap\fR has a depth greater than one. Also provided as a convenience to the application. .cI num_params The number of String parameters passed to the ProcessDrag(\|) action. .cI params An array containing the num_params String parameters passed to the ProcessDrag(\|) action. .PP The application can use the .B XmNprocessDragCallback list to implement particular processing for Motif's drag-and-drop. .RE .PP .LI XmNresizeCallback Callbacks on the .B XmNresizeCallback list are called when the .B XbaeMatrix widget is resized. A pointer to the following structure is passed to each callback on the .B XmNresizeCallback list: .sp .ne 9 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; Dimension width; Dimension height; .T& lb s s. \&} XbaeMatrixResizeCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeResizeReason . .cI event Always set to .SM NULL .cI row Set to the number of rows in the matrix (provided for convenience). .cI column Set to the number of colums in the matrix (provided for convenience). .cI width The new width of the .B XbaeMatrix widget. .cI height The new height of the .B XbaeMatrix widget. .PP The application can use the .B XmNresizeCallback to adjust such resources as .BR XmNcolumnWidths , .B XmNvisibleColumns and .B XmNvisibleRows when the widget containing an .B XbaeMatrix widget is resized. .RE .PP .LI XmNresizeColumnCallback Callbacks on the .B XmNresizeColumnCallback list are called when a column of the .B XbaeMatrix widget is dynamically resized by the user. A pointer to the following structure is passed to each callback on the .B XmNresizeColumnCallback list: .sp .ne 10 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; int which; int columns; short *column_widths; .T& lb s s. \&} XbaeMatrixResizeColumnCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeResizeColumnReason . .cI event The XEvent that ended the resize. The event will be of type .BR XButtonReleasedEvent . .cI row The row in which the .B ResizeColumn(\|) action began. .cI column The column in which the .B ResizeColumn(\|) action began (and ended). .cI which The column that was resized in the .B ResizeColumn(\|) action. .cI columns The number of columns in the .B XbaeMatrix widget. .cI column_widths The widths of each column as they stand \fIafter\fP the .B ResizeColumn(\|) action. .PP The application can use the .B XmNresizeColumnCallback to perform post processing after a column has been resized. By adjusting the values contained in \fIcolumn_widths\fP the .B XbaeMatrix widget will use the values upon return from the callback. Changing the number of columns in the matrix in the .B XmNresizeColumnCallback should be used carefully as it may cause unexpected results. .RE .PP .LI XmNselectCellCallback Callbacks on the .B XmNselectCellCallback list are called from the SelectCell(\|) action. The application can bind the SelectCell(\|) action to any pointer based event. When this event occurs, SelectCell(\|) will call the callbacks on the .B XmNselectCellCallback list. A pointer to the following structure is passed to each callback on the .B XmNselectCellCallback list: .sp .ne 11 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; Boolean **selected_cells; String **cells; Cardinal num_params; String *params; .T& lb s s. \&} XbaeMatrixSelectCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeSelectCellReason . .cI event The XEvent which invoked the SelectCell(\|) action. .cI row The row number of the cell which was selected. .cI column The column number of the cell which was selected. .cI selected_cells The value of the .B XmNselectedCells resource. This is provided as a convenience to the application and will be .SM NULL if no cells have yet been selected. .cI cells The value of the .B XmNcells resource. This is provided as a convenience to the application and will be .SM NULL if no cells have been specified or the .B XmNdrawCellCallback is being used. .cI num_params The number of String parameters passed to the SelectCell(\|) action. .cI params An array containing the num_params String parameters passed to the SelectCell(\|) action. .PP The application can use the .B XmNselectCellCallback list to implement it's own selection model. The .B XbaeMatrixSelectCellCallbackStruct contains the array of String parameters passed to the SelectCell(\|) action which invoked this callback. By binding the SelectCell(\|) action to various events via the translation manager, and using String action parameters to distinguish them, the application can implement various selection models. For example, the following translations could be used to implement a model in which a modifier key indicates whether a single cell or an entire row should be selected. The callbacks on the .B XmNselectCellCallback list would examine the parameter and take the appropriate action. .PP .ne 3 .TS l l l l l l. #override\\n\\ Shift: SelectCell(cell)\\n\\ Ctrl: SelectCell(row) .TE .PP The callbacks on the .B XmNselectCellCallback list can also be used in other ways, e.g. to pop up a cell specific menu. .PP .B NOTE: If no cells have been selected, the value of \fIselected_cells\fP will be .SM NULL. The same applies for \fIcells\fP. Care must be taken so as not to dereference these members of the callback struct. .RE .PP .LI XmNtrackCellCallback Callbacks on the .B XmNtrackCellCallback list are being called by the HandleTracking(\|) action, which is triggered by pointer motion. One of the purposes of this callback list is to figure out from which cell to which cell the pointer is being moved. A pointer to the .B XbaeMatrixTrackCellCallbackStruct structure is being passed. Its fields are defined as : .sp .ne 17 .TS lb s s l lb li . typedef struct _XbaeMatrixTrackCellCallbackStruct \&{ XbaeReasonType reason; XEvent *event; int row, column; int prev_row, prev_column; Position pointer_x, pointer_y; .T& lb s s. } XbaeMatrixTrackCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeSelectCellReason . .cI event The XEvent which invoked the HandleTracking(\|) action. .cI row This is the row number that the pointer is currently in. .cI column This is the column number that the pointer is currently in. .cI prev_row The row that the pointer was previously in. .cI prev_column The column that the pointer was previously in. .cI pointer_x The x position of the pointer. .cI pointer_y The y position of the pointer. .RE .PP .LI XmNtraverseCellCallback Callbacks on the .B XmNtraverseCellCallback list are called from the EditCell(\|) action and when .B XbaeMatrix receives or looses focus. The application can customize cell traversal using these callbacks. .B XbaeMatrix has a default traversal order, outlined below, which the application can override. A pointer to the following structure is passed to each callback on the .B XmNtraverseCellCallback list: .sp .ne 17 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; int next_row; int next_column; int fixed_rows; int fixed_columns; int trailing_fixed_rows; int trailing_fixed_columns; int num_rows; int num_columns; String param; XrmQuark qparam; .T& lb s s. \&} XbaeMatrixTraverseCellCallbackStruct; .TE .RS .cI reason Set to .BR XbaeTraverseCellReason . .cI event The event that invoked this callback. .cI row The row number of the cell currently being edited. .cI column The column number of the cell currently being edited. .cI next_row The row number of the next cell to be edited, this can be changed by the application. .cI next_column The column number of the next cell to be edited, this can be changed by the application. .cI fixed_rows The value of the .B XmNfixedRows resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI fixed_columns The value of the .B XmNfixedColumns resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI trailing_fixed_rows The value of the .B XmNtrailingFixedRows resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI trailing_fixed_columns The value of the .B XmNtrailingFixedColumns resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI num_rows The value of the .B XmNrows resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI num_columns The value of the .B XmNcolumns resource. This is provided as a convenience for the application in calculating the next_row and next_column fields. .cI param The String value of the parameter passed to the EditCell(\|) action. .cI qparam The XrmQuark value of the parameter passed to the EditCell(\|) action. .PP The EditCell(\|) action takes an arbitrary parameter which it passes through to the callbacks on the .B XmNtraverseCellCallback list in both String and XrmQuark forms. The EditCell(\|) action recognizes five special parameters which it uses to implement it's default cell traversal. These parameters and their corresponding traversal results are: .PP .cI Pointer Set next_row and next_column to the cell underneath the mouse pointer. .cI Left If we are currently editing cell (XmNfixedRows, XmNfixedColumns), then do not move. Otherwise move one column to the left, if that column is less than .B XmNfixedColumns , then move up to the last column of the row above. .cI Right If we are currently editing cell (XmNrows - 1, XmNcolumns - 1), then do not move. Otherwise move one column to the right, if that column is greater than or equal to .B XmNcolumns , then move down to column .B XmNfixedColumns of the row below. .cI Up Move up one row. If that row is less than .B XmNfixedRows , then move to the last row. .cI Down Move down one row. If that row is greater than or equal to .B XmNrows , then move to row .BR XmNfixedRows . .PP If the EditCell(\|) action recognizes one of these special parameters, it calculates the new cell to be edited accordingly and stores the results in the next_row and next_column fields of the .BR XbaeMatrixTraverseCellCallbackStruct . If EditCell(\|) does not recognize it's parameter, it sets next_row and next_column to the current row and column. It also stores a String and XrmQuark version of it's parameter in the param and qparam fields. EditCell(\|) then calls the callbacks on the .B XmNtraverseCellCallback list. These callbacks can examine the parameter and recalculate the next_row and next_column fields appropriately. The application can override the default calculation for the special parameters, or it can define an entirely new parameter with a corresponding new calculation. It would do this by binding EditCell(\|) with a new application specific parameter to an event in a translation table. It is expected that application callbacks will use the XrmQuark version of the parameter for efficiency reasons (by statically creating the new XrmQuarks and comparing them against the incoming qparam). .PP When .B XbaeMatrix receives the focus it will also call the .B XmNtraverseCellCallback callbacks before returning to the current cell or the upper left most visible cell if no cell is currently edited. The .B XbaeMatrixTraverseCellCallbackStruct will have param and qparm set to .I Focus. If there is no current cell row and column will be set to -1. When XbaeMatrix looses the focus it will also call the .B XmNtraverseCellCallback with param and qparm set to .I LoosingFocus. .RE .PP .PP .LI XmNvalueChangedCallback Callbacks on the .B XmNvalueChangedCallback list are called while a cell is being edited. The callbacks are called after text is inserted into or deleted from the TextField edit widget. A pointer to the following structure is passed to each callback on the .B XmNvalueChangedCallback list: .sp .ne 7 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; .T& lb s s. \&} XbaeMatrixValueChangedCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeValueChangedReason . .cI event The event that triggered this callback. .cI row The row number of the cell being edited. .cI column The column number of the cell being edited. .RE .PP .LI XmNwriteCellCallback Callbacks (although it probably only makes sense to have one) on the .B XmNwriteCellCallback list are called when the widget needs to write data to a cell, but only when .B XmNdrawCellCallback is defined. A pointer to the following structure is passed to each callback on the .B XmNwriteCellCallback list: .sp .ne 11 .TS lb s s l lb li . typedef struct \&{ XbaeReasonType reason; XEvent *event; int row; int column; XbaeCellType type; String string; Pixmap pixmap; Pixmap mask; .T& lb s s. \&} XbaeMatrixWriteCellCallbackStruct; .TE .RS .sp .cI reason Set to .BR XbaeWriteCellReason . .cI event Always set to .SM NULL .cI row The row number of the cell that needs to be written. .cI column The column number of the cell that needs to be written. .cI type The type of ``data'' contained in the cell, either .BR XbaeString " or " XbaePixmap . .cI string The string to store if \fItype\fP is set to .BR XbaeString . .cI pixmap The pixmap to store if \fItype\fP is set to .BR XbaePixmap . (maybe a little meaningless unless you can edit a pixmap in a cell) .cI mask A mask for the pixmap as obtained from the XPM library. \fImask\fR is only necessary when \fIpixmap\fR has a depth greater than one. .PP If the application adds this callback, when the .B XbaeMatrix is editable and has been assigned an .BR XmNdrawCellCallback , data on the widget can be edited and stored back in the application's data structure. Only if an .B XmNdrawCellCallback has been assigned to the .B XbaeMatrix widget, will the .B XmNwriteCellCallback be called. .PP At the moment, \fIpixmap\fR and \fImask\fR will be sent to the .B XmNwriteCellCallback as .SM NULL. .DE .PP .SH Translations .B XbaeMatrix inherits translations from .BR XmManager . In addition, .B XbaeMatrix uses the following translation: .ne 4 \fC .TS lw(6cm) l . :: DefaultAction(\|)\\n\\ :: DefaultAction(\|) EditCell(Pointer)\\n\\ :Shift: ResizeColumns(\|)\\n\\ :: ProcessDrag(\|)\\n\\ :: HandleMotion() HandleTracking()(\|)\\n\\ :: HandleTracking()(\|)\\n\\ :: ScrollRows(-50)(\|)\\n\\ :: ScrollRows( 50)(\|) .TE \fR .PP .B XbaeMatrix installs the following default .B XmNtextTranslations on the .B TextField edit widget: .ne 11 \fC .TS lw(6cm) l . \&#override\\n\\ Shift ~Ctrl ~Meta ~Alt Tab: EditCell(Left)\\n\\ ~Ctrl ~Meta ~Alt Tab: EditCell(Right)\\n\\ osfUp: EditCell(Up)\\n\\ osfDown: EditCell(Down)\\n\\ osfActivate: CommitEdit(False)\\n\\ ~Shift ~Meta ~Alt Return: CommitEdit(False)\\n\\ osfCancel: CommitEdit(False)\\n\\ Shift Ctrl ~Meta ~Alt Tab: TraversePrev(\|)\\n\\ Ctrl ~Meta ~Alt Tab: TraverseNext(\|)\\n\\ osfPageDown: PageDown()\\n\\ osfPageUp: PageUp()\\n .TE \fR .PP .SH "Action Routines" .PP .sp 2 .IP CancelEdit(\|) If the single parameter to CancelEdit(\|) is the String True, then it unmaps the edit TextField, discarding any changes which were made to the cell being edited. If the parameter is False, then CancelEdit(\|) restores the edit TextField to the original contents of the cell, discarding any changes made to the cell being edited. The TextField is not unmapped. .IP CommitEdit(\|) .RS CommitEdit(\|) first calls any callbacks on the .B XmNleaveCellCallback list to determine if the changes made to the current cell are valid. If they are, it then saves any changes made to the cell into the cell. If the callbacks on the .B XmNleaveCellCallback list return that the changes are not valid, CommitEdit(\|) does nothing. .PP If the changes are valid, CommitEdit(\|) examines it's one parameter, which must be the string True or False. If the parameter is True, then the edit TextField is unmapped. If it is False, then the TextField is not unmapped. .RE .IP DefaultAction(\|) .RS DefaultAction(\|) sets up a mechanism for determining whether two successive mouse clicks form a double click. The DefaultAction(\|) should normally be used in conjunction with other pointer based events and provides a mechanism for acting on double clicks in a cell. .RE .IP EditCell(\|) .RS EditCell(\|) edits a new cell. EditCell(\|) first calculates the new cell to edit based on it's single parameter. It then calls the callbacks on the .B XmNtraverseCellCallback list to allow them to specify a different cell to edit (see the discussion of .B XmNtraverseCellCallback above). EditCell(\|) then calls the callbacks on the .B XmNleaveCellCallback list to determine if the changes made to the current cell are valid. If they are, it then saves any changes made to the cell into the cell. If the changes are not valid, EditCell(\|) does nothing further. .PP If the changes are valid, EditCell(\|) attempts to scroll the new cell to be edited so that it is fully visible. If the new cell is in a fixed row or column, EditCell(\|) returns and does nothing further (these cells are not editable). Otherwise, EditCell(\|) calls the callbacks on the .B XmNenterCellCallback list to determine if the new cell is editable. It then moves the .B XmText edit widget to the new cell, setting it's editability based on the return from the .B XmNenterCellCallback callbacks. .RE .IP ProcessDrag(\|) .RS ProcessDrag(\|) calls the callbacks on the .B XmNprocessDragCallback list, passing them a pointer to a .BR XbaeMatrixProcessDragCallbackStruct . .RE .IP ResizeColumns(\|) .RS Allows the user to dynamically resize the column widths, provided that .B XmNallowColumnResize is True. .RE .IP ScrollRows(\|) ScrollRows(\|) makes the rows of the matrix scroll by the pixel amount specified by it's argument. .IP ScrollColumns(\|) ScrollColumns(\|) makes the columns of the matrix scroll by the pixel amount specified by it's argument. .IP SelectCell(\|) SelectCell(\|) calls the callbacks on the .B XmNselectCellCallback list, passing them a pointer to a .BR XbaeMatrixSelectCellCallbackStruct . This structure will contain the String parameters passed to the SelectCell(\|) action, among other things (see the discussion of .B XmNselectCellCallback above). .IP TraverseNext(\|) TraverseNext(\|) will traverse out of the Matrix and into the next tab group. .IP TraversePrev(\|) TraversePrev(\|) will traverse out of the Matrix and into the previous tab group. .IP PageDown(\|) PageDown(\|) causes the Matrix to scroll down a full page. The text widget is placed on the first non fixed row of the new page. .IP PageUp(\|) PageUp(\|) causes the Matrix to scroll up a full page. The text widget is placed on the first non fixed row of the new page. .SH "Type Converters" .sp .PP In addition to the standard type converters registered by Xt and Motif, .B XbaeMatrix registers the following additional type converters: .IP \fCCvtStringToStringArray(\|)\fP Converts a comma separated list of Strings to an array of String pointers, one for each substring. Commas in the list may be escaped with the character `\\'. This converter allows the .B XmNrowLabels and .B XmNcolumnLabels resources to be specified in resource files. .IP \fCCvtStringToWidthArray(\|)\fP Converts a comma separated list of numeric Strings to an array of short integers. This converter allows the .B XmNcolumnWidths resource to be specified in resource files. .IP \fCCvtStringToMaxLengthArray(\|)\fP Converts a comma separated list of numeric Strings to an array of integers. This converter allows the .B XmNcolumnMaxLengths resource to be specified in resource files. .IP \fCCvtStringToAlignmentArray(\|)\fP Converts a comma separated list of alignments to an array of unsigned chars. This converter allows the .B XmNcolumnLabelAlignments and .B XmNcolumnAlignments resources to be specified in resource files. .IP \fCCvtStringToGridType(\|)\fP Converts a single string as discussed in .B XmNgridType to a grid type value. This converter allows .B XmNgridType to be specified in resource files. .IP \fCCvtStringToMatrixScrollBarDisplayPolicy(\|)\fP Converts a single string as discussed in .B XmNhorizontalScrollBarDisplayPolicy and .B XmNverticalScrollBarDisplayPolicy to a display policy value. This converter allows .B XmNhorizontalScrollBarDisplayPolicy and .B XmNverticalScrollBarDisplayPolicy to be specified in resource files. .IP \fCCvtStringToCellTable(\|)\fP Converts a comma separated list of Strings with \\n delimited rows to a two dimensional array of String pointers. This converter allows the .B XmNcells resource to be specified in resource files. .IP \fCCvtStringToPixelTable(\|)\fP Converts a comma separated list of color names with \\n delimited rows to a two dimensional array of Pixel values. This converter allows the .BR XmNcellBackgrounds and XmNcolors resources to be specified in resource files. .IP \fCCvtStringToBooleanArray(\|)\fP Converts a comma separated list of string or numeric values to an array of Booleans. The converter recongnises a comma separated list of values. Each value is parsed such that if the first character is '1', 'T' or 't' it is interpreted as True, if the first character is '0', 'F' or 'f' it is interpreted as False, otherwise it is illegal. This converter allows the .B XmNcolumnButtonLabels and .B XmNrowButtonLabels resources to be specified in resource files. .SH "Public Functions" .sp The following external entry points to .B XbaeMatrix class methods are defined: .sp .B XbaeCreateMatrix(\|) .PP .RS .ne 5 .TS l s s l l li. Widget XbaeCreateMatrix(\|) Widget parent; String name; ArgList arglist; Cardinal argcount; .TE .sp .cI parent Specifies the parent widget ID. .cI name Specifies the name of the created widget .cI arglist Specifies the argument list .cI argcount Specifies the number of attribute/value pairs in the argument list (arglist) .PP .B XbaeCreateMatrix(\|) creates an unmanaged instance of an XbaeMatrix widget and returns the associated widget ID. .RE .PP .sp .B XbaeMatrixAddColumns(\|) .PP .RS .ne 12 .TS l s s l l li . void XbaeMatrixAddColumns(\|) Widget w; int position; String *columns; String *labels; short *widths; int *max_lengths; unsigned char *alignments; unsigned char *label_alignments; Pixel *colors; int num_columns; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The column position before which to add the new columns. Must be greater than or equal to zero, and less than or equal to .BR XmNcolumns . .cI columns Points to an ordinary two dimensional array of String, or .SM NULL. These Strings will be used to modify the .B XmNcells resource to populate the new columns. Each row in the array must have .B XmNrows elements and represents one of the new columns. columns must have .B num_columns rows. If columns is .SM NULL, empty columns will be added. .cI labels Points to an array of String, or .SM NULL. These Strings will be used as the .B XmNcolumnLabels for the new columns. The labels array must have num_columns elements. If labels is .SM NULL, and .B XmNcolumnLabels is set, then blank column labels will be used. .cI widths Points to an array of short or .SM NULL. These values will be used as the .B XmNcolumnWidths for the new columns. The widths array must have num_columns elements. if widths is NULL then a default width will be used for the new columns. .cI max_lengths Points to an array of int, or .SM NULL. These values will be used as the .B XmNcolumnMaxLengths for the new columns. The max_lengths array must have num_columns elements. If max_lengths is .SM NULL, then the corresponding value from widths will be used. .cI alignments Points to an array of unsigned char, or .SM NULL. These values will be used as the .B XmNcolumnAlignments for the new columns. The alignments array must have num_columns elements. If alignments is .SM NULL, then .B XmALIGNMENT_BEGINNING will be used. .cI label_alignments Points to an array of unsigned char, or .SM NULL. These values will be used as the .B XmNcolumnLabelAlignments for the new column labels. The label_alignments array must have num_columns elements. If label_alignments is .SM NULL, then .B XmALIGNMENT_BEGINNING will be used. .cI colors Points to an array of Pixel, or .SM NULL. These values will be used to set the corresponding columns in the .B XmNcolors table for the new columns. The colors array must have num_columns elements. If colors is .SM NULL, then .B XmNforeground will be used. .cI num_columns The number of columns which are being added to the widget. .PP .B XbaeMatrixAddColumns(\|) allows the application developer to dynamically add new columns anywhere in the Matrix. The columns will be added before the column specified in position. Columns are numbered starting at zero. To append new columns onto the end of the Matrix, specify position as the total number of columns. Most of the arguments to .B XbaeMatrixAddColumns(\|) may be specified as .SM NULL. Default values will be used by the widget. .PP If the programmer attempts to add columns using .B XbaeMatrixAddColumns(\|) when there are no rows, it will result in a warning message. There must be at least one row in the .B XbaeMatrix widget to add columns. .PP To maintain backward compatability, the cell backgrounds cannot be set in a call to .B XbaeMatrixAddColumns(\|) and must be set (if so desired) in a separate call to .BR XtVaSetValues(\|) . .sp .RE .ne 8 .B XbaeMatrixAddRows(\|) .PP .RS .TS l s s l l li . void XbaeMatrixAddRows(\|) Widget w; int position; String *rows; String *labels; Pixel *colors; int num_rows; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The row position before which to add the new rows. Must be greater than or equal to zero, and less than or equal to .BR XmNrows . .cI rows Points to an ordinary two dimensional array of String, or .SM NULL. These Strings will be used to modify the .B XmNcells resource to populate the new rows. Each row in the array must have .B XmNcolumns elements and represents one of the new rows. rows must have num_rows rows. If rows is .SM NULL, empty rows will be added. .cI labels Points to an array of String, or .SM NULL. These Strings will be used as the .B XmNrowLabels for the new rows. The labels array must have num_rows elements. If labels is .SM NULL, and .B XmNrowLabels is set, then blank row labels will be used .cI colors Points to an array of Pixel, or .SM NULL. These values will be used to set the corresponding rows in the .B XmNcolors table for the new rows. The colors array must have num_rows elements. If colors is .SM NULL, then .B XmNforeground will be used. .cI num_rows The number of rows which are being added to the widget. .PP .B XbaeMatrixAddRows(\|) allows the application developer to dynamically add new rows anywhere in the Matrix. The rows will be added before the row specified in position. Rows are numbered starting at zero. To append new rows onto the end of the Matrix, specify position as the total number of rows. .PP To maintain backward compatability, the cell backgrounds cannot be set in a call to .B XbaeMatrixAddRows(\|) and must be set (if so desired) in a separate call to .BR XtVaSetValues(\|) . .RE .sp .ne 4 .B XbaeMatrixCancelEdit(\|) .PP .RS .TS l s s l l li . void XbaeMatrixCancelEdit(\|) Widget w; Boolean unmap; .TE .sp .cI w An .B XbaeMatrix widget. .cI unmap Specifies whether the TextField cell edit widget should be unmapped after the edit is canceled. .PP .B XbaeMatrixCancelEdit(\|) allows the application developer to programmatically cancel a cell edit in progress, discarding any changes made by the user. This function unmaps the TextField edit widget if the unmap flag is True. If unmap is False, the contents of the TextField are restored to their original value, and the TextField is not unmapped. .sp .ne 4 .RE .B XbaeMatrixCommitEdit(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixCommitEdit(\|) Widget w; Boolean unmap; .TE .sp .cI w An XbaeMatrix widget. .cI unmap Specifies whether the TextField cell edit widget should be unmapped after an edit is successfully committed. .PP .B XbaeMatrixCommitEdit(\|) can be used by the application developer to programmatically commit an edit, saving any changes made by the user. This will cause the callbacks on the .B XmNleaveCellCallback list to be called to verify that the changes the user made are valid. If the changes are valid, then they are saved into the cell and if the unmap flag is True, the TextField widget will be unmapped. .sp .ne 5 .RE .B XbaeMatrixDeleteColumns(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeleteColumns(\|) Widget w; int position; int num_columns; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The column position at which to begin deleting columns. Must be greater than or equal to zero, and (position + num_columns) must be less than or equal to .BR XmNcolumns . .cI num_columns The number of columns to delete from the widget. .PP .B XbaeMatrixDeleteColumns(\|) allows the application developer to dynamically delete columns from anywhere in the Matrix. Columns will be deleted starting at the column specified by position. .sp .ne 5 .RE .B XbaeMatrixDeleteRows(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeleteRows(\|) Widget w; int position; int num_rows; .TE .sp .cI w An XbaeMatrix widget. .cI position The row position at which to begin deleting rows. Must be greater than or equal to zero, and (position + num_rows) must be less than or equal to .BR XmNrows . .cI num_rows The number of rows to delete from the widget. .PP .B XbaeMatrixDeleteRows(\|) allows the application developer to dynamically delete rows from anywhere in the Matrix. Rows will be deleted starting at the row specified by position. .sp .ne 3 .RE .B XbaeMatrixDeselectAll(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeselectAll(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixDeselectAll(\|) allows the application developer to programmatically deselect all cells. .B XbaeMatrixDeselectAll(\|) redraws the cells in normal video. All Booleans in the .B XmNselectedCells array will be set to False. .sp .ne 5 .RE .B XbaeMatrixDeselectCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeselectCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to deselect. .cI column The column of the cell to deselect. .PP .B XbaeMatrixDeselectCell(\|) allows the application developer to programmatically deselect a cell. .B XbaeMatrixDeselectCell(\|) redraws the cell in normal video. The corresponding Boolean in the .B XmNselectedCells array will be set to False. .sp .ne 4 .RE .B XbaeMatrixDeselectColumn(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeselectColumn(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column to deselect. .PP .B XbaeMatrixDeselectColumn(\|) allows the application developer to programmatically deselect a column. .B XbaeMatrixDeselectColumn(\|) draws the column in normal video. The corresponding Booleans in the .B XmNselectedCells array will be set to False. .sp .ne 4 .RE .B XbaeMatrixDeselectRow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixDeselectRow(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row to deselect. .PP .B XbaeMatrixDeselectRow(\|) allows the application developer to programmatically deselect a row. .B XbaeMatrixDeselectRow(\|) draws the row in reverse video (or selectedForeground / selectedBackground if set). The corresponding Booleans in the .B XmNselectedCells array will be set to False. .sp .ne 3 .RE .B XbaeMatrixDisableRedisplay(\|) .PP .RS .TS l s s l l li . int XbaeMatrixDisableRedisplay(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixDisableRedisplay(\|) and .B XbaeMatrixEnableRedisplay(\|) allow an application to make multiple changes to a matrix without immediate visual updates. When multiple changes are made with redisplay enabled, visual flashing often occurs. These routines help eliminate this problem. .sp .ne 5 .RE .B XbaeMatrixEditCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixEditCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to be edited. .cI column The column of the cell to be edited. .PP .B XbaeMatrixEditCell(\|) allows the application developer to programmatically force a specific cell to be edited. This function will first attempt to commit the edit in the current cell. If the .B XmNleaveCellCallback callbacks disallow this commit, then .B XbaeMatrixEditCell(\|) will return. Otherwise the specified cell is scrolled until it is visible. If the specified cell is in a fixed row or column, it cannot be edited and .B XbaeMatrixEditCell(\|) will return. Next, the callbacks on the .B XmNenterCellCallback callback list are called for the specified cell to determine it's editability. Then the TextField edit widget is mapped on top of the specified cell. .sp .ne 4 .RE .B XbaeMatrixEnableRedisplay(\|) .PP .RS .TS l s s l l li . int XbaeMatrixEnableRedisplay(\|) Widget w; Boolean redisplay; .TE .sp .cI w An .B XbaeMatrix widget. .cI redisplay Force the matrix to redisplay if True and no other calls to .B XbaeMatrixDisableRedisplay(\|) have been made. .PP .B XbaeMatrixDisableRedisplay(\|) and .B XbaeMatrixEnableRedisplay(\|) allow an application to make multiple changes to a matrix without immediate visual updates. When multiple changes are made with redisplay enabled, visual flashing often occurs. These routines help eliminate this problem. .sp .ne 6 .RE .B XbaeMatrixEventToXY(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixEventToXY(\|) Widget w; XEvent *event; int *x; int *y; .TE .sp .cI w An .B XbaeMatrix widget. .cI event An X event structure pointer, usually from an XEventHandler function. .cI x The translated x coordinate. .cI y The translated y coordinate. .PP .B XbaeMatrixEventToXY enables the programmer to determine the x and y values of a given event with respect to the .B XbaeMatrix widget. The returned values are also adjusted to allow for the .B XbaeClip widget. .sp .ne 5 .RE .B XbaeMatrixFirstSelectedCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixFirstSelectedCell(\|) Widget w; int *row; int *column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The first selected row. .cI column The first selected column. .PP .B XbaeMatrixFirstSelectedCell(\|) allows the application developer to find out which cell is the first selected. The function traverses the .B XbaeMatrix widget in a left to right, top to bottom manner to determine this value. If no cell is selected, row and column are set to -1. .sp .ne 3 .RE .B XbaeMatrixFirstSelectedColumn(\|) .PP .RS .TS l s s l l li . int XbaeMatrixFirstSelectedColumn(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixFirstSelectedColumn(\|) returns the column number of the first selected column in the .B XbaeMatrix widget. The function traverses the matrix from column 0. A column must be entirely selected for the column to be considered selected. If no column is selected then -1 is returned. .sp .ne 3 .RE .B XbaeMatrixFirstSelectedRow(\|) .PP .RS .TS l s s l l li . int XbaeMatrixFirstSelectedRow(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixFirstSelectedRow(\|) returns the row number of the first selected row in the .B XbaeMatrix widget. The function traverses the matrix from row 0. A row must be entirely selected for the row to be considered selected. If no row is selected then -1 is returned. .sp .ne 5 .RE .B XbaeMatrixGetCell(\|) .PP .RS .TS l s s l l li . String XbaeMatrixGetCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose value should be retrieved. .cI column The column of the cell whose value should be retrieved. .PP .B XbaeMatrixGetCell(\|) returns the String value stored in the specified cell. This String should not be freed. To examine many cells, it is more efficient to do an XtGetValues(\|) on .B XmNcells and examine the values in that array. .sp .ne 6 .RE .B XbaeMatrixGetCellBackground(\|) .PP .RS .TS l s s l l li . Pixel XbaeMatrixGetCellBackground(\|) Widget w; int row; int column; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose background color should be retrieved. .cI column The column of the cell whose background color should be retrieved. .sp .ne 6 .RE .B XbaeMatrixGetCellColor(\|) .PP .RS .TS l s s l l li . Pixel XbaeMatrixGetCellColor(\|) Widget w; int row; int column; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose foreground color should be retrieved. .cI column The column of the cell whose foreground color should be retrieved. .sp .ne 6 .RE .B XbaeMatrixGetCellPixmap(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetCellPixmap(\|) Widget w; int row; int column; Pixmap *pixmap; Pixmap *mask; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose pixmap and mask should be retrieved. .cI column The column of the cell whose pixmap and mask should be retrieved. .cI pixmap A pointer to a Pixmap variable, in which the function will store the cell's pixmap. .cI mask A pointer to a Pixmap variable, in which the function will store the cell's pixmap mask. .sp .ne 6 .RE .B XbaeMatrixGetCellTag(\|) .PP .RS .TS l s s l l li . XmStringTag XbaeMatrixGetCellTag(\|) Widget w; int row; int column; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose tag should be retrieved. .cI column The column of the cell tag should be retrieved. .PP .sp .B XbaeMatrixGetCellTag returns the font tag of the indicated cell. The application should not modify or free the returned value. .ne 5 .RE .B XbaeMatrixGetCellUserData(\|) .PP .RS .TS l s s l l li . XtPointer XbaeMatrixGetCellUserData(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose data should be retrieved. .cI column The column of the cell whose data should be retrieved. .PP .B XbaeMatrixGetCellUserData(\|) returns a pointer to the data assigned to the cell in the given coordinates. The data should be set using .BR XbaeMatrixSetCellUserData(\|) . If no data is found to be associated with the particular cell, .SM NULL is returned. .sp .ne 6 .RE .B XbaeMatrixGetColumnWidth(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetColumnWidth(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column whose width we're querying. .PP .B XbaeMatrixGetColumnWidth(\|) is a convenient way to query a column width. .sp .ne 4 .RE .B XbaeMatrixGetColumnLabel(\|) .PP .RS .TS l s s l l li . String XbaeMatrixGetColumnLabel(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the label that should be retrieved. .PP .B XbaeMatrixGetColumnLabel(\|) returns a pointer to the label of the given column. If no column labels exist or the given column is not a valid column .SM NULL is returned. If no data is found to be associated with the particular column, .SM NULL is returned. .sp .ne 4 .RE .B XbaeMatrixGetColumnUserData(\|) .PP .RS .TS l s s l l li . XtPointer XbaeMatrixGetColumnUserData(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the cell whose data should be retrieved. .PP .B XbaeMatrixGetColumnUserData(\|) returns a pointer to the data assigned to the given column. The data should be set using .BR XbaeMatrixSetColumnUserData(\|) . If no data is found to be associated with the particular column, .SM NULL is returned. .sp .ne 5 .RE .B XbaeMatrixGetCurrentCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixGetCurrentCell(\|) Widget w; int *row; int *column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell the ``cursor'' or TextField is in. .cI column The column of the cell the ``cursor'' or TextField is in. .PP .B XbaeMatrixGetCurrentCell(\|) allows the application developer to determine what cell is being edited or has focus. .sp .ne 5 .RE .B XbaeMatrixGetEventRowColumn(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetEventRowColumn(\|) Widget w; XEvent *event; int *row; int *column; .TE .sp .cI w An .B XbaeMatrix widget. .cI event An X event structure pointer. This is usually from an XEventHandler function. It can be either a button or a key event. .cI row The row of the cell the ``cursor'' or TextField is in. .cI column The column of the cell the ``cursor'' or TextField is in. .PP .B XbaeMatrixGetEventRowColumn(\|) allows the application developer to determine what cell corresponds to an (x, y) in an event. If the (x, y) of the event is a legal cell, row and column are set and True is returned. However, if the (x, y) is not over a cell, False is returned, and row and column will have undefined values. .sp .ne 3 .RE .B XbaeMatrixGetNumSelected(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetNumSelected(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixGetNumSelected(\|) returns the number of cells that are currently selected in the given matrix. The widget maintains an internal variable as cells are selected and deselected so a complete traversal of the widget is avoided. .sp .ne 6 .RE .B XbaeMatrixGetRowHeight(\|) .PP .RS .TS l s s l l li . int XbaeMatrixGetRowHeight(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row whose height we query. .PP .B XbaeMatrixGetRowHeight(\|) is a convenient way to query a row height. .sp .ne 4 .RE .B XbaeMatrixGetRowLabel(\|) .PP .RS .TS l s s l l li . String XbaeMatrixGetRowLabel(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the label that should be retrieved. .PP .B XbaeMatrixGetRowLabel(\|) returns a pointer to the label of the given row. If no row labels exist or the given row is not a valid row .SM NULL is returned. .sp .ne 4 .RE .B XbaeMatrixGetRowUserData(\|) .PP .RS .TS l s s l l li . XtPointer XbaeMatrixGetRowUserData(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose data should be retrieved. .PP .B XbaeMatrixGetRowUserData(\|) returns a pointer to the data assigned to the given row. The data should be set using .BR XbaeMatrixSetRowUserData(\|) . If no data is found to be associated with the particular row, .SM NULL is returned. .sp .ne 5 .RE .B XbaeMatrixGetXmColumnLabel(\|) .PP .RS .TS l s s l l li . XmString XbaeMatrixGetXmColumnLabel(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the xmLabel that should be retrieved. .PP .B XbaeMatrixGetXmColumnLabel(\|) returns a pointer to the xmLabel of the given column. If no xmColumnLabels exist or the given column is not a valid column .SM NULL is returned. If no data is found to be associated with the particular column, .SM NULL is returned. .sp .ne 4 .RE .B XbaeMatrixGetXmRowLabel(\|) .PP .RS .TS l s s l l li . XmString XbaeMatrixGetXmRowLabel(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the xmLabel that should be retrieved. .PP .B XbaeMatrixGetXmRowLabel(\|) returns a pointer to the xmLabel of the given row. If no xmRowLabels exist or the given row is not a valid row .SM NULL is returned. If no data is found to be associated with the particular row, .SM NULL is returned. .sp .ne 4 .RE .B XbaeMatrixHighlightCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixHighlightCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to highlight. .cI column The column of the cell to highlight. .PP .B XbaeMatrixHighlightCell(\|) allows the application developer to programmatically highlight a cell. .B XbaeMatrixHighlightCell(\|) draws the highlight around the cell. The corresponding unsigned char in the .B XmNhighlightedCells array will be have its .B HighlightCell bit set. .sp .ne 4 .RE .B XbaeMatrixHighlightColumn(\|) .PP .RS .TS l s s l l li . void XbaeMatrixHighlightColumn(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column to highlight. .PP .B XbaeMatrixHighlightColumn(\|) allows the application developer to programmatically highlight a column. .B XbaeMatrixHighlightColumn(\|) draws the highlight around the column if .B XmNgridType is .B XmGRID_COLUMN_SHADOW or from around each cell in the column otherwise. The corresponding unsigned chars in the .B XmNhighlightedCells array will be have its .B HighlightColumn or .B HighlightOther bit set, depending on whether .B XmNgridType is set to .B XmGRID_COLUMN_SHADOW or not. .sp .ne 4 .RE .B XbaeMatrixHighlightRow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixHighlightRow(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row to highlight. .PP .B XbaeMatrixHighlightRow(\|) allows the application developer to programmatically highlight a row. .B XbaeMatrixHighlightRow(\|) draws the highlight around the row if .B XmNgridType is .B XmGRID_ROW_SHADOW or from around each cell in the row otherwise. The corresponding unsigned chars in the .B XmNhighlightedCells array will be have its .B HighlightRow or .B HighlightOther bit set, depending on whether .B XmNgridType is set to .B XmGRID_ROW_SHADOW or not. .sp .ne 5 .RE .B XbaeMatrixIsCellSelected(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsCellSelected(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to check. .cI column The column of the cell to check. .PP .B XbaeMatrixIsCellSelected(\|) allows the application developer to determine whether or not a particular cell is selected. The function returns True if the cell is selected and False otherwise. .sp .ne 5 .RE .B XbaeMatrixIsCellVisible(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsCellVisible(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to check. .cI column The column of the cell to check. .PP .B XbaeMatrixIsCellVisible(\|) allows the application developer to determine whether or not a particular cell is in the visible area of the .B XbaeMatrix widget. The function returns True if the cell is visible and False otherwise. .sp .ne 4 .RE .B XbaeMatrixIsColumnSelected(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsColumnSelected(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the matrix to check. .PP .B XbaeMatrixIsColumnSelected(\|) allows the application developer to determine whether or not a particular column is selected. The function returns True if the column is selected and False otherwise. A column must be selected in its entirety for .B XbaeMatrixIsColumnSelected(\|) to return True. .sp .ne 4 .RE .B XbaeMatrixIsColumnVisible(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsColumnVisible(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the matrix to check. .PP .B XbaeMatrixIsColumnVisible(\|) allows the application developer to determine whether or not a particular column is in the visible area of the .B XbaeMatrix widget. The function returns True if the column is visible and False otherwise. .sp .ne 4 .RE .B XbaeMatrixIsRowSelected(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsRowSelected(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the matrix to check. .PP .B XbaeMatrixIsRowSelected(\|) allows the application developer to determine whether or not a particular row is selected. The function returns True if the row is selected and False otherwise. A row must be selected in its entirety for .B XbaeMatrixIsRowSelected(\|) to return True. .sp .ne 4 .RE .B XbaeMatrixIsRowVisible(\|) .PP .RS .TS l s s l l li . Boolean XbaeMatrixIsRowVisible(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the matrix to check. .PP .B XbaeMatrixIsRowVisible(\|) allows the application developer to determine whether or not a particular row is in the visible area of the .B XbaeMatrix widget. The function returns True if the row is visible and False otherwise. .sp .ne 5 .RE .B XbaeMatrixMakeCellVisible(\|) .PP .RS .TS l s s l l li . int XbaeMatrixMakeCellVisible(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row to scroll into the visible area of the matrix. .cI column The column to scroll into the visible area of the matrix. .PP .B XbaeMatrixMakeCellVisible(\|) allows a cell to be programatically scrolled into the visible area of the .B XbaeMatrix widget. By calling this function, the .B XmNselectScrollVisible resource is ignored. For a more accurate cell location after scrolling, the programmer should use the .BR XmNleftColumn and XmNtopRow resources. .sp .ne 3 .RE .B XbaeMatrixNumRows(\|) .PP .RS .TS l s s l l li . int XbaeMatrixNumRows(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixNumRows(\|) returns the number of rows in the given matrix. .sp .ne 3 .RE .B XbaeMatrixNumColumns(\|) .PP .RS .TS l s s l l li . int XbaeMatrixNumColumns(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixNumColumns(\|) returns the number of columns in the given matrix. .sp .ne 3 .RE .B XbaeMatrixNumRows(\|) .PP .RS .TS l s s l l li . int XbaeMatrixNumRows(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixNumRows(\|) returns the number of rows in the given matrix. .sp .ne 3 .RE .B XbaeMatrixRefresh(\|) .PP .RS .TS l s s l l li . void XbaeMatrixRefresh(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixRefresh(\|) allows the application developer to force the widget to redraw itself. This might be used when the programmer knows the widget's values have changed, but the widget has not detected the change. For example, the quickest way to swap the values of 2 rows would be to do an XtGetValues on .BR XmNcells , swap the values of the 2 rows, and then do an XtSetValues on .B XmNcells with the same StringTable variable. Because of the way the Intrinsics work, the widget will not see this change and will display the old values until a redraw is preformed because of a resize or scroll event (assuming no other change in the XtSetValues caused a redraw). Calling .B XbaeMatrixRefresh(\|) will cause the correct values to be drawn and overcome this limitation in the Intrinsics. While this function should rarely be needed, it is provided ``just in case''. .sp .ne 5 .RE .B XbaeMatrixRefreshCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixRefreshCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to redraw. .cI column The column of the cell to redraw. .PP .B XbaeMatrixRefreshCell(\|) allows the application developer to redraw a specific cell of the matrix. This function is particularly useful when used with the .B XbaeMatrixDrawCellCallback as it allows updates of the data without an explicit expose event. .sp .ne 5 .RE .B XbaeMatrixRefreshColumn(\|) .PP .RS .TS l s s l l li . void XbaeMatrixRefreshColumn(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column of the matrix to redraw. .PP .B XbaeMatrixRefreshColumn(\|) allows the application developer to efficiently redraw a specific column of the matrix. .sp .ne 5 .RE .B XbaeMatrixRefreshRow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixRefreshRow(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the matrix to redraw. .PP .B XbaeMatrixRefreshRow(\|) allows the application developer to efficiently redraw a specific row of the matrix. .sp .ne 6 .RE .B XbaeMatrixRowColToXY(\|) .PP .RS .TS l s s l l li . int XbaeMatrixRowColToXY(\|) Widget w; int row; int column; int *x; int *y; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row the of the cell in question. .cI column The column the of the cell in question. .cI x The x coordinate returned that represents the left coordinates of the given cell. .cI y The y coordinate returned that represents the upper coordinates of the given cell. .PP .B XbaeMatrixRowColToXY(\|) allows the application developer to determine the coordinates of the upper left corner of a given cell. If the given widget is not an .B XbaeMatrix widget, False will be returned and the values of x and y will be undefined. This function is useful for drag and drop calculations. .sp .ne 3 .RE .B XbaeMatrixSelectAll(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSelectAll(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixSelectAll(\|) allows the application developer to programmatically select all cells. .B XbaeMatrixSelectAll(\|) redraws the cells in reverse video. All Booleans in the .B XmNselectedCells array will be set to True. .sp .ne 5 .RE .B XbaeMatrixSelectCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSelectCell(\|) Widget w; int row; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell to select. .cI column The column of the cell to select. .PP .B XbaeMatrixSelectCell(\|) allows the application developer to programmatically select a cell. .B XbaeMatrixSelectCell(\|) first scrolls the specified cell until it is visible, and then draws the cell in reverse video (or selectedForeground / selectedBackground if set). The corresponding Boolean in the .B XmNselectedCells array will be set to True. .sp .ne 4 .RE .B XbaeMatrixSelectColumn(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSelectColumn(\|) Widget w; int column; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column to select. .PP .B XbaeMatrixSelectColumn(\|) allows the application developer to programmatically select a column. .B XbaeMatrixSelectColumn(\|) first scrolls the specified column until it is visible, and then draws the column in reverse video (or selectedForeground / selectedBackground if set). The corresponding Booleans in the .B XmNselectedCells array will be set to True. .sp .ne 4 .RE .B XbaeMatrixSelectRow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSelectRow(\|) Widget w; int row; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row to select. .PP .B XbaeMatrixSelectRow(\|) allows the application developer to programmatically select a row. .B XbaeMatrixSelectRow(\|) first scrolls the specified row until it is visible, and then draws the row in reverse video (or selectedForeground / selectedBackground if set). The corresponding Booleans in the .B XmNselectedCells array will be set to True. .sp .ne 6 .RE .B XbaeMatrixSetCell(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCell(\|) Widget w; int row; int column; const String value; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose value should be set. .cI column The column of the cell whose value should be set. .cI value The new value to set this cell to. .PP .B XbaeMatrixSetCell(\|) allows the application developer to programmatically set the value of the specified cell. To set the values of many cells, it may be more efficient to do an XtSetValues(\|) on the .B XmNcells resource. .sp .ne 6 .RE .B XbaeMatrixSetCellBackground(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellBackground(\|) Widget w; int row; int column; Pixel color; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose backgroundshould be set. .cI column The column of the cell whose background should be set. .cI color The new color to which to set this cell's background. .PP .B XbaeMatrixSetCellBackground(\|) is a convenient way to specify and modify the .B XmNcellBackgrounds resource when changing the background of a single cell. If .B XmNcellBackgrounds is .SM NULL, then .B XbaeMatrixSetCellBackground(\|) will create a Pixel table initialized to .B XmNforeground except for the cell specified in it's arguments. If .B XmNcellBackgrounds is not .SM NULL, then .B XbaeMatrixSetCellBackground(\|) will changed the specified cell in that resource to the specified color. .sp .ne 6 .RE .B XbaeMatrixSetCellColor(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellColor(\|) Widget w; int row; int column; Pixel color; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose color should be set. .cI column The column of the cell whose color should be set. .cI color The new color to which to set this cell. .PP .B XbaeMatrixSetCellColor(\|) is a convenient way to specify and modify the .B XmNcolors resource when changing the color of a single cell. If .B XmNcolors is .SM NULL, then .B XbaeMatrixSetCellColor(\|) will create a Pixel table initialized to .B XmNforeground except for the cell specified in it's arguments. If .B XmNcolors is not .SM NULL, then .B XbaeMatrixSetCellColor(\|) will changed the specified cell in that resource to the specified color. .sp .ne 6 .RE .B XbaeMatrixSetCellPixmap(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellPixmap(\|) Widget w; int row; int column; Pixmap pixmap; Pixmap mask; .TE .sp .cI w A .B XbaeMatrix widget. .cI row The row of the cell whose pixmap and mask should be set. .cI column The column of the cell whose pixmap and mask should be set. .cI pixmap the function will store the contents of this Pixmap variable .cI mask the function will store the contents of this variable as the pixmap mask .PP .sp .B XbaeMatrixSetCellPixmap will set the pixmap and the associated mask of the indicated cell. If the row or column are out of bounds, or the widget is not an .B XbaeMatrix widget, then nothing is changed; this erroneous condition is silently ignored. .sp .ne 6 .RE .B XbaeMatrixSetCellShadow(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellShadow(\|) Widget w; int row; int column; unsigned char shadow_type; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose shadow should be set. .cI column The column of the cell whose shadow should be set. .cI shadow_type The value to which to set the cells shadow .PP .B XbaeMatrixSetShadow(\|) allows the application developer to programmatically set the shadow of a specified cell. .sp .ne 6 .RE .B XbaeMatrixSetCellTag(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellTag(\|) Widget w; int row; int column; XmStringTag tag; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose tag should be set. .cI column The column of the cell whose tag should be set. .cI tag The value to which to set the cells tag .PP .B XbaeMatrixSetTag(\|) allows the application developer to programmatically set the font tag of a specified cell. This value is copied (quarkified). .sp .ne 6 .RE .B XbaeMatrixSetCellUserData(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellUserData(\|) Widget w; int row; int column; XtPointer data; .TE .sp .cI w An .B XbaeMatrix widget. .cI row The row of the cell whose value should be set. .cI column The column of the cell whose value should be set. .cI data A pointer to a user defined data area. .PP .B XbaeMatrixSetCellUserData(\|) allows the application developer to programmatically set the user data of a specified cell. To set the data value of many cells, it may be more efficient to do an XtSetValues(\|) on the .B XmNcellUserData resource. This resource is copied. .sp .ne 6 .RE .\" .\" XXX 1 .\" .xcb1 XbaeMatrixSetCellWidget .TS l s s l l li . void XbaeMatrixSetCellWidget(w, row, column, widget) Widget w; int row; int column; Widget widget; .TE .xcb2 .B XbaeMatrixSetCellWidget(\|) is a function to attach a widget to a matrix cell. The cell is selected by specifying its .B row and .B column , .B widget is the cell widget to be associated with that cell. XbaeMatrix will manage the cell widget's position and size so it is displayed inside the cell at all times, including when scrolling. .PP Using a NULL .B widget removes the link between a widget and its cell. Only one widget can be in a cell, a widget should also be in only one cell at a time. .xcb3 .\" .\" XXX 2 .\" .B XbaeMatrixSetCellWidget(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetCellWidget(w, row, column, widget) Widget w; int row; int column; Widget widget; .TE .sp .B XbaeMatrixSetCellWidget(\|) is a function to attach a widget to a matrix cell. The cell is selected by specifying its .B row and .B column , .B widget is the cell widget to be associated with that cell. XbaeMatrix will manage the cell widget's position and size so it is displayed inside the cell at all times, including when scrolling. .PP Using a NULL .B widget removes the link between a widget and its cell. Only one widget can be in a cell, a widget should also be in only one cell at a time. .sp .ne 6 .RE .\" .\" XXX 3 .\" .B XbaeMatrixSetColumnBackgrounds(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetColumnBackgrounds(\|) Widget w; int position; Pixel *colors; int num_colors; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The column position at which to begin applying the new backgrounds. Must be greater than or equal to zero, and (position + num_colors) must be less than or equal to .BR XmNcolumns . .cI colors Points to an array of Pixel. These specify the backgrounds for the cells in the specified columns. The colors array must have num_colors elements. .cI num_colors The number of colors in the colors array. .PP .B XbaeMatrixSetColumnBackgrounds(\|) is a convenient way to specify and modify the .B XmNcellBackgrounds resource when setting the background of an entire column or columns. If .B XmNcellBackgrounds is .SM NULL, then .B XbaeMatrixSetColumnBackgrounds(\|) will create a Pixel table initialized to .B XmNforeground except for the columns specified in it's arguments. If .B XmNcellBackgrounds is not .SM NULL, then .B XbaeMatrixSetColumnBackgrounds(\|) will changed the specified columns in that resource to the specified colors. .sp .ne 6 .RE .B XbaeMatrixSetColumnColors(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetColumnColors(\|) Widget w; int position; Pixel *colors; int num_colors; .TE .sp .cI w An .B XbaeMatrix widget. .cI position The column position at which to begin applying the new colors. Must be greater than or equal to zero, and (position + num_colors) must be less than or equal to .BR XmNcolumns . .cI colors Points to an array of Pixel. These specify the colors for the cells in the specified columns. The colors array must have num_colors elements. .cI num_colors The number of colors in the colors array. .PP .B XbaeMatrixSetColumnColors(\|) is a convenient way to specify and modify the .B XmNcolors resource when setting the color of an entire column or columns. If .B XmNcolors is .SM NULL, then .B XbaeMatrixSetColumnColors(\|) will create a Pixel table initialized to .B XmNforeground except for the columns specified in it's arguments. If .B XmNcolors is not .SM NULL, then .B XbaeMatrixSetColumnColors(\|) will changed the specified columns in that resource to the specified colors. .sp .ne 6 .RE .B XbaeMatrixSetColumnWidth(\|) .PP .RS .TS l s s l l li . void XbaeMatrixSetColumnWidth(\|) Widget w; int column; int width; .TE .sp .cI w An .B XbaeMatrix widget. .cI column The column whose width we'll be changing. .cI width The new width of this column. A column width can be 0 to hide a column. .PP .B XbaeMatrixSetColumnWidth(\|) is a convenient way to change the width of a column without the need to allocate an array with column width numbers. Passing -1 as the new width will reset the column width to the default value. .sp .ne 5 .RE .xcb1 XbaeMatrixSetColumnLabel .TS l s s l l li . void XbaeMatrixSetColumnLabel(\|) Widget w; int column; String value; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column of the label is to be set. .cI value The new value of the label. .PP .B XbaeMatrixSetColumnLabel(\|) allows the application developer to programmatically change the label of a specified column. .xcb3 .sp .ne 5 .RE .xcb1 XbaeMatrixSetColumnShadow .TS l s s l l li . void XbaeMatrixSetColumnShadow(\|) Widget w; int column; unsidned char shadow_type; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column for which the shadow to be set. .cI shadow_type The new value of the shadow. .PP .B XbaeMatrixSetColumnShadow(\|) allows the application developer to programmatically change the shadow of a specified column. .xcb3 .xcb1 XbaeMatrixSetColumnUserData .TS l s s l l li . void XbaeMatrixSetColumnUserData(\|) Widget w; int column; XtPointer data; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column whose value should be set. .cI data A pointer to a user defined data area. .PP .B XbaeMatrixSetColumnUserData(\|) allows the application developer to programmatically associate user data for the specified column. .xcb3 .xcb1 XbaeMatrixSetRowBackgrounds .TS l s s l l li . void XbaeMatrixSetRowBackgrounds(\|) Widget w; int position; Pixel *colors; int num_colors; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI position The row position at which to begin applying the new colors. Must be greater than or equal to zero, and (position + num_colors) must be less than or equal to .BR XmNrows . .cI colors Points to an array of Pixel. These specify the backgrounds for the cells in the specified rows. The colors array must have num_colors elements. .cI num_colors The number of colors in the colors array. .PP .B XbaeMatrixSetRowBackgrounds(\|) is a convenient way to specify and modify the .B XmNcellBackgrounds resource when setting the background of an entire row or rows. If .B XmNcellBackgrounds is .SM NULL, then .B XbaeMatrixSetRowBackgrounds(\|) will create a Pixel table initialized to .B XmNforeground except for the rows specified in it's arguments. If .B XmNcellBackgrounds is not .SM NULL, then .B XbaeMatrixSetRowBackgrounds(\|) will changed the specified rows in that resource to the specified colors. .xcb3 .xcb1 XbaeMatrixSetRowColors .TS l s s l l li . void XbaeMatrixSetRowColors(\|) Widget w; int position; Pixel *colors; int num_colors; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI position The row position at which to begin applying the new colors. Must be greater than or equal to zero, and (position + num_colors) must be less than or equal to .BR XmNrows . .cI colors Points to an array of Pixel. These specify the colors for the cells in the specified rows. The colors array must have num_colors elements. .cI num_colors The number of colors in the colors array. .PP .B XbaeMatrixSetRowColors(\|) is a convenient way to specify and modify the .B XmNcolors resource when setting the color of an entire row or rows. If .B XmNcolors is .SM NULL, then .B XbaeMatrixSetRowColors(\|) will create a Pixel table initialized to .B XmNforeground except for the rows specified in it's arguments. If .B XmNcolors is not .SM NULL, then .B XbaeMatrixSetRowColors(\|) will changed the specified rows in that resource to the specified colors. .xcb3 .xcb1 XbaeMatrixSetRowHeight .TS l s s l l li . void XbaeMatrixSetRowHeight(\|) Widget w; int row; int height; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row whose height we'll be changing. .cI height The new height of this row. A row height can be 0 to hide a row. .PP .B XbaeMatrixSetRowHeight(\|) is a convenient way to change the height of a row without the need to allocate an array with row height numbers. Passing -1 as the new height will reset the row's height to the default value. .xcb3 .xcb1 XbaeMatrixSetRowLabel .TS l s s l l li . void XbaeMatrixSetRowLabel(\|) Widget w; int row; String value; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row of the label is to be set. .cI value The new value of the label. .PP .B XbaeMatrixSetRowLabel(\|) allows the application developer to programmatically change the label of the specified row. .xcb3 .xcb1 XbaeMatrixSetRowShadow .TS l s s l l li . void XbaeMatrixSetRowShadow(\|) Widget w; int column; unsigned char shadow_type; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row whose shadow should be set. .cI shadow_type The value of the new shadow. .PP .B XbaeMatrixSetRowShadow(\|) allows the application developer to programmatically change the shadow for the specified row. .xcb3 .xcb1 XbaeMatrixSetRowUserData .TS l s s l l li . void XbaeMatrixSetRowUserData(\|) Widget w; int column; XtPointer data; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row whose value should be set. .cI data A pointer to a user defined data area. .PP .B XbaeMatrixSetRowUserData(\|) allows the application developer to programmatically associate user data for the specified row. .xcb3 .xcb1 XbaeMatrixSetXmColumnLabel .TS l s s l l li . void XbaeMatrixSetXmColumnLabel(\|) Widget w; int column; XmString value; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column of the xmLabel is to be set. .cI value The new value of the xmLabel. .PP .B XbaeMatrixSetXmColumnLabel(\|) allows the application developer to programmatically change the xmLabel of a specified column. .xcb3 .xcb1 XbaeMatrixSetXmRowLabel .TS l s s l l li . void XbaeMatrixSetXmRowLabel(\|) Widget w; int row; XmString value; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row of the xmLabel is to be set. .cI value The new value of the xmLabel. .PP .B XbaeMatrixSetXmRowLabel(\|) allows the application developer to programmatically change the xmLabel of a specified row. .xcb3 .xcb1 XbaeMatrixSortColumns .TS l s s l l li . void XbaeMatrixSortColumns(\|) Widget w; int (*proc)(Widget, int, int, void *); void *user_data; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI proc a pointer to a function that can compare columns. .cI user_data a pointer the application can use for its own needs. .PP .B XbaeMatrixSortColumns allows you to sort the columns in the .B XbaeMatrix widget according to criteria determined by the .B proc function. The .B proc function should have the above signature and functionality as demanded by the .B qsort(3) function. It will be called with a the matrix being sorted, the indices of two columns to compare and the user_data pointer .B XbaeMatrixSortColumns was called with. It should return -1, 0, or 1 as appropriate. It is guaranteed that the matrix does not change while sorting and the necessary reordering will only take place after the last call to proc has been made. .xcb3 .xcb1 XbaeMatrixSortRows .TS l s s l l li . void XbaeMatrixSortRows(\|) Widget w; int (*proc)(Widget, int, int, void *); void *user_data; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI proc a pointer to a function that can compare rows. .cI user_data a pointer the application can use for its own needs. .PP .B XbaeMatrixSortRows allows you to sort the rows in the .B XbaeMatrix widget according to criteria determined by the .B proc function. The .B proc function should have the above signature and functionality as demanded by the .B qsort(3) function. It will be called with the matrix being sorted, the indices of two rows to compare and the user_data pointer .B XbaeMatrixSortRows was called with. It should return -1, 0, or 1 as appropriate. It is guaranteed that the matrix does not change while sorting and the necessary reordering will only take place after the last call to proc has been made. .xcb3 .xcb1 XbaeMatrixUnhighlightAll .TS l s s l l li . void XbaeMatrixUnhighlightAll(\|) Widget w; .TE .xcb2 .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixUnhighlightAll(\|) allows the application developer to programmatically unhighlight all cells. .B XbaeMatrixUnhighlightAll(\|) erases the highlight from all cells. All unsigned chars in the .B XmNhighlightedCells array will be set to .BR HighlightNone . .xcb3 .xcb1 XbaeMatrixUnhighlightCell .TS l s s l l li . void XbaeMatrixUnhighlightCell(\|) Widget w; int row; int column; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row of the cell to unhighlight. .cI column The column of the cell to unhighlight. .PP .B XbaeMatrixUnhighlightCell(\|) allows the application developer to programmatically unhighlight a cell. .B XbaeMatrixUnhighlightCell(\|) erases the highlight from the cell. The corresponding unsigned char in the .B XmNhighlightedCells array will be have its .B HighlightCell bit cleared. .xcb3 .xcb1 XbaeMatrixUnhighlightColumn .TS l s s l l li . void XbaeMatrixUnhighlightColumn(\|) Widget w; int column; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI column The column to unhighlight. .PP .B XbaeMatrixUnhighlightColumn(\|) allows the application developer to programmatically unhighlight a column. .B XbaeMatrixUnhighlightColumn(\|) erases the highlight from around the column if .B XmNgridType is .B XmGRID_COLUMN_SHADOW or from around each cell in the column otherwise. The corresponding unsigned chars in the .B XmNhighlightedCells array will be have its .B HighlightColumn or .B HighlightOther bit cleared, depending on whether .B XmNgridType is set to .B XmGRID_COLUMN_SHADOW or not. .xcb3 .xcb1 XbaeMatrixUnhighlightRow .TS l s s l l li . void XbaeMatrixUnhighlightRow(\|) Widget w; int row; .TE .xcb2 .cI w An .B XbaeMatrix widget. .cI row The row to unhighlight. .PP .B XbaeMatrixUnhighlightRow(\|) allows the application developer to programmatically unhighlight a row. .B XbaeMatrixUnhighlightRow(\|) erases the highlight from around the row if .B XmNgridType is .B XmGRID_ROW_SHADOW or from around each cell in the row otherwise. The corresponding unsigned chars in the .B XmNhighlightedCells array will be have its .B HighlightRow or .B HighlightOther bit cleared, depending on whether .B XmNgridType is set to .B XmGRID_ROW_SHADOW or not. .xcb3 .B XbaeMatrixVisibleCells(\|) .PP .RS .TS l s s l l li . int XbaeMatrixVisibleCells(\|) Widget w; int *top_row; int *bottom_row; int *left_column; int *right_column; .TE .sp .cI w An .B XbaeMatrix widget. .cI top_row The first row that is currently visible in the matrix. .cI bottom_row The last row that is currently visible in the matrix. .cI left_column The leftmost column that is currently visible in the matrix. .cI right_column The rightmost column that is currently visible in the matrix. .PP .B XbaeMatrixVisibleCells(\|) allows the the application developer to obtain the currently visible portion of the .B XbaeMatrix .IR w . .sp .ne 3 .RE .B XbaeMatrixVisibleColumns(\|) .PP .RS .TS l s s l l li . int XbaeMatrixVisibleColumns(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixVisibleColumns(\|) allows the the application developer to programmatically check how many columns are currently displayed in the .B XbaeMatrix .IR w . A partially visible column will be declared an entire column. .sp .ne 3 .RE .B XbaeMatrixVisibleRows(\|) .PP .RS .TS l s s l l li . int XbaeMatrixVisibleRows(\|) Widget w; .TE .sp .cI w An .B XbaeMatrix widget. .PP .B XbaeMatrixVisibleRows(\|) allows the the application developer to programmatically check how many rows are currently displayed in the .B XbaeMatrix .IR w . A partially visible row will be declared an entire row. .PP .ne 3 .RE .B XbaeGetVersionNum(\|) .PP .RS .TS l s s l l li . int XbaeGetVersionNum(\|) .TE .sp .PP .B XbaeGetVersionNum(\|) is a function that returns the numeric representation of the version of the Xbae library that your program is working with. This is the run-time version of the Xbae widgets, where .B XbaeVersion is a macro that represents the compile-time version. .PP The numeric representation is a simple calculation based on the major, minor, and pico numbers representing an Xbae widget release. E.g. version 4.8.1 would be represented as 40801. .PP Releases prior to 4.8.0 didn't have this functionality. .PP .sp .ne 3 .RE .B XbaeGetVersionText(\|) .PP .RS .TS l s s l l li . char * XbaeGetVersionText(\|) .TE .sp .PP .B XbaeGetVersionText(\|) is a function that returns the textual representation of the version of the Xbae library that your program is working with. This is the run-time version of the Xbae widgets, where .B XbaeVersionTxt is a macro that represents the compile-time version. .PP .RE .sp .RE .sp .SH "Additional Behavior" .sp Using XtSetValues to set the Matrix's .B XmNwidth resource to 0 will cause it to recompute it's horizontal size. It will request a new size which results in .B XmNvisibleColumns columns being displayed. If .B XmNvisibleColumns is 0, then it will request a new size such that it does not need a horizontal ScrollBar (full horizontal size). .PP Using XtSetValues to set the Matrix's .B XmNheight resource to 0 will cause it to recompute it's vertical size. It will request a new size which results in .B XmNvisibleRows rows being displayed. If .B XmNvisibleRows is 0, then it will request a new size such that it does not need a vertical ScrollBar (full vertical size). .PP An XtSetValues on .B XmNvisibleRows will cause the Matrix to request a new size which results in .B XmNvisibleRows non-fixed rows being displayed, only if the new value is different than the old one. .PP An XtSetValues on .B XmNvisibleColumns will cause the Matrix to request a new size which results in the first .B XmNvisibleColumns non-fixed columns being displayed, only if the new value is different than the old one. .PP An XtSetValues on any other resource will not result in a request for a new size. Setting other resources in conjunction with setting .B XmNwidth and/or .B XmNheight to 0 allows for more control of the Matrix's geometry. .PP An XtSetValues setting .B XmNrowLabelWidth to 0 will cause .B XmNrowLabelWidth to be set to the width of the longest row label. .sp .SH "Virtual Bindings" .sp The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see .BR VirtualBindings(3X) . .SH AUTHOR .B Andrew Wason \fC(aw@bae.bellcore.com)\fP of Bellcore, Piscataway NJ, wrote the original version of the Xbae widgets. His final release of the widgets was version 3.8. .sp .B Kevin Brannen \fC(kbrannen@metronet.com)\fP took over maintainership following Andrew Wason's departure and released version 4.0. .sp .B Andrew Lister \fC(lister@db.com)\fP maintained from 1995 to 1999. .SH "SPECIAL THANKS" Andrew Wason for the original idea and source code. .br Jay Schmidgall for his contributions. .br Nick Banyard for providing the multibyte extensions. .br Callum Gibson for the pattern parsing in the XbaeInput widget. .br Sascha Goebel for debugging the scroll-per-pixel code. .br Tobias Oed for lots of code cleanup and debugging. .br The people from Arcad Systemhaus for code submission for XbaeMatrixSort and a couple of related functionalities, and easier pixmap support. .TE .SH RELEASE .sp This document describes XbaeMatrix, version 4.60.4. .SH "SEE ALSO" .B Core(3X), Composite(3X), XmManager(3X), XmScrollBar(3X), XbaeInput(3X), XmText(3X) .SH "Notice of Limitation" .sp Bellcore, previous and current maintainers of the Xbae widgets (collectively 'authors') provide this information solely to professionals who have the appropriate degree of experience to understand and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. No recommendations as to products or vendors is made or should be implied. .PP While the information contained herein has been prepared from sources deemed to be reliable, the authors reserve the right to revise the information without notice, but has no obligation to do so. Unless the recipient has been expressly granted a license by Bellcore under separate applicable written agreement with Bellcore, no license, expressed or implied, is granted under any patents, copyrights or other intellectual property rights. Use of the information is at your discretion and shall not be deemed an inducement by Bellcore to infringe any existing or later-issued patent, copyrights or other intellectual property right. .PP THE AUTHORS MAKE NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE INFORMATION IS PROVIDED ``AS IS'', AND IN NO EVENT SHALL THE AUTHORS OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION. .PP Copyright 1991, 1992 Bellcore. .br Copyright 1995-99 Andrew Lister All Rights Reserved. .br Copyright 1999-2002 LessTif Developers .sp 3 The above no warranty extends to all additions and contributions. No contributor shall be held liable; this work is provided ``as is''. If this is a problem for you, then don't use this software. xbae-4.60.4/src/Draw.c0000644000076400007640000015467110432424513011321 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * $Id: Draw.c,v 1.129 2006/05/16 19:14:43 tobiasoed Exp $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* * Width in pixels of a character in a given font */ #define charWidth(fs,c) ( \ (fs)->per_char \ ? (fs)->per_char[((c) < (fs)->min_char_or_byte2 || (c) >= (fs)->max_char_or_byte2\ ? (fs)->default_char - (fs)->min_char_or_byte2 \ : (c) - (fs)->min_char_or_byte2)].width \ : (fs)->min_bounds.width) /* * Draw a string with specified attributes. We want to avoid having to * use a GC clip_mask, so we clip by characters. This complicates the code. */ static void xbaeDrawString(XbaeMatrixWidget mw, Window win, GC gc, int x, int y, int width, int height, unsigned char alignment, Boolean bold, Boolean arrows, Boolean underline, Boolean multiline, unsigned char wrap, Pixel color, String string, XbaeMatrixFontInfo *font, int font_height, int baseline) { int aw = mw->matrix.cell_font.width / 2; int ah = mw->matrix.cell_font.height / 2; int length = strlen(string); x += CELL_BORDER_WIDTH(mw); y += CELL_BORDER_HEIGHT(mw); width -= 2 * CELL_BORDER_WIDTH(mw); height -= 2 * CELL_BORDER_HEIGHT(mw); /* * Don't worry, XSetForeground is smart about avoiding unnecessary * protocol requests. */ XSetForeground(XtDisplay(mw), gc, color); if (font->type == XmFONT_IS_FONTSET) { XFontSet font_set = font->fontp.font_set; XRectangle *ink_array = NULL; XRectangle *logical_array = NULL; XRectangle overall_logical; int num_chars; int start_char, current_char, end_char; int start, current, end; mbstate_t start_mbs, current_mbs, end_mbs; ink_array = (XRectangle *) XtMalloc(length * sizeof(XRectangle)); logical_array = (XRectangle *) XtMalloc(length * sizeof(XRectangle)); XmbTextPerCharExtents(font_set, string, length, ink_array, logical_array, length, &num_chars, NULL, &overall_logical); memset (&start_mbs, '\0', sizeof start_mbs); memset (¤t_mbs, '\0', sizeof current_mbs); memset (&end_mbs, '\0', sizeof end_mbs); for( start_char = 0, start = 0, end_char = 0, end = 0 ; height > 0 && end_char < num_chars && end < length ; height -= font_height , y += font_height , start_char = end_char , start = end , start_mbs = end_mbs) { Boolean LeftArrow = False; Boolean RightArrow = False; Boolean doclip = False; int current_width, offset; /* * If the font is too tall for the space we have to clip */ if (height < font_height) { XRectangle clipht = {x, y, width, height}; XSetClipRectangles(XtDisplay(mw), gc, 0, 0, &clipht, 1, Unsorted); doclip = True; } /* * Find the dimensions of the line */ if (multiline) { int space_char = 0; int space = 0; int space_width = 0; mbstate_t space_mbs; current_width = 0; switch (wrap) { case XbaeWrapNone: while( end_char < num_chars && end < length && string[end] != '\n') { int cw = logical_array[end_char].width; int cl = mbrlen(string + end, length - end, &end_mbs); current_width += cw; end += cl; end_char++; } break; case XbaeWrapContinuous: while( end_char < num_chars && end < length && string[end] != '\n' && current_width + logical_array[end_char].width < width) { int cw = logical_array[end_char].width; int cl = mbrlen(string + end, length - end, &end_mbs); current_width += cw; end += cl; end_char++; } break; case XbaeWrapWord: while( end_char < num_chars && end < length && string[end] != '\n' && current_width + logical_array[end_char].width < width) { int cw = logical_array[end_char].width; int cl = mbrlen(string + end, length - end, &end_mbs); if (isspace(string[end])) { space = end; space_char = end_char; space_mbs = end_mbs; space_width = current_width; } current_width += cw; end += cl; end_char++; } break; } if (end == length) { current = end; current_char = end_char; current_mbs = end_mbs; } else if (string[end] == '\n') { current = end; current_char = end_char; current_mbs = end_mbs; end++; end_char++; } else if (space_width > 0) { current_width = space_width; current = space; current_char = space_char; current_mbs = space_mbs; end = space + 1; end_char = space_char + 1; } else { current = end; current_char = end_char; current_mbs = end_mbs; } } else { current_width = overall_logical.width; current = end = length; current_char = end_char = num_chars; } switch (alignment) { case XmALIGNMENT_CENTER: offset = width / 2 - current_width / 2; break; case XmALIGNMENT_END: offset = width - current_width; break; case XmALIGNMENT_BEGINNING: default: offset = 0; break; } /* * Trim the beginning of the string */ if (offset < 0) { int min; if (arrows) { LeftArrow = True; min = aw; } else { min = 0; } while(offset < min) { int cw = logical_array[start_char].width; int cl = mbrlen(string + start, length - start, &start_mbs); current_width -= cw; offset += cw; start += cl; start_char++; } } /* * Trim the end of the string */ if (offset + current_width > width) { int max; if (arrows) { RightArrow = True; max = width - aw; } else { max = width; } current_width = 0; current_char = start_char; current = start; current_mbs = start_mbs; while(offset + current_width + logical_array[current_char].width <= max) { int cw = logical_array[current_char].width; int cl = mbrlen(string + current, length - current, ¤t_mbs); current_width += cw; current += cl; current_char++; } } /* * If we have arrows, draw them */ if (LeftArrow) { XPoint points[3]; points[0].x = points[1].x = x + aw; points[0].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2; points[1].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2 + ah; points[2].x = x; points[2].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2 + ah / 2; XFillPolygon(XtDisplay(mw), win, gc, points, 3, Convex, CoordModeOrigin); } if (RightArrow) { XPoint points[3]; points[0].x = points[1].x = x + width - 1 - aw; points[0].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2; points[1].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2 + ah; points[2].x = x + width - 1; points[2].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2 + ah / 2; XFillPolygon(XtDisplay(mw), win, gc, points, 3, Convex, CoordModeOrigin); } /* * Draw the string */ XmbDrawString(XtDisplay(mw), win, font_set, gc, x + offset, y + baseline, string + start, current - start); if (bold) XmbDrawString(XtDisplay(mw), win, font_set, gc, x + offset - 1, y + baseline, string + start, current - start); if (underline && current_width) { int i; for (i = 0; i < mw->matrix.underline_width; i++) XDrawLine(XtDisplay(mw), win, gc, x + offset, y + baseline + mw->matrix.underline_position + i, x + offset + current_width, y + baseline + mw->matrix.underline_position + i); } if (doclip) { XSetClipMask(XtDisplay(mw), gc, None); } } if (ink_array) XtFree((char *) ink_array); if (logical_array) XtFree((char *) logical_array); } else { XFontStruct *font_struct = font->fontp.font_struct; int start, current, end; for( start = 0, end = 0 ; height > 0 && end < length ; height -= font_height , y += font_height , start = end) { Boolean LeftArrow = False; Boolean RightArrow = False; Boolean doclip = False; int current_width, offset; /* * If the font is too tall for the space we have to clip */ if (height < font_height) { XRectangle clipht = {x, y, width, height}; XSetClipRectangles(XtDisplay(mw), gc, 0, 0, &clipht, 1, Unsorted); doclip = True; } /* * Find the end of the line and how wide it is */ if (multiline) { int space = 0; int space_width = 0; current_width = 0; switch (wrap) { case XbaeWrapNone: while( end < length && string[end] != '\n') { int cw = charWidth(font_struct, (unsigned char) string[end]); current_width += cw; end++; } break; case XbaeWrapContinuous: while( end < length && string[end] != '\n' && current_width + charWidth(font_struct, (unsigned char) string[end]) < width) { int cw = charWidth(font_struct, (unsigned char) string[end]); current_width += cw; end++; } break; case XbaeWrapWord: while( end < length && string[end] != '\n' && current_width + charWidth(font_struct, (unsigned char) string[end]) < width) { int cw = charWidth(font_struct, (unsigned char) string[end]); if (isspace(string[end])) { space = end; space_width = current_width; } current_width += cw; end++; } break; } if (end == length) { current = end; } else if(string[end] == '\n') { current = end; end++; } else if (space_width > 0) { current_width = space_width; current = space; end = space + 1; } else { current = end; } } else { current_width = XTextWidth(font_struct, string, length); current = end = length; } switch (alignment) { case XmALIGNMENT_CENTER: offset = width / 2 - current_width / 2; break; case XmALIGNMENT_END: offset = width - current_width; break; case XmALIGNMENT_BEGINNING: default: offset = 0; break; } /* * Trim the beginning of the string */ if (offset < 0) { int min; if (arrows) { LeftArrow = True; min = aw; } else { min = 0; } while(offset < min) { int cw = charWidth(font_struct, (unsigned char) string[start]); current_width -= cw; offset += cw; start++; } } /* * Trim the end of the string */ if (offset + current_width > width) { int max; if (arrows) { RightArrow = True; max = width - aw; } else { max = width; } current_width = 0; current = start; while(offset + current_width + charWidth(font_struct, (unsigned char) string[current]) <= max) { int cw = charWidth(font_struct, (unsigned char) string[current]); current_width += cw; current++; } } /* * If we have arrows, draw them */ if (LeftArrow) { XPoint points[3]; points[0].x = points[1].x = x + aw; points[0].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2; points[1].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2 + ah; points[2].x = x; points[2].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2 + ah / 2; XFillPolygon(XtDisplay(mw), win, gc, points, 3, Convex, CoordModeOrigin); } if (RightArrow) { XPoint points[3]; points[0].x = points[1].x = x + width - 1 - aw; points[0].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2; points[1].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2 + ah; points[2].x = x + width - 1; points[2].y = y + TEXT_HEIGHT(mw) / 2 - font_height / 2 + ah / 2; XFillPolygon(XtDisplay(mw), win, gc, points, 3, Convex, CoordModeOrigin); } /* * Draw the string */ XDrawString(XtDisplay(mw), win, gc, x + offset, y + baseline, string + start, current - start); if (bold) XDrawString(XtDisplay(mw), win, gc, x + offset, y + baseline, string + start, current - start); if (underline && current_width) { int i; for (i = 0; i < mw->matrix.underline_width; i++) XDrawLine(XtDisplay(mw), win, gc, x + offset, y + baseline + mw->matrix.underline_position + i, x + offset + current_width, y + baseline + mw->matrix.underline_position + i); } if (doclip) { XSetClipMask(XtDisplay(mw), gc, None); } } } } /* * Draw an xmstring with (some of the) specified attributes. */ static void xbaeDrawXmString(XbaeMatrixWidget mw, Window win, GC gc, int x, int y, int width, int height, unsigned char alignment, Boolean bold, Boolean arrows, Boolean underline, Pixel color, XmString xms, #if XmVERSION >= 2 XmRenderTable render_table) #else XmFontList render_table) #endif { XRectangle clipht; x += CELL_BORDER_WIDTH(mw); y += CELL_BORDER_HEIGHT(mw) + 1; width -= 2 * CELL_BORDER_WIDTH(mw); height -= 2 * CELL_BORDER_HEIGHT(mw); XSetForeground(XtDisplay(mw), gc, color); DEBUGOUT(_XbaeDebug (__FILE__, (Widget) mw, "%s(%s) x %d y %d, clip w %d h %d\n", __FUNCTION__, "(some xmstring)", x, y, width, height)); clipht.x = x; clipht.y = y; clipht.width = width; clipht.height = height; XmStringDraw(XtDisplay(mw), win, render_table, xms, gc, x, y, width, alignment, XmSTRING_DIRECTION_L_TO_R, &clipht); } /* * Draw a cell's pixmap. The coordinates are calculated relative * to the correct window and pixmap is copied to that window. */ static void xbaeDrawCellPixmap(XbaeMatrixWidget mw, Window win, int x, int y, int width, int height, unsigned char alignment, Pixmap pixmap, Pixmap mask, int pixmap_width, int pixmap_height, Pixel bg, Pixel fg, int depth) { int src_x, src_y, dest_x, dest_y; int copy_width, copy_height; int space = mw->matrix.cell_shadow_thickness + mw->matrix.cell_highlight_thickness; Display *display = XtDisplay(mw); GC gc = mw->matrix.pixmap_gc; x += space; y += space; width -= 2 * space; height -= 2 * space; XSetForeground(display, gc, fg); XSetBackground(display, gc, bg); /* * Adjust y source and destinations. */ if (pixmap_height > height) { copy_height = height; src_y = (pixmap_height - height) / 2; dest_y = 0; } else { copy_height = pixmap_height; src_y = 0; dest_y = (height - pixmap_height) / 2; } /* * Adjust the x source and destination paying attention to the alignment. */ if (pixmap_width > width) { copy_width = width; } else { copy_width = pixmap_width; } switch (alignment) { case XmALIGNMENT_CENTER: if (pixmap_width > width) { src_x = (pixmap_width - width) / 2; dest_x = 0; } else { src_x = 0; dest_x = (width - pixmap_width) / 2; } break; case XmALIGNMENT_END: if (pixmap_width > width) { src_x = pixmap_width - width; dest_x = 0; } else { src_x = 0; dest_x = width - pixmap_width; } break; case XmALIGNMENT_BEGINNING: default: src_x = 0; dest_x = 0; break; } dest_y += y; dest_x += x; /* * Draw the pixmap. Clip it, if necessary */ if (pixmap && pixmap != XmUNSPECIFIED_PIXMAP) { if (depth > 1) { /* A pixmap using xpm */ if (mask && mask != XmUNSPECIFIED_PIXMAP) { XSetClipMask(display, gc, mask); XSetClipOrigin(display, gc, dest_x - src_x, dest_y - src_y); } XCopyArea(display, pixmap, win, gc, src_x, src_y, copy_width, copy_height, dest_x, dest_y); if (mask && mask != XmUNSPECIFIED_PIXMAP) { XSetClipMask(display, gc, None); } } else { /* A plain old bitmap */ XCopyPlane(display, pixmap, win, gc, src_x, src_y, copy_width, copy_height, dest_x, dest_y, 1L); } } } /* * Draw a cell's string. The coordinates are calculated relative * to the correct window and the cell is drawn in that window. */ static void xbaeDrawCellString(XbaeMatrixWidget mw, Window win, int x, int y, int width, int height, unsigned char alignment, Boolean bold, Boolean arrows, Boolean underline, Pixel fg, String string, XrmQuark qtag) { GC gc = mw->matrix.draw_gc; XrmQuark default_qtag = ((XbaeMatrixWidgetClass) XtClass(mw))->matrix_class.default_qtag; if ( mw->matrix.current_draw_qtag == NULLQUARK || (qtag == NULLQUARK && mw->matrix.current_draw_qtag != default_qtag) || (qtag != NULLQUARK && mw->matrix.current_draw_qtag != qtag)) { if (qtag == NULLQUARK) { mw->matrix.current_draw_qtag = default_qtag; mw->matrix.current_draw_font = mw->matrix.cell_font; } else { XmStringTag tag = XrmQuarkToString(qtag); mw->matrix.current_draw_qtag = qtag; #if XmVERSION >= 2 if (mw->matrix.render_table) { xbaeInitFontFromRenderTable(mw, mw->matrix.render_table, tag, &mw->matrix.current_draw_font); } else #endif { xbaeInitFontFromFontList(mw, mw->matrix.font_list, tag, &mw->matrix.current_draw_font); } } if (mw->matrix.current_draw_font.type == XmFONT_IS_FONT) { XSetFont(XtDisplay(mw), mw->matrix.draw_gc, mw->matrix.current_draw_font.id); } } xbaeDrawString(mw, win, gc, x, y, width, height, alignment, bold, arrows, underline, mw->matrix.multi_line_cell, mw->matrix.wrap_type, fg, string, &mw->matrix.current_draw_font, CELL_FONT_HEIGHT(mw), CELL_BASELINE(mw)); } static void DrawCellFill(XbaeMatrixWidget mw, Window win, int row, int column, int x, int y, int column_width, int row_height, int cell_width, int cell_height, int clear_width, int clear_height) { Display *display = XtDisplay(mw); int space = mw->matrix.cell_shadow_thickness; if (clear_width) { if (IN_GRID_ROW_MODE(mw)) { /* Don't erase the shadow */ clear_width -= (column == mw->matrix.columns - 1) ? space : 0; XClearArea(display, win, x + column_width, y + space, clear_width, cell_height - 2 * space, False); } else { XClearArea(display, win, x + column_width, y, clear_width, cell_height, False); } } if (clear_height) { if (IN_GRID_COLUMN_MODE(mw)) { /* Don't erase the shadow */ clear_height -= (row == mw->matrix.rows - 1) ? space : 0; XClearArea(display, win, x + space, y + row_height, cell_width - 2 * space, clear_height, False); } else { XClearArea(display, win, x, y + row_height, cell_width, clear_height, False); } } } void xbaeChangeHighlight(XbaeMatrixWidget mw, int row, int column, unsigned char new_hl) { XbaeMatrixCellValuesStruct cell_values; unsigned char old_hl; int column_width, row_height; int cell_width, cell_height; int clear_width, clear_height; int new_hl_width, new_hl_height; int old_hl_width, old_hl_height; int x, y; Widget w = xbaeRowColToClipXY(mw, row, column, &x, &y); Window win = XtWindow(w); Display *display = XtDisplay(mw); assert(row >= 0 && row < mw->matrix.rows && column >= 0 && column < mw->matrix.columns); if (!win || mw->matrix.disable_redisplay) return; old_hl = mw->matrix.per_cell[row][column].highlighted; clear_width = 0; column_width = cell_width = new_hl_width = old_hl_width = COLUMN_WIDTH(mw, column); if (IS_FILL_COLUMN(mw, column)) { int empty_width = EMPTY_WIDTH(mw); if (mw->matrix.horz_fill) { cell_width += empty_width; new_hl_width += empty_width; old_hl_width += empty_width; } else if (IN_GRID_ROW_MODE(mw)) { clear_width = empty_width; new_hl_width += (new_hl & HighlightRow) ? empty_width : 0; old_hl_width += (old_hl & HighlightRow) ? empty_width : 0; } } clear_height = 0; row_height = cell_height = new_hl_height = old_hl_height = ROW_HEIGHT(mw, row); if (IS_FILL_ROW(mw, row)) { int empty_height = EMPTY_HEIGHT(mw); if(mw->matrix.vert_fill) { cell_height += empty_height; new_hl_height += empty_height; old_hl_height += empty_height; } else if (IN_GRID_COLUMN_MODE(mw)) { clear_height = empty_height; new_hl_height += (new_hl & HighlightColumn) ? empty_height : 0; old_hl_height += (old_hl & HighlightColumn) ? empty_height : 0; } } /* * In order to erase the old highlight, we redraw it with the background color. * Then, if there is some filled space we clear it as there is no background color there */ xbaeGetCellValues(mw, row, column, False, &cell_values); if ((cell_values.drawCB.type & XbaeStringFree) == XbaeStringFree) { XtFree((XtPointer) cell_values.drawCB.string); } XSetForeground(display, mw->matrix.draw_gc, cell_values.drawCB.background); xbaeDrawCellHighlight(mw, win, mw->matrix.draw_gc, row, column, x, y, old_hl_width, old_hl_height, old_hl); DrawCellFill(mw, win, row, column, x, y, column_width, row_height, cell_width, cell_height, clear_width, clear_height); /* * Draw the highlight */ mw->matrix.per_cell[row][column].highlighted = new_hl; xbaeDrawCellHighlight(mw, win, mw->manager.highlight_GC, row, column, x, y, new_hl_width, new_hl_height, new_hl); } void xbaeDrawCell(XbaeMatrixWidget mw, int row, int column) { XbaeMatrixCellValuesStruct cell_values; unsigned char highlight = HighlightNone; unsigned char alignment = XmALIGNMENT_BEGINNING; Boolean arrows = False; Boolean bold = False; Boolean underline = False; int column_width, row_height; int cell_width, cell_height; int clear_width, clear_height; int shadow_width, shadow_height; int highlight_width, highlight_height; int x, y; Widget w = xbaeRowColToClipXY(mw, row, column, &x, &y); Window win = XtWindow(w); Display *display = XtDisplay(mw); #if 0 fprintf(stderr,"drawcell: %d,%d", row, column); getchar(); #endif #if 0 fprintf(stderr,"drawcell: %d,%d\n", row, column); #endif assert(row >= 0 && row < mw->matrix.rows && column >= 0 && column < mw->matrix.columns); if (!win || mw->matrix.disable_redisplay) return; if (mw->matrix.column_alignments) { alignment = mw->matrix.column_alignments[column]; } if (mw->matrix.show_arrows && (mw->matrix.show_column_arrows == NULL || mw->matrix.show_column_arrows[column])) { arrows = True; } if (mw->matrix.column_font_bold) { bold = mw->matrix.column_font_bold[column]; } if (mw->matrix.per_cell) { highlight = mw->matrix.per_cell[row][column].highlighted; underline = mw->matrix.per_cell[row][column].underlined; } clear_width = 0; column_width = cell_width = shadow_width = highlight_width = COLUMN_WIDTH(mw, column); if (IS_FILL_COLUMN(mw, column)) { int empty_width = EMPTY_WIDTH(mw); if (mw->matrix.horz_fill) { cell_width += empty_width; shadow_width += empty_width; highlight_width += empty_width; } else if (IN_GRID_ROW_MODE(mw)) { clear_width = empty_width; shadow_width += empty_width; highlight_width += (highlight & HighlightRow) ? empty_width : 0; } } clear_height = 0; row_height = cell_height = shadow_height = highlight_height = ROW_HEIGHT(mw, row); if (IS_FILL_ROW(mw, row)) { int empty_height = EMPTY_HEIGHT(mw); if (mw->matrix.vert_fill) { cell_height += empty_height; shadow_height += empty_height; highlight_height += empty_height; } else if(IN_GRID_COLUMN_MODE(mw)) { clear_height = empty_height; shadow_height += empty_height; highlight_height += (highlight & HighlightColumn) ? empty_height : 0; } } /* * Get the cell contents and colors */ xbaeGetCellValues(mw, row, column, False, &cell_values); /* * Fill the cell's background */ #if 0 { void usleep(unsigned long usec); XSetForeground(display, mw->matrix.draw_gc, cell_values.drawCB.foreground); XFillRectangle(XtDisplay(mw), win, mw->matrix.draw_gc, x, y, cell_width, cell_height); usleep(50000); } #endif XSetForeground(display, mw->matrix.draw_gc, cell_values.drawCB.background); XFillRectangle(XtDisplay(mw), win, mw->matrix.draw_gc, x, y, cell_width, cell_height); if (mw->matrix.per_cell && mw->matrix.per_cell[row][column].widget) { /* There is nothing to do for cells with widgets */ } else { if (cell_values.drawCB.type & XbaePixmap) xbaeDrawCellPixmap(mw, win, x, y, cell_width, cell_height, alignment, cell_values.drawCB.pixmap, cell_values.drawCB.mask, cell_values.drawCB.width, cell_values.drawCB.height, cell_values.drawCB.background, cell_values.drawCB.foreground, cell_values.drawCB.depth); if (cell_values.drawCB.type & XbaeString) xbaeDrawCellString(mw, win, x, y, cell_width, cell_height, alignment, bold, arrows, underline, cell_values.drawCB.foreground, cell_values.drawCB.string, cell_values.qtag); #if 0 if (cell_values.drawCB.type & XbaeXmString) xbaeDrawXmString(mw, win, mw->matrix.draw_gc, x, y, cell_width, cell_height, alignment, bold, arrows, underline, cell_values.drawCB.foreground, cell_values.drawCB.XmCellValue, mw->matrix.render_table); #endif } if ((cell_values.drawCB.type & XbaeStringFree) == XbaeStringFree) { XtFree((XtPointer) cell_values.drawCB.string); } /* * Draw the cell highlight and the cell shadow */ xbaeDrawCellShadow(mw, win, row, column, x, y, shadow_width, shadow_height); DrawCellFill(mw, win, row, column, x, y, column_width, row_height, cell_width, cell_height, clear_width, clear_height); if (highlight) { xbaeDrawCellHighlight(mw, win, mw->manager.highlight_GC, row, column, x, y, highlight_width, highlight_height, highlight); } } void xbaeGetCellValues(XbaeMatrixWidget mw, int row, int column, Boolean is_text_field, XbaeMatrixCellValuesStruct *cell_values) { assert(row >= 0 && row < mw->matrix.rows && column >= 0 && column < mw->matrix.columns); cell_values->drawCB.reason = XbaeDrawCellReason; cell_values->drawCB.event = (XEvent *) NULL; cell_values->drawCB.row = row; cell_values->drawCB.column = column; cell_values->drawCB.width = COLUMN_WIDTH(mw, column) - 2 * CELL_BORDER_WIDTH(mw); cell_values->drawCB.height = ROW_HEIGHT(mw, row) - 2 * CELL_BORDER_HEIGHT(mw); cell_values->drawCB.depth = 0; /* * If we have per_cell data initialize cell_values from it */ if (mw->matrix.per_cell) { cell_values->drawCB.foreground = mw->matrix.per_cell[row][column].color; cell_values->drawCB.background = mw->matrix.per_cell[row][column].background; cell_values->drawCB.pixmap = mw->matrix.per_cell[row][column].pixmap; cell_values->drawCB.mask = mw->matrix.per_cell[row][column].mask; cell_values->drawCB.string = mw->matrix.per_cell[row][column].CellValue; cell_values->drawCB.type = XbaeString | ((cell_values->drawCB.pixmap != XmUNSPECIFIED_PIXMAP) ? XbaePixmap : 0); cell_values->qtag = mw->matrix.per_cell[row][column].qtag; } else { cell_values->drawCB.foreground = XmUNSPECIFIED_PIXEL; cell_values->drawCB.background = XmUNSPECIFIED_PIXEL; cell_values->drawCB.pixmap = XmUNSPECIFIED_PIXMAP; cell_values->drawCB.mask = XmUNSPECIFIED_PIXMAP; cell_values->drawCB.string = NULL; cell_values->drawCB.type = XbaeString; cell_values->qtag = NULLQUARK; } /* * Calculate the colors ignoring selection */ if (cell_values->drawCB.background == XmUNSPECIFIED_PIXEL) { if (mw->matrix.alt_row_count) { if ((row / mw->matrix.alt_row_count) % 2) { cell_values->drawCB.background = mw->matrix.odd_row_background; } else { cell_values->drawCB.background = mw->matrix.even_row_background; } } else { cell_values->drawCB.background = mw->matrix.even_row_background; } if (cell_values->drawCB.background == XmUNSPECIFIED_PIXEL) { cell_values->drawCB.background = mw->core.background_pixel; } } if (cell_values->drawCB.foreground == XmUNSPECIFIED_PIXEL) { cell_values->drawCB.foreground = mw->manager.foreground; } /* * Call the drawCellCB if there is one */ if (mw->matrix.draw_cell_callback) { XtCallCallbackList((Widget) mw, mw->matrix.draw_cell_callback, (XtPointer) &cell_values->drawCB); } /* * Now adjust colors for selection or is_text_field */ if (is_text_field) { if (mw->matrix.text_background != XmUNSPECIFIED_PIXEL) { cell_values->drawCB.background = mw->matrix.text_background; } else if (!mw->matrix.text_background_is_cell) { cell_values->drawCB.background = mw->core.background_pixel; } } else { if (mw->matrix.per_cell && mw->matrix.per_cell[row][column].selected) { if (mw->matrix.reverse_select) { Pixel tmp = cell_values->drawCB.foreground; cell_values->drawCB.foreground = cell_values->drawCB.background; cell_values->drawCB.background = tmp; } else { cell_values->drawCB.background = (mw->matrix.selected_background != XmUNSPECIFIED_PIXEL) ? mw->matrix.selected_background : mw->manager.foreground; cell_values->drawCB.foreground = (mw->matrix.selected_foreground != XmUNSPECIFIED_PIXEL) ? mw->matrix.selected_foreground : mw->core.background_pixel; } } } /* * Return "" instead of NULL for the string and make sure we don't free "" */ if (cell_values->drawCB.type & XbaeString && cell_values->drawCB.string == NULL) { cell_values->drawCB.string = ""; cell_values->drawCB.type &= ~(XbaeStringFree ^ XbaeString); } /* * Calculate pixmap parameters */ if (cell_values->drawCB.type & XbaePixmap) { if (cell_values->drawCB.mask == XmUNSPECIFIED_PIXMAP || cell_values->drawCB.mask == BadPixmap) cell_values->drawCB.mask = 0; if (cell_values->drawCB.pixmap == XmUNSPECIFIED_PIXMAP || cell_values->drawCB.pixmap == BadPixmap) { XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "drawCellCallback", "Pixmap", "XbaeMatrix", "XbaeMatrix: Bad pixmap passed from drawCellCallback", NULL, 0); cell_values->drawCB.type &= ~XbaePixmap; } else if (cell_values->drawCB.depth == 0) { /* * If we know the depth, width and height don't do a round * trip to find the geometry */ Window root_return; int x_return, y_return; unsigned int pixmap_width, pixmap_height; unsigned int border_width_return; unsigned int depth; if (XGetGeometry(XtDisplay(mw), cell_values->drawCB.pixmap, &root_return, &x_return, &y_return, &pixmap_width, &pixmap_height, &border_width_return, &depth)) { cell_values->drawCB.width = pixmap_width; cell_values->drawCB.height = pixmap_height; cell_values->drawCB.depth = depth; } } } } /* * Draw the column label for the specified column. */ void xbaeDrawColumnLabel(XbaeMatrixWidget mw, int column, Boolean pressed) { int width, height; int x, y; Widget w = xbaeRowColToClipXY(mw, -1, column, &x, &y); Window win = XtWindow(w); GC gc = mw->matrix.label_gc; Boolean button; Boolean alignment; assert(column >= 0 && column < mw->matrix.columns); DEBUGOUT(_XbaeDebug(__FILE__, (Widget) mw, "%s(%d)\n", __FUNCTION__, column)); height = COLUMN_LABEL_HEIGHT(mw); width = COLUMN_WIDTH(mw, column); if (IS_FILL_COLUMN(mw, column) && mw->matrix.horz_fill) { width += EMPTY_WIDTH(mw); } button = mw->matrix.button_labels || (mw->matrix.column_button_labels && mw->matrix.column_button_labels[column]); alignment = (mw->matrix.column_label_alignments) ? mw->matrix.column_label_alignments[column] : XmALIGNMENT_BEGINNING; if (button) { XSetForeground(XtDisplay(mw), gc, mw->matrix.button_label_background); XFillRectangle(XtDisplay(mw), win, gc, x, y, width, height); } else { XClearArea(XtDisplay(mw), win, x, y, width, height, False); } if (mw->matrix.xmcolumn_labels && mw->matrix.xmcolumn_labels[column]) { xbaeDrawXmString(mw, win, gc, x, y, width, height, alignment, mw->matrix.bold_labels, False, False, mw->matrix.column_label_color, mw->matrix.xmcolumn_labels[column], #if XmVERSION >= 2 mw->matrix.render_table ? mw->matrix.render_table : mw->matrix.label_font_list ? mw->matrix.label_font_list : mw->matrix.font_list); #else mw->matrix.label_font_list ? mw->matrix.label_font_list : mw->matrix.font_list); #endif } else if (mw->matrix.column_labels && mw->matrix.column_labels[column] && mw->matrix.column_labels[column][0] != '\0') { xbaeDrawString(mw, win, gc, x, y, width, height, alignment, mw->matrix.bold_labels, False, False, True, XbaeWrapNone, mw->matrix.column_label_color, mw->matrix.column_labels[column], &mw->matrix.label_font, LABEL_FONT_HEIGHT(mw), COLUMN_LABEL_BASELINE(mw)); } if (button) xbaeDrawLabelShadow(mw, win, x, y, width, height, pressed); } /* * Draw the row label for the specified row. */ void xbaeDrawRowLabel(XbaeMatrixWidget mw, int row, Boolean pressed) { int width, height; int x, y; Widget w = xbaeRowColToClipXY(mw, row, -1, &x, &y); Window win = XtWindow(w); GC gc = mw->matrix.label_gc; Boolean button; assert(row >= 0 && row < mw->matrix.rows); DEBUGOUT(_XbaeDebug(__FILE__, (Widget) mw, "%s(%d)\n", __FUNCTION__, row)); width = ROW_LABEL_WIDTH(mw); height = ROW_HEIGHT(mw, row); if (IS_FILL_ROW(mw, row) && mw->matrix.vert_fill) { height += EMPTY_HEIGHT(mw); } button = mw->matrix.button_labels || (mw->matrix.row_button_labels && mw->matrix.row_button_labels[row]); if (button) { XSetForeground(XtDisplay(mw), gc, mw->matrix.button_label_background); XFillRectangle(XtDisplay(mw), win, gc, x, y, width, height); } else { XClearArea(XtDisplay(mw), win, x, y, width, height, False); } if (mw->matrix.xmrow_labels && mw->matrix.xmrow_labels[row]) { xbaeDrawXmString(mw, win, gc, x, y, width, height, mw->matrix.row_label_alignment, mw->matrix.bold_labels, False, False, mw->matrix.row_label_color, mw->matrix.xmrow_labels[row], #if XmVERSION >= 2 mw->matrix.render_table ? mw->matrix.render_table : mw->matrix.label_font_list ? mw->matrix.label_font_list : mw->matrix.font_list); #else mw->matrix.label_font_list ? mw->matrix.label_font_list : mw->matrix.font_list); #endif } else if (mw->matrix.row_labels && mw->matrix.row_labels[row] && mw->matrix.row_labels[row][0] != '\0') { xbaeDrawString(mw, win, gc, x, y, width, height, mw->matrix.row_label_alignment, mw->matrix.bold_labels, False, False, True, XbaeWrapNone, mw->matrix.row_label_color, mw->matrix.row_labels[row], &mw->matrix.label_font, LABEL_FONT_HEIGHT(mw), ROW_LABEL_BASELINE(mw)); } if (button) xbaeDrawLabelShadow(mw, win, x, y, width, height, pressed); } xbae-4.60.4/src/Clip.c0000664000076400007640000004013010227674765011317 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright 1999, 2000, 2001, 2002, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * ClipWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Clip.c,v 1.22 2005/04/15 08:23:17 tobiasoed Exp $ */ /* * Clip.c - private child of Matrix - used to clip Matrix's scrollable areas */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include /* * ScrollMgr implementation. * When we scroll using XCopyArea, occluding windows will cause GraphicsExpose * events to be generated, if there are no occluding windows then NoExpose * events will be generated. The removal of occluding windows will cause Expose * events. If a number of scrolls (XCopyAreas) occur in quick succession, * the events will contain obsolete x/y information since our internal * coordinates have been scrolled to a new location. The ScrollMgr * keeps track of scrolls and offsets required to relocate the events to the * current coordinate system. * * Each widgets compress_exposures field should be XtExposeCompressSeries * or XtExposeNoCompress. * * The idea behind this code is based on the PanHandler posted by Chuck Ocheret * (chuck@fid.morgan.com) */ /* * Initialize a ScrollMgr */ static void xbaeSmInitScrollMgr(SmScrollMgr scrollMgr) { scrollMgr->offset_x = 0; scrollMgr->offset_y = 0; scrollMgr->scroll_count = 0; scrollMgr->scroll_queue = NULL; scrollMgr->scrolling = False; } /* * Delete all queued scrolls of a scrollMgr */ static void xbaeSmFlushScrollMgr(SmScrollMgr scrollMgr) { if (scrollMgr->scroll_queue) { SmScrollNode node = scrollMgr->scroll_queue->next; while (node != scrollMgr->scroll_queue) { SmScrollNode d = node; node = node->next; XtFree((char *) d); } XtFree((char *) node); xbaeSmInitScrollMgr(scrollMgr); } } /* * Remove a scroll from the ScrollMgr queue */ static void xbaeSmRemoveScroll(SmScrollMgr scrollMgr) { if (scrollMgr->scroll_count) { SmScrollNode node = scrollMgr->scroll_queue; scrollMgr->offset_x -= node->x; scrollMgr->offset_y -= node->y; /* * Remove node from head of queue */ if (node->next == node) { scrollMgr->scroll_queue = NULL; } else { scrollMgr->scroll_queue = node->next; node->next->prev = node->prev; node->prev->next = node->next; } XtFree((char *) node); scrollMgr->scroll_count--; } } /* * Handle an expose event */ static Boolean xbaeSmScrollEvent(SmScrollMgr scrollMgr, XEvent *event, XRectangle *expose) { switch (event->type) { case Expose: /* * Normal Expose event */ DEBUGOUT(_XbaeDebug(__FILE__, NULL, "xbaeSmScrollEvent: Expose\n")); expose->x = event->xexpose.x; expose->y = event->xexpose.y; expose->width = event->xexpose.width; expose->height = event->xexpose.height; break; case GraphicsExpose: DEBUGOUT(_XbaeDebug(__FILE__, NULL, "xbaeSmScrollEvent: GraphicsExpose\n")); if (scrollMgr->scrolling == False) { /* * This is the first GraphicsExpose event. * Remove the corresponding scroll from the queue and * set scrolling to True */ xbaeSmRemoveScroll(scrollMgr); scrollMgr->scrolling = True; } if (event->xgraphicsexpose.count == 0) { /* * This is the last GraphicsExpose. * Set scrolling to False. */ scrollMgr->scrolling = False; } expose->x = event->xgraphicsexpose.x; expose->y = event->xgraphicsexpose.y; expose->width = event->xgraphicsexpose.width; expose->height = event->xgraphicsexpose.height; break; case NoExpose: /* * A NoExpose event means we won't be getting any GraphicsExpose * events, so remove the scroll from the queue and set scrolling * to False. */ xbaeSmRemoveScroll(scrollMgr); scrollMgr->scrolling = False; return False; default: return False; } /* * Translate the event into our scrolled coordinate system. */ expose->x += scrollMgr->offset_x; expose->y += scrollMgr->offset_y; return True; } /* * Record a new scroll request in the ScrollMgr */ static void xbaeSmAddScroll(SmScrollMgr scrollMgr, int delta_x, int delta_y) { SmScrollNode node = XtNew(SmScrollNodeRec); node->x = delta_x; node->y = delta_y; scrollMgr->offset_x += delta_x; scrollMgr->offset_y += delta_y; scrollMgr->scroll_count++; /* * Insert the node at the end of the queue */ if (!scrollMgr->scroll_queue) { scrollMgr->scroll_queue = node; node->next = node; node->prev = node; } else { SmScrollNode last = scrollMgr->scroll_queue->prev; last->next = node; node->next = scrollMgr->scroll_queue; node->prev = last; scrollMgr->scroll_queue->prev = node; } } void XbaeClipScrollVert(Widget w, GC gc, int delta) { XbaeClipWidget cw; int src_y, dest_y, copy_height; int y_clear, clear_height; /* * Make sure w is a Clip or a subclass */ XtCheckSubclass(w, xbaeClipWidgetClass, NULL); cw = (XbaeClipWidget) w; if (delta == 0) { /* Didn't scroll */ return; } else if (delta < 0) { /* scrolled down */ dest_y = 0; src_y = - delta; copy_height = cw->core.height - src_y; y_clear = copy_height; clear_height = cw->core.height - copy_height; } else { /* scrolled up */ dest_y = delta; src_y = 0; copy_height = cw->core.height - dest_y; y_clear = 0; clear_height = cw->core.height - copy_height; } if (copy_height <= 0) { /* nothing to copy, clear and redraw everything */ y_clear = 0; clear_height = cw->core.height; } else { /* * There is something that can be copied * Queue this scroll with the ScrollMgr and copy contents of the clip */ xbaeSmAddScroll(&cw->clip.scroll, 0, dest_y - src_y); XCopyArea(XtDisplay(cw), XtWindow(cw), XtWindow(cw), gc, 0, src_y, cw->core.width, copy_height, 0, dest_y); } if (cw->clip.expose_proc) { XRectangle expose = { 0, y_clear, cw->core.width, clear_height}; cw->clip.expose_proc(w, &expose, NULL, NULL); } } void XbaeClipScrollHoriz(Widget w, GC gc, int delta) { XbaeClipWidget cw; int src_x, dest_x, copy_width; int x_clear, clear_width; /* * Make sure w is a Clip or a subclass */ XtCheckSubclass(w, xbaeClipWidgetClass, NULL); cw = (XbaeClipWidget) w; if (delta == 0) /* Didn't scroll */ return; else if (delta < 0) { /* Scrolled right */ dest_x = 0; src_x = - delta; copy_width = cw->core.width - src_x; x_clear = copy_width; clear_width = cw->core.width - copy_width; } else { /* Scrolled left */ dest_x = delta; src_x = 0; copy_width = cw->core.width - dest_x; x_clear = 0; clear_width = cw->core.width - copy_width; } if (copy_width <= 0) { /* nothing to copy, clear and redraw everything */ x_clear = 0; clear_width = cw->core.width; } else { /* * There is something that can be copied * Queue this scroll with the ScrollMgr and copy contents of the clip */ xbaeSmAddScroll(&cw->clip.scroll, dest_x - src_x, 0); XCopyArea(XtDisplay(cw), XtWindow(cw), XtWindow(cw), gc, src_x, 0, copy_width, cw->core.height, dest_x, 0); } if (cw->clip.expose_proc) { XRectangle expose = { x_clear, 0, clear_width, cw->core.height}; cw->clip.expose_proc(w, &expose, NULL, NULL); } } #ifdef WIN32 #define EXTERNALREF externalref __declspec(dllexport) #else #define EXTERNALREF /* nothing */ #endif static XtResource resources[] = { {XmNexposeProc, XmCFunction, XtRFunction, sizeof(XbaeClipExposeProc), XtOffsetOf(XbaeClipRec, clip.expose_proc), XtRFunction, (XtPointer) NULL} , }; /* * Declaration of methods */ static void ClassPartInitialize(WidgetClass); static void Initialize(Widget, Widget, ArgList, Cardinal *); static void Destroy(Widget); static void Realize(Widget, XtValueMask *, XSetWindowAttributes *); static void Redisplay(Widget, XEvent *, Region); static void Resize(Widget); static void Redraw(Widget); /* * Public convenience function */ void XbaeClipRedraw(Widget w); XbaeClipClassRec xbaeClipClassRec = { /* core_class fields */ { /* superclass */ (WidgetClass) & xmPrimitiveClassRec, /* class_name */ "XbaeClip", /* widget_size */ sizeof(XbaeClipRec), /* class_initialize */ NULL, /* class_part_initialize */ ClassPartInitialize, /* class_inited */ False, /* initialize */ Initialize, /* initialize_hook */ NULL, /* realize */ Realize, /* actions */ NULL, /* num_actions */ 0, /* resources */ resources, /* num_resources */ XtNumber(resources), /* xrm_class */ NULLQUARK, /* compress_motion */ True, /* compress_exposure */ XtExposeCompressSeries | XtExposeGraphicsExpose | XtExposeNoExpose, /* compress_enterleave */ True, /* visible_interest */ False, /* destroy */ Destroy, /* resize */ Resize, /* expose */ Redisplay, /* set_values */ NULL, /* set_values_hook */ NULL, /* set_values_almost */ XtInheritSetValuesAlmost, /* get_values_hook */ NULL, /* accept_focus */ NULL, /* version */ XtVersion, /* callback_private */ NULL, /* tm_table */ NULL, /* query_geometry */ NULL, /* display_accelerator */ NULL, /* extension */ NULL } , /* primitive_class fields */ { /* border_highlight */ NULL, /* border_unhighlight */ NULL, /* translations */ NULL, /* arm_and_activate */ NULL, /* syn_resources */ NULL, /* num_syn_resources */ 0, /* extension */ NULL } , /* clip_class fields */ { /* redraw */ Redraw, /* extension */ NULL, } }; EXTERNALREF WidgetClass xbaeClipWidgetClass = (WidgetClass) & xbaeClipClassRec; static void ClassPartInitialize(WidgetClass wc) { XbaeClipWidgetClass cwc = (XbaeClipWidgetClass) wc; XbaeClipWidgetClass super = (XbaeClipWidgetClass) cwc->core_class.superclass; /* * Allow subclasses to inherit our redraw method */ if (cwc->clip_class.redraw == XbaeInheritRedraw) cwc->clip_class.redraw = super->clip_class.redraw; } static void Initialize(Widget rw, Widget nw, ArgList args, Cardinal *num_args) { XbaeClipWidget cw = (XbaeClipWidget) nw; xbaeSmInitScrollMgr(&cw->clip.scroll); } static void Destroy(Widget w) { XbaeClipWidget cw = (XbaeClipWidget) w; xbaeSmFlushScrollMgr(&cw->clip.scroll); } static void Realize(Widget w, XtValueMask * valueMask, XSetWindowAttributes * attributes) { /* * Don't call our superclasses realize method, because Primitive sets * bit_gravity and do_not_propagate */ XtCreateWindow(w, InputOutput, CopyFromParent, *valueMask, attributes); } /* ARGSUSED */ static void Redisplay(Widget w, XEvent * event, Region region) { XbaeClipWidget cw = (XbaeClipWidget) w; XRectangle expose; /* * Notify the scroll manager that we got an event and get an * expose rectangle in return */ if (!xbaeSmScrollEvent(&cw->clip.scroll, event, &expose)) return; if (cw->clip.expose_proc) cw->clip.expose_proc((Widget) cw, &expose, event, region); } /* ARGSUSED */ static void Resize(Widget w) { /* * Xt will call the expose method when this method returns. * So we won't have to do any exposure stuff here, which * means the Matrix's SetValues method only needs to force a * redraw when a redisplay is needed, not when a relayout is performed. */ } /* * Clip redraw method */ /* ARGSUSED */ static void Redraw(Widget w) { if (XtIsRealized(w)) XClearArea(XtDisplay(w), XtWindow(w), 0, 0, 0, 0, True); } /* * Public interface to redraw method */ void XbaeClipRedraw(Widget w) { /* * Make sure w is a Clip or a subclass */ XtCheckSubclass(w, xbaeClipWidgetClass, NULL); /* * Call the redraw method */ if (XtIsRealized(w)) ((XbaeClipWidgetClass) XtClass(w))->clip_class.redraw(w); } xbae-4.60.4/src/Caption.c0000664000076400007640000012624210244375321012017 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1999 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * CaptionWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Caption.c,v 1.16 2005/05/23 15:46:25 tobiasoed Exp $ */ /* * Caption.c - displays a caption label next to it's child. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #ifdef WITH_DMALLOC #include #endif #define OffsetOf(field) XtOffsetOf(XbaeCaptionRec, field) static XtResource resources[] = { {XmNfontList, XmCFontList, XmRFontList, sizeof(XmFontList), OffsetOf(caption.font_list), XmRImmediate, (XtPointer) NULL} , {XmNlabelAlignment, XmCLabelAlignment, XmRLabelAlignment, sizeof(XbaeLabelAlignment), OffsetOf(caption.label_alignment), XmRImmediate, (XtPointer) XbaeAlignmentCenter} , {XmNlabelOffset, XmCLabelOffset, XmRInt, sizeof(int), OffsetOf(caption.label_offset), XmRImmediate, (XtPointer) 0}, {XmNlabelPixmap, XmCLabelPixmap, XmRManForegroundPixmap, sizeof(Pixmap), OffsetOf(caption.label_pixmap), XmRImmediate, (XtPointer) XmUNSPECIFIED_PIXMAP} , {XmNlabelPosition, XmCLabelPosition, XmRLabelPosition, sizeof(XbaeLabelPosition), OffsetOf(caption.label_position), XmRImmediate, (XtPointer) XbaePositionLeft} , {XmNlabelString, XmCXmString, XmRXmString, sizeof(XmString), OffsetOf(caption.label_string), XmRImmediate, (XtPointer) NULL} , {XmNlabelTextAlignment, XmCAlignment, XmRAlignment, sizeof(unsigned char), OffsetOf(caption.label_text_alignment), XmRImmediate, (XtPointer) XmALIGNMENT_CENTER}, {XmNlabelType, XmCLabelType, XmRLabelType, sizeof(unsigned char), OffsetOf(caption.label_type), XmRImmediate, (XtPointer) XmSTRING}, }; #undef OffsetOf /* * Macro to retrieve our label and the user's child. */ #define LabelChild(w) (((CompositeWidget)w)->composite.children[0]) #define UserChild(w) (((CompositeWidget)w)->composite.children[1]) #define HaveUserChild(w) (((CompositeWidget)w)->composite.num_children > 1 \ && XtIsManaged(UserChild(w))) /* * Declaration of methods */ static void ClassInitialize(void); static void Initialize(Widget req, Widget n, ArgList args, Cardinal * num_args); static void InsertChild(Widget); static Boolean SetValues(Widget, Widget, Widget, ArgList, Cardinal *); static void SetValuesAlmost(Widget, Widget, XtWidgetGeometry *, XtWidgetGeometry *); static void GetValuesHook(Widget, ArgList, Cardinal *); static void Resize(Widget); static void ChangeManaged(Widget); static XtGeometryResult GeometryManager(Widget, XtWidgetGeometry *, XtWidgetGeometry *); static XtGeometryResult QueryGeometry(Widget, XtWidgetGeometry *, XtWidgetGeometry *); /* * Private functions */ static void ComputeSize(XbaeCaptionWidget, Dimension *, Dimension *, Dimension, Dimension, Dimension); static void ComputeUserChildSize(XbaeCaptionWidget, Dimension, Dimension, Dimension *, Dimension *, Dimension); static void Layout(XbaeCaptionWidget, Boolean); static Boolean CompareStrings(String, String); /* * Type converters */ static Boolean CvtStringToLabelPosition(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); static Boolean CvtStringToLabelAlignment(Display *, XrmValuePtr, Cardinal *, XrmValuePtr, XrmValuePtr, XtPointer *); XbaeCaptionClassRec xbaeCaptionClassRec = { { /* core_class fields */ /* superclass */ (WidgetClass) & xmManagerClassRec, /* class_name */ "XbaeCaption", /* widget_size */ sizeof(XbaeCaptionRec), /* class_initialize */ ClassInitialize, /* class_part_initialize */ NULL, /* class_inited */ False, /* initialize */ (XtInitProc) Initialize, /* initialize_hook */ NULL, /* realize */ XtInheritRealize, /* actions */ NULL, /* num_actions */ 0, /* resources */ resources, /* num_resources */ XtNumber(resources), /* xrm_class */ NULLQUARK, /* compress_motion */ True, /* compress_exposure */ XtExposeCompressMaximal, /* compress_enterleave */ True, /* visible_interest */ False, /* destroy */ NULL, /* resize */ (XtWidgetProc) Resize, /* expose */ _XmRedisplayGadgets, /* set_values */ (XtSetValuesFunc) SetValues, /* set_values_hook */ NULL, /* set_values_almost */ (XtAlmostProc) SetValuesAlmost, /* get_values_hook */ (XtArgsProc) GetValuesHook, /* accept_focus */ NULL, /* version */ XtVersion, /* callback_private */ NULL, /* tm_table */ XtInheritTranslations, /* query_geometry */ (XtGeometryHandler) QueryGeometry, /* display_accelerator */ NULL, /* extension */ NULL } , { /* composite_class fields */ /* geometry_manager */ GeometryManager, /* change_managed */ (XtWidgetProc) ChangeManaged, /* insert_child */ InsertChild, /* delete_child */ XtInheritDeleteChild, /* extension */ NULL, } , { /* constraint_class fields */ /* resources */ NULL, /* num_resources */ 0, /* constraint_size */ 0, /* initialize */ NULL, /* destroy */ NULL, /* set_values */ NULL, /* extension */ NULL } , { /* manager_class fields */ /* translations */ XtInheritTranslations, /* syn_resources */ NULL, /* num_syn_resources */ 0, /* syn_constraint_resources */ NULL, /* num_syn_constraint_resources */ 0, /* parent_process */ XmInheritParentProcess, /* extension */ NULL } , { /* caption_class fields */ /* extension */ NULL, } }; WidgetClass xbaeCaptionWidgetClass = (WidgetClass) & xbaeCaptionClassRec; static void ClassInitialize(void) { XtSetTypeConverter(XmRString, XmRLabelAlignment, CvtStringToLabelAlignment, NULL, 0, XtCacheAll, NULL); XtSetTypeConverter(XmRString, XmRLabelPosition, CvtStringToLabelPosition, NULL, 0, XtCacheAll, NULL); } /* ARGSUSED */ static void Initialize(Widget req, Widget n, ArgList args, Cardinal * num_args) { XbaeCaptionWidget new = (XbaeCaptionWidget) n; /* * Validate our labelPosition */ switch (new->caption.label_position) { case XbaePositionLeft: case XbaePositionRight: case XbaePositionTop: case XbaePositionBottom: break; default: XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "initialize", "badLabelPosition", "XbaeCaption", "XbaeCaption: Invalid label position.", (String *) NULL, (Cardinal *) NULL); new->caption.label_position = XbaePositionLeft; break; } /* * Validate our labelAlignment */ switch (new->caption.label_alignment) { case XbaeAlignmentTopOrLeft: case XbaeAlignmentCenter: case XbaeAlignmentBottomOrRight: break; default: XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "initialize", "badLabelAlignment", "XbaeCaption", "XbaeCaption: Invalid label alignment.", (String *) NULL, (Cardinal *) NULL); new->caption.label_alignment = XbaeAlignmentCenter; } /* * Create the label with our name, so if no labelString is specified, * it will use our name as it's label. */ (void) XtVaCreateManagedWidget(XtName((Widget) new), xmLabelWidgetClass, (Widget) new, XmNbackground, new->core.background_pixel, XmNforeground, new->manager.foreground, XmNfontList, new->caption.font_list, XmNlabelType, new->caption.label_type, XmNalignment, new->caption.label_text_alignment, XmNlabelString, new->caption.label_string, XmNlabelPixmap, new->caption.label_pixmap, XmNborderWidth, 0, NULL); /* * The label makes a copy of these, so NULL them out * (we don't want to point to the user's data). * get_values_hook will handle a get_values on these. */ new->caption.label_string = NULL; new->caption.font_list = NULL; /* * We are the same size as our label. We ignore user specified * width/height. */ new->core.width = LabelChild(new)->core.width; new->core.height = LabelChild(new)->core.height; } static void InsertChild(Widget w) { if (((CompositeWidget) XtParent(w))->composite.num_children > 1) { XtAppWarningMsg(XtWidgetToApplicationContext(w), "insertChild", "badChild", "XbaeCaption", "XbaeCaption: Cannot add more than one child.", (String *) NULL, (Cardinal *) NULL); return; } (*((CompositeWidgetClass) (xbaeCaptionWidgetClass->core_class.superclass))->composite_class. insert_child) (w); } /* ARGSUSED */ static Boolean SetValues(Widget cur, Widget req, Widget nw, ArgList args, Cardinal * num_args) { XbaeCaptionWidget current = (XbaeCaptionWidget) cur; XbaeCaptionWidget new = (XbaeCaptionWidget) nw; Dimension old_label_width, old_label_height; Boolean layout = False; int n; Arg largs[7]; #define NE(field) (current->field != new->field) #define EQ(field) (current->field == new->field) /* * Validate our labelPosition */ if (NE(caption.label_position)) { switch (new->caption.label_position) { case XbaePositionLeft: case XbaePositionRight: case XbaePositionTop: case XbaePositionBottom: break; default: XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "setValues", "badLabelPosition", "XbaeCaption", "XbaeCaption: Invalid label position.", (String *) NULL, (Cardinal *) NULL); new->caption.label_position = current->caption.label_position; } } /* * Validate our labelAlignment */ if (NE(caption.label_alignment)) { switch (new->caption.label_alignment) { case XbaeAlignmentTopOrLeft: case XbaeAlignmentCenter: case XbaeAlignmentBottomOrRight: break; default: XtAppWarningMsg(XtWidgetToApplicationContext((Widget) new), "setValues", "badLabelAlignment", "XbaeCaption", "XbaeCaption: Invalid label alignment.", (String *) NULL, (Cardinal *) NULL); new->caption.label_alignment = current->caption.label_alignment; } } /* * Save labels size in case XtSetValues changes it below. */ old_label_width = LabelChild(new)->core.width; old_label_height = LabelChild(new)->core.height; /* * Pass through resources to our label. Our geometry_manager * will let it change size if it needs to. */ n = 0; if (NE(caption.label_type)) { XtSetArg(largs[n], XmNlabelType, new->caption.label_type); n++; } if (NE(caption.label_text_alignment)) { XtSetArg(largs[n], XmNalignment, new->caption.label_text_alignment); n++; } if (NE(caption.label_string)) { XtSetArg(largs[n], XmNlabelString, new->caption.label_string); n++; } if (NE(caption.label_pixmap)) { XtSetArg(largs[n], XmNlabelPixmap, new->caption.label_pixmap); n++; } if (NE(caption.font_list)) { XtSetArg(largs[n], XmNfontList, new->caption.font_list); n++; } if (NE(core.background_pixel)) { XtSetArg(largs[n], XmNbackground, new->core.background_pixel); n++; } if (NE(manager.foreground)) { XtSetArg(largs[n], XmNforeground, new->manager.foreground); n++; } if (n) { XtSetValues(LabelChild(new), largs, n); /* * The label makes a copy of these, so NULL them out * (we don't want to point to the user's data). * get_values_hook will handle a get_values on these. */ new->caption.label_string = NULL; new->caption.font_list = NULL; } /* * Calculate a new size if the label changed size, or if offset changed, * or if alignment or position changed in a way which requires a new * size. Our resize or set_values_almost methods will lay things out. */ if (old_label_width != LabelChild(new)->core.width || old_label_height != LabelChild(new)->core.height || NE(caption.label_offset) || NE(caption.label_position)) { if (!HaveUserChild(new)) { new->core.width = LabelChild(new)->core.width; new->core.height = LabelChild(new)->core.height; } else ComputeSize(new, &new->core.width, &new->core.height, UserChild(new)->core.width, UserChild(new)->core.height, UserChild(new)->core.border_width); /* * If, after all that, our size didn't change, then we need * to layout (since resize and set_values_almost won't be called). */ if (EQ(core.width) && EQ(core.height)) layout = True; } /* * If label alignment changed, but our size didn't, then we need to layout * (since resize and set_values_almost won't be called). */ if (NE(caption.label_alignment) && EQ(core.width) && EQ(core.height)) layout = True; if (layout) Layout(new, True); return False; #undef EQ #undef NE } /* ARGSUSED */ static void SetValuesAlmost(Widget o, Widget n, XtWidgetGeometry * request, XtWidgetGeometry * reply) { XbaeCaptionWidget new = (XbaeCaptionWidget) n; /* * If XtGeometryAlmost, accept compromize - our resize method * will take care of it. */ if (reply->request_mode) *request = *reply; /* * If XtGeometryNo, then layout if it was a size change that was denied, * and accept the original geometry. */ else { if (request->request_mode & CWWidth || request->request_mode & CWHeight) Layout(new, True); request->request_mode = 0; } } static void GetValuesHook(Widget w, ArgList args, Cardinal * num_args) { XbaeCaptionWidget cw = (XbaeCaptionWidget) w; int i; /* * We don't save a copy of the label_string or font_list. * If the user wants these, we get them from the label widget. */ for (i = 0; i < (int) *num_args; i++) if (strcmp(args[i].name, XmNlabelString) == 0) XtGetValues(LabelChild(cw), &args[i], 1); else if (strcmp(args[i].name, XmNfontList) == 0) XtGetValues(LabelChild(cw), &args[i], 1); } /* * Do not configure the user's child if configure is False. * This is for when we are laying out from within our GeometryManager. * Since we are following a XtGeometryYes policy, we shouldn't config * the initiating child (the label never initiates) */ static void Layout(XbaeCaptionWidget cw, Boolean configure) { Position label_x = 0, label_y = 0; Position user_x = 0, user_y = 0; Dimension user_width, user_height; /* * If we only have the label, position it at 0,0. */ if (!HaveUserChild(cw)) { XtMoveWidget(LabelChild(cw), 0, 0); return; } /* * Calculate the positions of our label and user's children. */ switch (cw->caption.label_position) { case XbaePositionLeft: case XbaePositionRight: switch (cw->caption.label_alignment) { case XbaeAlignmentTopOrLeft: label_y = 0; break; case XbaeAlignmentCenter: label_y = (int) (cw->core.height / 2) - (int) (LabelChild(cw)->core.height / 2); break; case XbaeAlignmentBottomOrRight: label_y = (int) cw->core.height - (int) LabelChild(cw)->core.height; break; } user_y = 0; break; case XbaePositionTop: case XbaePositionBottom: switch (cw->caption.label_alignment) { case XbaeAlignmentTopOrLeft: label_x = 0; break; case XbaeAlignmentCenter: label_x = (int) (cw->core.width / 2) - (int) (LabelChild(cw)->core.width / 2); break; case XbaeAlignmentBottomOrRight: label_x = (int) cw->core.width - (int) LabelChild(cw)->core.width; break; } user_x = 0; break; } /* * Calculate the positions of our label and user's children. */ switch (cw->caption.label_position) { case XbaePositionLeft: if ((int) LabelChild(cw)->core.width + cw->caption.label_offset > 0) { label_x = 0; user_x = (int) LabelChild(cw)->core.width + cw->caption.label_offset; } else { label_x = -cw->caption.label_offset; user_x = 0; } break; case XbaePositionRight: if ((int) LabelChild(cw)->core.width + cw->caption.label_offset > 0) label_x = (int) cw->core.width - (int) LabelChild(cw)->core.width; else label_x = (int) cw->core.width - ((int) LabelChild(cw)->core.width - cw->caption.label_offset); user_x = 0; break; case XbaePositionTop: if ((int) LabelChild(cw)->core.height + cw->caption.label_offset > 0) { label_y = 0; user_y = (int) LabelChild(cw)->core.height + cw->caption.label_offset; } else { label_y = -cw->caption.label_offset; user_y = 0; } break; case XbaePositionBottom: user_y = 0; label_y = cw->core.height - LabelChild(cw)->core.height; if ((int) LabelChild(cw)->core.height + cw->caption.label_offset > 0) label_y = (int) cw->core.height - (int) LabelChild(cw)->core.height; else label_y = (int) cw->core.height - ((int) LabelChild(cw)->core.height - cw->caption.label_offset); user_y = 0; break; } /* * Position our label widget. */ XtMoveWidget(LabelChild(cw), label_x, label_y); if (configure) { /* * Calculate the size of the user's child widget. */ ComputeUserChildSize(cw, cw->core.width, cw->core.height, &user_width, &user_height, UserChild(cw)->core.border_width); _XmConfigureObject((Widget) UserChild(cw), (int) user_x, (int) user_y, (int) user_width, (int) user_height, (int) UserChild(cw)->core.border_width); } } static void Resize(Widget w) { Layout((XbaeCaptionWidget) w, True); } /* * Given a width/height for the caption widget and the border width * of the user's child, compute the width and height of the user's child. */ static void ComputeUserChildSize(XbaeCaptionWidget cw, Dimension cwWidth, Dimension cwHeight, Dimension * childWidth, Dimension * childHeight, Dimension childBorderWidth) { int width = cwWidth - 2 * childBorderWidth; int height = cwHeight - 2 * childBorderWidth; /* * Remember, cw->caption.label_offset can be negative. * If the label width plus the offset is positive, then the label * is off the edge of the user's child, so we subtract that space * from the user's child space. Otherwise the label is offset into * the space of the user's child widget, so the user's child gets * the full space and the label will be on top of it (or off the opposite * side). */ switch (cw->caption.label_position) { case XbaePositionLeft: case XbaePositionRight: if ((int) LabelChild(cw)->core.width + cw->caption.label_offset > 0) width -= (int) LabelChild(cw)->core.width + cw->caption.label_offset; break; case XbaePositionTop: case XbaePositionBottom: if ((int) LabelChild(cw)->core.height + cw->caption.label_offset > 0) height -= (int) LabelChild(cw)->core.height + cw->caption.label_offset; break; } if (width <= 0) *childWidth = 1; else *childWidth = width; if (height <= 0) *childHeight = 1; else *childHeight = height; } /* * Compute our size, taking into account the sizes of * both of our children (the user's child size is passed in; we use the * current size of the label child) */ static void ComputeSize(XbaeCaptionWidget cw, Dimension * cwWidth, Dimension * cwHeight, Dimension childWidth, Dimension childHeight, Dimension childBorderWidth) { childWidth += 2 * childBorderWidth; childHeight += 2 * childBorderWidth; /* * Remember, cw->caption.label_offset can be negative. */ switch (cw->caption.label_position) { case XbaePositionRight: case XbaePositionLeft: if ((int) LabelChild(cw)->core.width + cw->caption.label_offset > 0) *cwWidth = childWidth + LabelChild(cw)->core.width + cw->caption.label_offset; else *cwWidth = childWidth; *cwHeight = childHeight > LabelChild(cw)->core.height ? childHeight : LabelChild(cw)->core.height; break; case XbaePositionTop: case XbaePositionBottom: if ((int) LabelChild(cw)->core.height + cw->caption.label_offset > 0) *cwHeight = childHeight + LabelChild(cw)->core.height + cw->caption.label_offset; else *cwHeight = childHeight; *cwWidth = childWidth > LabelChild(cw)->core.width ? childWidth : LabelChild(cw)->core.width; break; } } static void ChangeManaged(Widget w) { XbaeCaptionWidget cw = (XbaeCaptionWidget) w; Dimension width, height; XtGeometryResult result; /* * Figure out what size we want to be. If we don't have a user child, * we just want to be as big as the label. Otherwise we must * take the label and user child into account. */ if (!HaveUserChild(cw)) { width = LabelChild(cw)->core.width; height = LabelChild(cw)->core.height; } else { ComputeSize(cw, &width, &height, UserChild(cw)->core.width, UserChild(cw)->core.height, UserChild(cw)->core.border_width); } /* * If our calculated size is not our current size, * then request our calculated size. */ if (width != cw->core.width || height != cw->core.height) { do { result = XtMakeResizeRequest((Widget) cw, width, height, &width, &height); } while (result == XtGeometryAlmost); } /* * Layout for the new configuration */ Layout(cw, True); } /* ARGSUSED */ static XtGeometryResult GeometryManager(Widget w, XtWidgetGeometry * desired, XtWidgetGeometry * allowed) { XbaeCaptionWidget cw = (XbaeCaptionWidget) XtParent(w); Dimension save_width, save_height, save_border_width; #define Wants(flag) (desired->request_mode & flag) /* * If this is our label widget child, and it is querying, then return * Yes since we always grant the labels requests. */ if (w == LabelChild(cw) && Wants(XtCWQueryOnly)) return XtGeometryYes; /* * Disallow position-only changes for the user's child. */ if (w == UserChild(cw) && !Wants(CWWidth) && !Wants(CWHeight) && !Wants(CWBorderWidth)) return XtGeometryNo; /* * Save the childs current geometry in case we have to back it out. */ save_width = w->core.width; save_height = w->core.height; save_border_width = w->core.border_width; /* * Store the childs desired geometry into it's widget record. */ if (Wants(CWWidth)) w->core.width = desired->width; if (Wants(CWHeight)) w->core.height = desired->height; if (Wants(CWBorderWidth)) w->core.border_width = desired->border_width; /* * If this is our label widget child, then return Yes. We stored the * changes into the widget above (except for position which we do now), * so Xt will reconfigure the label. * We let our label widget do whatever it wants since we control * when it requests a new size in our set_values. */ if (w == LabelChild(cw)) { if (Wants(CWX)) w->core.x = desired->x; if (Wants(CWY)) w->core.y = desired->y; return XtGeometryYes; } /* * Otherwise this must be our user's child widget. * We will attempt to resize to accomodate it. */ else { XtWidgetGeometry request; XtGeometryResult result; /* * Compute the size we want to be based on the new geometry * stored in the user's child above. */ ComputeSize(cw, &request.width, &request.height, w->core.width, w->core.height, w->core.border_width); /* * If our calculated size is not our current size, * then request our calculated size. */ if (request.width != cw->core.width || request.height != cw->core.height) { request.request_mode = 0; if (request.width != cw->core.width) request.request_mode |= CWWidth; if (request.height != cw->core.height) request.request_mode |= CWHeight; if (Wants(XtCWQueryOnly)) request.request_mode |= XtCWQueryOnly; do { result = XtMakeGeometryRequest((Widget) cw, &request, &request); } while (result == XtGeometryAlmost); /* * If our request was granted, we need to layout (we are assuming * our parent implements an XtGeometryYes policy and not * XtGeometryDone) */ if (result == XtGeometryYes && !Wants(XtCWQueryOnly)) Layout(cw, False); } else result = XtGeometryYes; /* * A Yes result means we either got the size we wanted, or we agreed * to a compromise. */ if (result == XtGeometryYes) { Dimension childWidth, childHeight; /* * Compute the size of the user's child given the size * we got from our geometry negotiations above. */ ComputeUserChildSize(cw, request.width, request.height, &childWidth, &childHeight, w->core.border_width); /* * If the child wants to change it's position, or it wants * to change it's size but our compromize size is not an * exact fit, then we need to return Almost and the new geometry. */ if (((Wants(CWX) || Wants(CWY)) || (Wants(CWWidth) && childWidth != w->core.width) || (Wants(CWHeight) && childHeight != w->core. height))) { result = XtGeometryAlmost; allowed->request_mode = desired->request_mode & ~(CWX | CWY); allowed->width = childWidth; allowed->height = childHeight; allowed->border_width = w->core.border_width; } } /* * Restore the childs geometry for No or Almost or QueryOnly. */ if (result == XtGeometryNo || result == XtGeometryAlmost || Wants(XtCWQueryOnly)) { w->core.width = save_width; w->core.height = save_height; w->core.border_width = save_border_width; } return result; } #undef Wants } static XtGeometryResult QueryGeometry(Widget w, XtWidgetGeometry * proposed, XtWidgetGeometry * desired) { XbaeCaptionWidget cw = (XbaeCaptionWidget) w; #define Set(bit) (proposed->request_mode & bit) /* * If we don't have a user child, we want to be the size of the label. */ if (!HaveUserChild(cw)) { desired->width = LabelChild(cw)->core.width; desired->height = LabelChild(cw)->core.height; desired->request_mode = CWWidth | CWHeight; if (Set(CWWidth) && proposed->width == desired->width && Set(CWHeight) && proposed->height == desired->height) return XtGeometryYes; if (desired->width == cw->core.width && desired->height == cw->core.height) return XtGeometryNo; return XtGeometryAlmost; } /* * Otherwise we must take into account what size the user child wants to be */ else { XtWidgetGeometry childProposed, childDesired; Dimension childWidth, childHeight, childBorderWidth = 0; Dimension cwWidth, cwHeight; XtGeometryResult result; /* * Get our size based on the proposed size for use in computing * the user's child size. */ if (Set(CWWidth)) cwWidth = proposed->width; else cwWidth = cw->core.width; if (Set(CWHeight)) cwHeight = proposed->height; else cwHeight = cw->core.height; /* * Compute the size of the user's child based on our proposed new size. */ ComputeUserChildSize(cw, cwWidth, cwHeight, &childWidth, &childHeight, UserChild(cw)->core.border_width); /* * Build a geometry request to query the user's child with. */ childProposed.request_mode = 0; if (Set(CWWidth)) { childProposed.width = childWidth; childProposed.request_mode |= CWWidth; } if (Set(CWHeight)) { childProposed.height = childHeight; childProposed.request_mode |= CWHeight; } /* * Query the child. */ result = XtQueryGeometry(UserChild(cw), &childProposed, &childDesired); /* * Save the childs desired geometry. */ switch (result) { case XtGeometryYes: /* use our computed childWidth and childHeight */ childBorderWidth = UserChild(cw)->core.border_width; break; case XtGeometryAlmost: childWidth = childDesired.width; childHeight = childDesired.height; childBorderWidth = childDesired.border_width; break; case XtGeometryNo: childWidth = UserChild(cw)->core.width; childHeight = UserChild(cw)->core.height; childBorderWidth = UserChild(cw)->core.border_width; break; default: break; } /* * Calculate what size we need to be to handle the childs * desired geometry and store it in our own desired record. */ ComputeSize(cw, &desired->width, &desired->height, childWidth, childHeight, childBorderWidth); /* * If the proposed geometry changed, or if the child cares about * it's geometry, then set the flag in desired */ desired->request_mode = 0; if ((Set(CWWidth) && proposed->width != desired->width) || childDesired.request_mode & CWWidth) desired->request_mode |= CWWidth; if ((Set(CWHeight) && proposed->height != desired->height) || childDesired.request_mode & CWHeight) desired->request_mode |= CWHeight; /* * If our desired geometry differs from the proposed one, or if * we care about a geometry which was not proposed, we return * Almost. Otherwise we return whatever our child returned. */ if ((Set(CWWidth) && proposed->width != desired->width) || (!Set(CWWidth) && desired->request_mode & CWWidth) || (Set(CWHeight) && proposed->height != desired->height) || (!Set(CWHeight) && desired->request_mode & CWHeight)) return XtGeometryAlmost; else return result; } #undef Set } /* * Compare two strings. The test string must be lower case * and NULL terminated. Leading and trailing whitespace in the in * string is ignored. */ static Boolean CompareStrings(String in, String test) { /* * Strip leading whitespace off the in string. */ while (isspace(*in)) in++; for (; *test != '\0' && !isspace(*in); test++, in++) { char c = *in; if (isupper(c)) c = tolower(c); if (c != *test) return False; } if (*test == '\0' && (*in == '\0' || isspace(*in))) return True; else return False; } /* ARGSUSED */ static Boolean CvtStringToLabelPosition(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static XbaeLabelPosition position; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToLabelPosition", "wrongParameters", "XbaeCaption", "String to LabelPosition conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(XbaeLabelPosition)) { to->size = sizeof(XbaeLabelPosition); return False; } if (CompareStrings(from->addr, "left")) position = XbaePositionLeft; else if (CompareStrings(from->addr, "right")) position = XbaePositionRight; else if (CompareStrings(from->addr, "top")) position = XbaePositionTop; else if (CompareStrings(from->addr, "bottom")) position = XbaePositionBottom; else { XtDisplayStringConversionWarning(dpy, from->addr, XmRLabelPosition); return False; } /* * Store our return value */ if (to->addr == NULL) to->addr = (XtPointer) & position; else *(XbaeLabelPosition *) to->addr = position; to->size = sizeof(XbaeLabelPosition); return True; } /* ARGSUSED */ static Boolean CvtStringToLabelAlignment(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static XbaeLabelAlignment alignment; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToLabelAlignment", "wrongParameters", "XbaeCaption", "String to LabelAlignment conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(XbaeLabelAlignment)) { to->size = sizeof(XbaeLabelAlignment); return False; } if (CompareStrings(from->addr, "toporleft") || CompareStrings(from->addr, "top") || CompareStrings(from->addr, "left")) alignment = XbaeAlignmentTopOrLeft; else if (CompareStrings(from->addr, "center")) alignment = XbaeAlignmentCenter; else if (CompareStrings(from->addr, "bottomorright") || CompareStrings(from->addr, "bottom") || CompareStrings(from->addr, "right")) alignment = XbaeAlignmentBottomOrRight; else { XtDisplayStringConversionWarning(dpy, from->addr, XmRLabelAlignment); return False; } /* * Store our return value */ if (to->addr == NULL) to->addr = (XtPointer) & alignment; else *(XbaeLabelAlignment *) to->addr = alignment; to->size = sizeof(XbaeLabelAlignment); return True; } Widget XbaeCreateCaption(Widget parent, String name, ArgList args, Cardinal ac) { return XtCreateWidget(name, xbaeCaptionWidgetClass, parent, args, ac); } xbae-4.60.4/src/Create.c0000664000076400007640000011302010433100305011577 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the Xbae Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Create.c,v 1.86 2006/01/19 18:43:47 tobiasoed Exp $ */ /* * Create.c created by Andrew Lister (28 Jan, 1996) */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include static Pixmap createInsensitivePixmap(XbaeMatrixWidget mw); static Boolean xbaeEanableThinThickness(Widget widget) { #if XmVersion >= 2 Boolean enable_thin_thickness; Display *display = XtDisplay(widget); Widget xmDisplay = XmGetXmDisplay(display); XtVaGetValues(xmDisplay, XmNenableThinThickness, &enable_thin_thickness, NULL); return enable_thin_thickness; #else return False #endif } void xbaeCopyMarginSize(Widget widget, int offset, XrmValue *value) { static const Dimension thin = 1; static const Dimension thick = 3; value->addr = (XtPointer) (xbaeEanableThinThickness(widget) ? &thin : &thick); } void xbaeCopyThickness(Widget widget, int offset, XrmValue *value) { static const Dimension thin = 1; static const Dimension thick = 2; value->addr = (XtPointer) (xbaeEanableThinThickness(widget) ? &thin : &thick); } void xbaeCopySpace(Widget widget, int offset, XrmValue *value) { static const Dimension thin = 2; static const Dimension thick = 4; value->addr = (XtPointer) (xbaeEanableThinThickness(widget) ? &thin : &thick); } void xbaeCopyBackground(Widget widget, int offset, XrmValue * value) { value->addr = (XtPointer) & (widget->core.background_pixel); } void xbaeCopyForeground(Widget widget, int offset, XrmValue * value) { value->addr = (XtPointer) & (((XmManagerWidget) widget)->manager.foreground); } void xbaeCopyDoubleClick(Widget widget, int offset, XrmValue * value) { static int interval; interval = XtGetMultiClickTime(XtDisplay(widget)); value->addr = (XtPointer) & interval; } /**************************************************************************************************/ static void *copyUnchecked(void *src, int n, size_t size) { void *copy = NULL; if (n) { copy = XtMalloc(n * size); memcpy(copy, src, n * size); } return copy; } void xbaeCopyColumnButtonLabels(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.column_button_labels = copyUnchecked(mw->matrix.column_button_labels, mw->matrix.columns, sizeof *mw->matrix.column_button_labels); xbaeObjectUnlock((Widget) mw); } void xbaeCopyRowButtonLabels(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.row_button_labels = copyUnchecked(mw->matrix.row_button_labels, mw->matrix.rows, sizeof *mw->matrix.row_button_labels); xbaeObjectUnlock((Widget) mw); } void xbaeCopyShowColumnArrows(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.show_column_arrows = copyUnchecked(mw->matrix.show_column_arrows, mw->matrix.columns, sizeof *mw->matrix.show_column_arrows); xbaeObjectUnlock((Widget) mw); } void xbaeCopyColumnFontBold(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.column_font_bold = copyUnchecked(mw->matrix.column_font_bold, mw->matrix.columns, sizeof *mw->matrix.column_font_bold); xbaeObjectUnlock((Widget) mw); } void xbaeCopyRowUserData(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.row_user_data = copyUnchecked(mw->matrix.row_user_data, mw->matrix.rows, sizeof *mw->matrix.row_user_data); xbaeObjectUnlock((Widget) mw); } void xbaeCopyColumnUserData(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.column_user_data = copyUnchecked(mw->matrix.column_user_data, mw->matrix.columns, sizeof *mw->matrix.column_user_data); xbaeObjectUnlock((Widget) mw); } /**************************************************************************************************/ static unsigned char *copyAlignments(Widget w, unsigned char *alignments, int n) { unsigned char *copy = NULL; int i; Boolean bad = False; if (n) { copy = (unsigned char *) XtMalloc(n * sizeof(unsigned char)); for (i = 0; i < n; i++) { if (bad) { copy[i] = XmALIGNMENT_BEGINNING; } else if (alignments[i] == BAD_ALIGNMENT) { copy[i] = XmALIGNMENT_BEGINNING; bad = True; XtAppWarningMsg(XtWidgetToApplicationContext(w), "copyAlignments", "tooShort", "XbaeMatrix", "XbaeMatrix: Column or column label alignments array is too short", NULL, 0); } else { copy[i] = alignments[i]; } } } return copy; } void xbaeCopyColumnAlignments(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.column_alignments = copyAlignments((Widget) mw, mw->matrix.column_alignments, mw->matrix.columns); xbaeObjectUnlock((Widget) mw); } void xbaeCopyColumnLabelAlignments(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.column_label_alignments = copyAlignments((Widget) mw, mw->matrix.column_label_alignments, mw->matrix.columns); xbaeObjectUnlock((Widget) mw); } /**************************************************************************************************/ static unsigned char *copyShadowTypes(Widget w, unsigned char *shadow_types, int n) { unsigned char *copy = NULL; int i; Boolean bad = False; if (n) { copy = (unsigned char *) XtMalloc(n * sizeof(unsigned char)); for (i = 0; i < n; i++) { if (bad) { copy[i] = 0; } else if (shadow_types[i] == BAD_SHADOW) { copy[i] = 0; bad = True; XtAppWarningMsg(XtWidgetToApplicationContext(w), "copyShadowTypes", "tooShort", "XbaeMatrix", "XbaeMatrix: Row or column shadowTypes array is too short", NULL, 0); } else { copy[i] = shadow_types[i]; } } } return copy; } void xbaeCopyRowShadowTypes(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.row_shadow_types = copyShadowTypes((Widget) mw, mw->matrix.row_shadow_types, mw->matrix.rows); xbaeObjectUnlock((Widget) mw); } void xbaeCopyColumnShadowTypes(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.column_shadow_types = copyShadowTypes((Widget) mw, mw->matrix.column_shadow_types, mw->matrix.columns); xbaeObjectUnlock((Widget) mw); } /**************************************************************************************************/ static short *copySizes(Widget w, short default_size, short *sizes, int n) { short *copy = NULL; int i; Boolean bad = False; if (n) { copy = (short *) XtMalloc(n * sizeof(short)); for (i = 0; i < n; i++) { if (bad) { copy[i] = default_size; } else if (sizes[i] < 0) { copy[i] = default_size; bad = True; XtAppWarningMsg(XtWidgetToApplicationContext(w), "copySizes", "tooShort", "XbaeMatrix", "XbaeMatrix: Row height or column width array is too short or contains illigal values", NULL, 0); } else { copy[i] = sizes[i]; } } } return copy; } void xbaeCopyColumnWidths(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.column_widths = copySizes((Widget) mw, DEFAULT_COLUMN_WIDTH(mw), mw->matrix.column_widths, mw->matrix.columns); xbaeObjectUnlock((Widget) mw); } void xbaeCopyRowHeights(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.row_heights = copySizes((Widget) mw, DEFAULT_ROW_HEIGHT(mw), mw->matrix.row_heights, mw->matrix.rows); xbaeObjectUnlock((Widget) mw); } /**************************************************************************************************/ void xbaeCopyColumnMaxLengths(XbaeMatrixWidget mw) { int *copy = NULL; int i; Boolean bad = False; xbaeObjectLock((Widget) mw); if (mw->matrix.columns) { copy = (int *) XtMalloc(mw->matrix.columns * sizeof(int)); for (i = 0; i < mw->matrix.columns; i++) { if (bad) { copy[i] = 0; } else if (mw->matrix.column_max_lengths[i] < 0) { copy[i] = 0; bad = True; XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "copyColumnMaxLengths", "tooShort", "XbaeMatrix", "XbaeMatrix: Column max lengths array is too short or contains illigal values", NULL, 0); } else { copy[i] = mw->matrix.column_max_lengths[i]; } } } mw->matrix.column_max_lengths = copy; xbaeObjectUnlock((Widget) mw); } /**************************************************************************************************/ static String *copyLabels(Widget w, String *labels, int n) { String *copy = NULL; int i; Boolean bad = False; if (n && labels) { copy = (String *) XtMalloc(n * sizeof(String)); for (i = 0; i < n; i++) { if (bad) { copy[i] = NULL; } else if (labels[i] == &xbaeBadString) { copy[i] = NULL; bad = True; XtAppWarningMsg(XtWidgetToApplicationContext(w), "copyLabels", "tooShort", "XbaeMatrix", "XbaeMatrix: Row or column labels array is too short", NULL, 0); } else { copy[i] = (labels[i] == NULL) ? NULL : XtNewString(labels[i]); } } } return copy; } static XmString *copyXmlabels(Widget w, XmString *xmlabels, int n) { XmString *xmcopy = NULL; int i; if (n && xmlabels) { xmcopy = (XmString *) XtMalloc(n * sizeof(XmString)); for (i = 0; i < n; i++) { xmcopy[i] = (xmlabels[i] == NULL) ? NULL : XmStringCopy(xmlabels[i]); } } return xmcopy; } void xbaeCopyRowLabels(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.row_labels = copyLabels((Widget) mw, mw->matrix.row_labels, mw->matrix.rows); mw->matrix.xmrow_labels = copyXmlabels((Widget) mw, mw->matrix.xmrow_labels, mw->matrix.rows); xbaeObjectUnlock((Widget) mw); } void xbaeCopyColumnLabels(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); mw->matrix.column_labels = copyLabels((Widget) mw, mw->matrix.column_labels, mw->matrix.columns); mw->matrix.xmcolumn_labels = copyXmlabels((Widget) mw, mw->matrix.xmcolumn_labels, mw->matrix.columns); xbaeObjectUnlock((Widget) mw); } /**************************************************************************************************/ void xbaeFreeLabels(String *labels, XmString *xmlabels, int n) { int i; if (labels) { for (i = 0; i < n; i++) { if (labels[i]) { XtFree((char *) labels[i]); } } XtFree((char *) labels); } if (xmlabels) { for (i = 0; i < n; i++) { if (xmlabels[i]) { XmStringFree(xmlabels[i]); } } XtFree((char *) xmlabels); } } void xbaeFreeRowLabels(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); xbaeFreeLabels(mw->matrix.row_labels, mw->matrix.xmrow_labels, mw->matrix.rows); mw->matrix.row_labels = NULL; mw->matrix.xmrow_labels = NULL; xbaeObjectUnlock((Widget) mw); } void xbaeFreeColumnLabels(XbaeMatrixWidget mw) { xbaeObjectLock((Widget) mw); xbaeFreeLabels(mw->matrix.column_labels, mw->matrix.xmcolumn_labels, mw->matrix.columns); mw->matrix.column_labels = NULL; mw->matrix.xmcolumn_labels = NULL; xbaeObjectUnlock((Widget) mw); } /**************************************************************************************************/ /* * A cache for pixmaps which remembers the screen a pixmap belongs to * (see bug #591306) and that permits clearing by screen when that * screen gets closed. */ static struct pcache { Pixmap pixmap; Screen *scr; } *stipple_cache = NULL; static int ncache = 0; /* Allocated size of the array. */ /* Empty places have NULL screen */ static Pixmap PixmapFromCache(Screen * scr) { int i; for (i = 0; i < ncache; i++) if (scr == stipple_cache[i].scr) return stipple_cache[i].pixmap; return (Pixmap) 0; } static void AddPixmapToCache(Screen * scr, Pixmap p) { int i, old; for (i = 0; i < ncache; i++) if (stipple_cache[i].scr == 0) { stipple_cache[i].scr = scr; stipple_cache[i].pixmap = p; return; } /* Allocate more */ if (ncache) { old = ncache; ncache *= 2; stipple_cache = (struct pcache *) XtRealloc((char *) stipple_cache, ncache * sizeof(struct pcache)); for (i = old; i < ncache; i++) stipple_cache[i].scr = NULL; stipple_cache[old].scr = scr; stipple_cache[old].pixmap = p; } else { ncache = 16; /* Some silly initial value */ stipple_cache = (struct pcache *) XtMalloc(ncache * sizeof(struct pcache)); for (i = 0; i < ncache; i++) stipple_cache[i].scr = NULL; stipple_cache[0].scr = scr; stipple_cache[0].pixmap = p; } } /* * Remove the pixmaps with this screen from the cache */ static void RemovePixmapsFromScreen(Screen * scr) { int i; for (i = 0; i < ncache; i++) if (stipple_cache[i].scr == scr) { XFreePixmap(DisplayOfScreen(stipple_cache[i].scr), stipple_cache[i].pixmap); stipple_cache[i].pixmap = (Pixmap) 0; stipple_cache[i].scr = NULL; } } /* * Create a pixmap to be used for drawing the matrix contents when * XmNsensitive is set to False */ static Pixmap createInsensitivePixmap(XbaeMatrixWidget mw) { static char stippleBits[] = { 0x01, 0x02 }; Display *dpy = XtDisplay(mw); Screen *scr = XtScreen(mw); Pixmap p; xbaeObjectLock((Widget) mw); p = PixmapFromCache(XtScreen((Widget) mw)); if (p) { xbaeObjectUnlock((Widget) mw); return p; } p = XCreatePixmapFromBitmapData(dpy, RootWindowOfScreen(scr), stippleBits, 2, 2, 0, 1, 1); AddPixmapToCache(scr, p); xbaeObjectUnlock((Widget) mw); return p; } /* * Make sure to know when our display connection dies. */ static void DisplayDied(Widget w, XtPointer client, XtPointer call) { XtDestroyHookDataRec *p = (XtDestroyHookDataRec *) call; if (p == NULL || p->type != XtHdestroy) return; if (XtIsSubclass(p->widget, xmPrimitiveWidgetClass)) RemovePixmapsFromScreen(XtScreen(p->widget)); } void xbaeRegisterDisplay(Widget w) { Display *d = XtDisplay(w); XtAddCallback(XtHooksOfDisplay(d), XtNdestroyHook, DisplayDied, NULL); } /**************************************************************************************************/ void xbaeCreateDrawGC(XbaeMatrixWidget mw) { XGCValues values; unsigned long mask = GCStipple | GCFillStyle; xbaeObjectLock((Widget) mw); /* * GC for drawing cells. We create it instead of using a cached one, * since the foreground may change frequently. */ values.stipple = createInsensitivePixmap(mw); values.fill_style = (XtIsSensitive((Widget) mw)) ? FillSolid : FillStippled; DEBUGOUT(_XbaeDebug(__FILE__, (Widget) mw, "xbaeCreateDrawGC(dpy %p win %p fg %d stip %p)\n", XtDisplay(mw), GC_PARENT_WINDOW(mw), values.foreground, values.stipple)); mw->matrix.draw_gc = XCreateGC(XtDisplay(mw), GC_PARENT_WINDOW(mw), mask, &values); xbaeObjectUnlock((Widget) mw); } void xbaeCreatePixmapGC(XbaeMatrixWidget mw) { XGCValues values; unsigned long mask = GCStipple | GCFillStyle | GCGraphicsExposures; xbaeObjectLock((Widget) mw); values.stipple = createInsensitivePixmap(mw); values.fill_style = (XtIsSensitive((Widget) mw)) ? FillSolid : FillStippled; values.graphics_exposures = False; mw->matrix.pixmap_gc = XCreateGC(XtDisplay(mw), GC_PARENT_WINDOW(mw), mask, &values); xbaeObjectUnlock((Widget) mw); } void xbaeCreateLabelGC(XbaeMatrixWidget mw) { XGCValues values; unsigned long mask = GCStipple | GCFillStyle; xbaeObjectLock((Widget) mw); /* * GC for drawing labels */ values.stipple = createInsensitivePixmap(mw); values.fill_style = (XtIsSensitive((Widget) mw)) ? FillSolid : FillStippled; /* Font id isn't used for fontsets */ if (mw->matrix.label_font.type == XmFONT_IS_FONT) { mask |= GCFont; values.font = mw->matrix.label_font.id; } mw->matrix.label_gc = XCreateGC(XtDisplay(mw), GC_PARENT_WINDOW(mw), mask, &values); xbaeObjectUnlock((Widget) mw); } void xbaeGetGridLineGC(XbaeMatrixWidget mw) { XGCValues values; XtGCMask mask = GCForeground | GCBackground; xbaeObjectLock((Widget) mw); /* * GC for drawing grid lines */ values.foreground = mw->matrix.grid_line_color; values.background = mw->manager.foreground; /* Release the GC before getting another one */ if (mw->matrix.grid_line_gc) XtReleaseGC((Widget) mw, mw->matrix.grid_line_gc); mw->matrix.grid_line_gc = XtGetGC((Widget) mw, mask, &values); xbaeObjectUnlock((Widget) mw); } void xbaeGetResizeTopShadowGC(XbaeMatrixWidget mw) { XGCValues values; XtGCMask mask = GCForeground | GCBackground | GCFunction; xbaeObjectLock((Widget) mw); /* * GC for drawing the top shadow when resizing */ values.foreground = mw->manager.top_shadow_color; values.background = mw->manager.foreground; values.function = GXxor; if (mw->manager.top_shadow_pixmap != XmUNSPECIFIED_PIXMAP) { mask |= GCFillStyle | GCTile; values.fill_style = FillTiled; values.tile = mw->manager.top_shadow_pixmap; } /* Release the GC before getting another one */ if (mw->matrix.resize_top_shadow_gc) XtReleaseGC((Widget) mw, mw->matrix.resize_top_shadow_gc); mw->matrix.resize_top_shadow_gc = XtGetGC((Widget) mw, mask, &values); xbaeObjectUnlock((Widget) mw); } void xbaeGetResizeBottomShadowGC(XbaeMatrixWidget mw) { XGCValues values; XtGCMask mask = GCForeground | GCBackground | GCFunction; xbaeObjectLock((Widget) mw); /* * GC for drawing the bottom shadow when resizing */ values.foreground = mw->manager.bottom_shadow_color; values.background = mw->manager.foreground; values.function = GXxor; if (mw->manager.bottom_shadow_pixmap != XmUNSPECIFIED_PIXMAP) { mask |= GCFillStyle | GCTile; values.fill_style = FillTiled; values.tile = mw->manager.bottom_shadow_pixmap; } /* Release the GC before getting another one */ if (mw->matrix.resize_bottom_shadow_gc) XtReleaseGC((Widget) mw, mw->matrix.resize_bottom_shadow_gc); mw->matrix.resize_bottom_shadow_gc = XtGetGC((Widget) mw, mask, &values); xbaeObjectUnlock((Widget) mw); } /**************************************************************************************************/ static short xbaeGetFontStructWidth(XFontStruct *font_struct) { short width; unsigned long fp; unsigned char char_idx; /* * From the XmText man page: If the em-space value is * available, it is used. If not, the width of the numeral "0" * is used. If this is not available, the maximum width is used. */ if (XGetFontProperty(font_struct, XA_QUAD_WIDTH, &fp) && fp != 0) { width = (short) fp; } else { if (font_struct->min_char_or_byte2 <= '0' && font_struct->max_char_or_byte2 >= '0' && font_struct->per_char) { char_idx = '0' - font_struct->min_char_or_byte2; width = font_struct->per_char[char_idx].width; } else { width = font_struct->max_bounds.width; } } /* last safety check */ if (width <= 0) { width = 1; } return width; } static short xbaeGetFontSetWidth(XFontSet font_set) { XFontStruct **font_struct_list; char **font_name_list; int n, i, max_width; n = XFontsOfFontSet(font_set, &font_struct_list, &font_name_list); if (n <= 0) { max_width = 1; } else { max_width = xbaeGetFontStructWidth(font_struct_list[0]); for (i = 1; i < n; i++) { int width = xbaeGetFontStructWidth(font_struct_list[i]); if (width > max_width) { max_width = width; } } } return max_width; } static void xbaeInitFontInfo(XtPointer fontp, XmFontType type, XbaeMatrixFontInfo *font) { font->type = type; if (type == XmFONT_IS_FONTSET) { XFontSet font_set = (XFontSet) fontp; XFontSetExtents *extents; font->fontp.font_set = font_set; extents = XExtentsOfFontSet(font_set); font->width = xbaeGetFontSetWidth(font_set); font->height = extents->max_logical_extent.height; font->y = extents->max_logical_extent.y; font->id = 0; /* not used for fontsets */ DEBUGOUT(_XbaeDebug(__FILE__, NULL, "font is fontset of width %d\n", font->width)); } else { XFontStruct *font_struct = (XFontStruct *) fontp; font->fontp.font_struct = font_struct; font->width = xbaeGetFontStructWidth(font_struct); font->height = font_struct->max_bounds.descent + font_struct->max_bounds.ascent; font->y = - font_struct->max_bounds.ascent; font->id = font_struct->fid; DEBUGOUT(_XbaeDebug(__FILE__, NULL, "font is font of width: %d\n", font->width)); } } XmFontListEntry xbaeFontListGetEntry(XbaeMatrixWidget mw, XmFontList font_list, XmStringTag tag) { XmFontContext context; XmFontListEntry font_list_entry = NULL; XmStringTag tags[] = {NULL, _MOTIF_DEFAULT_LOCALE, XmFONTLIST_DEFAULT_TAG}; int n_tags = sizeof tags/sizeof *tags; int i; xbaeObjectLock((Widget) mw); tags[0] = tag; DEBUGOUT(_XbaeDebug(__FILE__, (Widget)mw, "xbaeFontListGetEntry\n")); /* * Find the first tag that exists in the font_list */ for(i = (tag == NULL); i < n_tags && font_list_entry == NULL; i++) { /* * Get a font context so we can loop over the XmFontListEntries */ if (!XmFontListInitFontContext(&context, font_list)) { XtAppErrorMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeFontListGetEntry", "badFont", "XbaeMatrix", "XbaeMatrix: XmFontListInitFontContext failed, bad fontList", NULL, 0); } /* * Search the font list for an entry with a matching tag */ for( font_list_entry = XmFontListNextEntry(context) ; font_list_entry != NULL ; font_list_entry = XmFontListNextEntry(context)) { XmStringTag entry_tag; entry_tag = XmFontListEntryGetTag(font_list_entry); if (strcmp(entry_tag, tags[i]) == 0) { XtFree((XtPointer) entry_tag); break; } XtFree((XtPointer) entry_tag); } XmFontListFreeFontContext(context); } if (font_list_entry == NULL) { /* * No tag matches, fall back to the first font */ XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeFontListGetEntry", "badTag", "XbaeMatrix", "XbaeMatrix: Couldn't find tag in fontlist", NULL, 0); if (!XmFontListInitFontContext(&context, font_list)) { XtAppErrorMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeFontListGetEntry", "badFont", "XbaeMatrix", "XbaeMatrix: XmFontListInitFontContext failed, bad fontList", NULL, 0); } font_list_entry = XmFontListNextEntry(context); XmFontListFreeFontContext(context); } xbaeObjectUnlock((Widget) mw); return font_list_entry; } void xbaeInitFontFromFontList(XbaeMatrixWidget mw, XmFontList font_list, XmStringTag tag, XbaeMatrixFontInfo *font) { XmFontListEntry font_list_entry; XtPointer fontp = NULL; XmFontType type; DEBUGOUT(_XbaeDebug(__FILE__, (Widget) mw, "InitFontFromFontlist\n")); font_list_entry = xbaeFontListGetEntry(mw, font_list, tag); if (font_list_entry == NULL) { XtAppErrorMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeInitFontFromFontList", "badFont", "XbaeMatrix", "XbaeMatrix: No fontListEntry found", NULL, 0); } fontp = XmFontListEntryGetFont(font_list_entry, &type); if (fontp == NULL) { XtAppErrorMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeInitFontFromFontList", "badFont", "XbaeMatrix", "XbaeMatrix: XmFontListEntryGetFont failed, bad fontListEntry", NULL, 0); } xbaeInitFontInfo(fontp, type, font); } #if XmVERSION >= 2 XmRendition xbaeRenderTableGetRendition(XbaeMatrixWidget mw, XmRenderTable render_table, XmStringTag tag) { XmRendition rendition = NULL; XmStringTag tags[] = {NULL, _MOTIF_DEFAULT_LOCALE, XmFONTLIST_DEFAULT_TAG}; int n_tags = sizeof tags/sizeof *tags; int i; xbaeObjectLock((Widget) mw); tags[0] = tag; DEBUGOUT(_XbaeDebug(__FILE__, (Widget)mw, "xbaeRenderTableGetRendition\n")); /* * Find the first tag that exists in the render_table */ for (i = (tag == NULL); i < n_tags && rendition == NULL; i++) { rendition = XmRenderTableGetRendition(render_table, tags[i]); } if (rendition == NULL) { /* * No tag matches, fall back to the first rendition */ int i, n; XmStringTag *existing_tags; n = XmRenderTableGetTags(render_table, &existing_tags); XtAppWarningMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeRenderTableGetRendition", "badTag", "XbaeMatrix", "XbaeMatrix: Couldn't find tag in renderTable", NULL, 0); if (n) { rendition = XmRenderTableGetRendition(render_table, existing_tags[0]); } for(i = 0; i < n; i++) { XtFree(existing_tags[i]); } XtFree((XtPointer) existing_tags); } return rendition; } void xbaeInitFontFromRenderTable(XbaeMatrixWidget mw, XmRenderTable render_table, XmStringTag tag, XbaeMatrixFontInfo *font) { XmRendition rendition = NULL; String fontname; XmFontType type; XtPointer fontp; Arg args[10]; int m = 0; DEBUGOUT(_XbaeDebug(__FILE__, (Widget) mw, "xbaeInitFontFromRenderTable(%p)\n", render_table)); /* * Find the first tag that exists in the render_table */ rendition = xbaeRenderTableGetRendition(mw, render_table, tag); if (rendition == NULL) { XtAppErrorMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeInitFontFromRenderTable", "badFont", "XbaeMatrix", "XbaeMatrix: No rendition found", NULL, 0); } XtSetArg(args[m], XmNfontName, &fontname); m++; XtSetArg(args[m], XmNfont, &fontp); m++; XtSetArg(args[m], XmNfontType, &type); m++; XmRenditionRetrieve(rendition, args, m); if (fontp == NULL || fontp == (XtPointer) XmAS_IS) { XtAppErrorMsg(XtWidgetToApplicationContext((Widget) mw), "xbaeFontFromRenderTable", "badFont", "XbaeMatrix", "XbaeMatrix: The specified tag has no font loaded", NULL, 0); } xbaeInitFontInfo(fontp, type, font); XmRenditionFree(rendition); } #endif void xbaeInitFonts(XbaeMatrixWidget mw) { #if XmVERSION >= 2 if (mw->matrix.render_table) { xbaeInitFontFromRenderTable(mw, mw->matrix.render_table, NULL, &mw->matrix.cell_font); } else #endif { xbaeInitFontFromFontList(mw, mw->matrix.font_list, NULL, &mw->matrix.cell_font); } #if XmVERSION >= 2 if (mw->matrix.render_table) { xbaeInitFontFromRenderTable(mw, mw->matrix.render_table, "labels", &mw->matrix.label_font); } else #endif { if (mw->matrix.label_font_list) { xbaeInitFontFromFontList(mw, mw->matrix.label_font_list, NULL, &mw->matrix.label_font); } else if (mw->matrix.font_list) { xbaeInitFontFromFontList(mw, mw->matrix.font_list, "labels", &mw->matrix.label_font); } } } /**************************************************************************************************/ /* * ARCAD SYSTEMHAUS */ void xbaeFill_WithEmptyValues_PerCell(XbaeMatrixWidget mw, struct _XbaeMatrixPerCellRec *p) { p->shadow_type = 0; /* 0 means to use matrix.cell_shadow_type */ p->highlighted = HighlightNone; p->selected = False; p->underlined = False; p->user_data = NULL; p->background = XmUNSPECIFIED_PIXEL; p->color = XmUNSPECIFIED_PIXEL; p->widget = NULL; p->pixmap = XmUNSPECIFIED_PIXMAP; p->mask = XmUNSPECIFIED_PIXMAP; p->CellValue = NULL; p->qtag = NULLQUARK; } void xbaeCreatePerCell(XbaeMatrixWidget mw) { /* * Create with empty values */ struct _XbaeMatrixPerCellRec **copy = NULL; int i, j; DEBUGOUT(_XbaeDebug(__FILE__, (Widget)mw, "xbaeCreatePerCell(%d, %d)\n", mw->matrix.rows, mw->matrix.columns)); xbaeObjectLock((Widget) mw); /* * Malloc an array of row pointers */ if (mw->matrix.rows && mw->matrix.columns) { copy = (struct _XbaeMatrixPerCellRec **) XtMalloc(mw->matrix.rows * sizeof *copy); for (i = 0; i < mw->matrix.rows; i++) { copy[i] = (struct _XbaeMatrixPerCellRec *) XtMalloc(mw->matrix.columns * sizeof *copy[i]); for (j = 0; j < mw->matrix.columns; j++) xbaeFill_WithEmptyValues_PerCell(mw, ©[i][j]); } } mw->matrix.per_cell = copy; xbaeObjectUnlock((Widget) mw); } void xbaeFreePerCellEntity(XbaeMatrixWidget mw, int row, int column) { /* Unmanage, unmap any cell widgets that might be visible */ if (mw->matrix.per_cell[row][column].widget) { XtUnmanageChild(mw->matrix.per_cell[row][column].widget); } /* Free the cellValue string */ if (mw->matrix.per_cell[row][column].CellValue) { XtFree(mw->matrix.per_cell[row][column].CellValue); mw->matrix.per_cell[row][column].CellValue = NULL; } /* Update the number of cells that are selected */ if (mw->matrix.per_cell[row][column].selected) { mw->matrix.num_selected_cells--; } } void xbaeFreePerCell(XbaeMatrixWidget mw) { int row; int column; /* * Free each row of XtPointer pointers */ if (mw->matrix.per_cell) { xbaeObjectLock((Widget) mw); for (row = 0; row < mw->matrix.rows; row++) { for (column = 0; column < mw->matrix.columns; column++) { xbaeFreePerCellEntity(mw, row, column); } XtFree((XtPointer) mw->matrix.per_cell[row]); } XtFree((XtPointer) mw->matrix.per_cell); mw->matrix.per_cell = NULL; xbaeObjectUnlock((Widget) mw); } } xbae-4.60.4/src/Makefile.am0000664000076400007640000001023110300043424012265 00000000000000# # $Header: /cvsroot/xbae/Xbae/src/Makefile.am,v 1.27 2005/08/15 07:41:08 dannybackx Exp $ # MAINTAINERCLEANFILES=Makefile.in EXTRA_DIST = $(MANS) Imakefile SUFFIXES= .1 .3 .5 .html INCLUDES = \ -I$(srcdir)/../include \ -I../include @MOTIF_CFLAGS@ @X_CFLAGS@ -DXBAE_PER_CELL libXbae_la_LDFLAGS = -version-info @XBAE_MAJOR@:@XBAE_MINOR@:@XBAE_AGE@ lib_LTLIBRARIES = libXbae.la # This doesn't work out yet: # picks up wrong Motif lib, won't work with non-installed library, etc. #libXbae_la_LIBADD = @MOTIF_LIBS@ @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} # doesn't work either since it may introduce a wrong linker path #libXbae_la_LIBADD = @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 $(X_EXTRA_LIBS) libXbae_la_LIBADD = @MOTIF_LIBS@ @LIBS@ @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} libXbae_la_SOURCES = \ Actions.c Caption.c Clip.c Converters.c Create.c Draw.c \ Input.c Matrix.c Methods.c Public.c ScrollMgr.c Shadow.c Utils.c \ DebugUtil.c man_MANS = XbaeCaption.3 XbaeInput.3 XbaeMatrix.3 if LT_BUILD_MAN2HTML else .3.html: $(MAN2HTML) -f -w <$*.3 >$*.html endif # # The dependencies from include files # Actions.lo: $(top_srcdir)/include/Xbae/MatrixP.h Actions.lo: $(top_srcdir)/include/Xbae/Clip.h Actions.lo: $(top_srcdir)/include/Xbae/Draw.h Actions.lo: $(top_srcdir)/include/Xbae/Actions.h Actions.lo: $(top_srcdir)/include/Xbae/Utils.h Actions.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h Actions.lo: $(top_srcdir)/include/Xbae/ClipP.h Caption.lo: $(top_srcdir)/include/Xbae/Macros.h Caption.lo: $(top_srcdir)/include/Xbae/CaptionP.h Clip.lo: $(top_srcdir)/include/Xbae/Macros.h Clip.lo: $(top_srcdir)/include/Xbae/ClipP.h Converters.lo: $(top_srcdir)/include/Xbae/MatrixP.h Converters.lo: $(top_srcdir)/include/Xbae/Converters.h Create.lo: $(top_srcdir)/include/Xbae/MatrixP.h Create.lo: $(top_srcdir)/include/Xbae/Macros.h Create.lo: $(top_srcdir)/include/Xbae/Utils.h Create.lo: $(top_srcdir)/include/Xbae/Actions.h Create.lo: $(top_srcdir)/include/Xbae/Create.h DebugUtil.lo: $(top_srcdir)/include/Xbae/Utils.h Draw.lo: $(top_srcdir)/include/Xbae/MatrixP.h Draw.lo: $(top_srcdir)/include/Xbae/Utils.h Draw.lo: $(top_srcdir)/include/Xbae/Shadow.h Draw.lo: $(top_srcdir)/include/Xbae/Draw.h Input.lo: $(top_srcdir)/include/Xbae/InputP.h Matrix.lo: $(top_srcdir)/include/Xbae/Input.h Matrix.lo: $(top_srcdir)/include/Xbae/Clip.h Matrix.lo: $(top_srcdir)/include/Xbae/MatrixP.h Matrix.lo: $(top_srcdir)/include/Xbae/Converters.h Matrix.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h Matrix.lo: $(top_srcdir)/include/Xbae/Actions.h Matrix.lo: $(top_srcdir)/include/Xbae/Create.h Matrix.lo: $(top_srcdir)/include/Xbae/Methods.h Matrix.lo: $(top_srcdir)/include/Xbae/Utils.h Matrix.lo: $(top_srcdir)/include/Xbae/Shadow.h Methods.lo: $(top_srcdir)/include/Xbae/MatrixP.h Methods.lo: $(top_srcdir)/include/Xbae/Methods.h Methods.lo: $(top_srcdir)/include/Xbae/Actions.h Methods.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h Methods.lo: $(top_srcdir)/include/Xbae/Utils.h Methods.lo: $(top_srcdir)/include/Xbae/Shadow.h Methods.lo: $(top_srcdir)/include/Xbae/Draw.h Methods.lo: $(top_srcdir)/include/Xbae/Create.h Methods.lo: $(top_srcdir)/include/Xbae/ClipP.h Methods.lo: $(top_srcdir)/include/Xbae/Input.h Public.lo: $(top_srcdir)/include/Xbae/MatrixP.h Public.lo: $(top_srcdir)/include/Xbae/Shadow.h Public.lo: $(top_srcdir)/include/Xbae/Draw.h Public.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h Public.lo: $(top_srcdir)/include/Xbae/Actions.h Public.lo: $(top_srcdir)/include/Xbae/Utils.h Public.lo: $(top_srcdir)/include/Xbae/Clip.h Public.lo: $(top_srcdir)/include/Xbae/Create.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/MatrixP.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/Draw.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/Shadow.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/ScrollMgr.h ScrollMgr.lo: $(top_srcdir)/include/Xbae/Utils.h Shadow.lo: $(top_srcdir)/include/Xbae/MatrixP.h Shadow.lo: $(top_srcdir)/include/Xbae/Shadow.h Shadow.lo: $(top_srcdir)/include/Xbae/Draw.h Shadow.lo: $(top_srcdir)/include/Xbae/Utils.h Utils.lo: $(top_srcdir)/include/Xbae/MatrixP.h Utils.lo: $(top_srcdir)/include/Xbae/Macros.h Utils.lo: $(top_srcdir)/include/Xbae/Utils.h Utils.lo: $(top_srcdir)/include/Xbae/Actions.h xbae-4.60.4/src/Converters.c0000664000076400007640000011502510224016304012540 00000000000000/* * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) * Copyright(c) 1995-99 Andrew Lister * Copyright 1999, 2000, 2001, 2002, 2004 by the LessTif Developers. * * All rights reserved * Permission to use, copy, modify and distribute this material for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Bellcore not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * Bellcore. * * BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX- * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN- * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT- * ING TO THE SOFTWARE. * * MatrixWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com * * $Id: Converters.c,v 1.20 2005/04/03 16:41:40 tobiasoed Exp $ */ /* * Convert a comma separated list of strings to a NULL terminated array * of substrings. * A comma (,) terminates a string * Backslash is an escape character allowing leading and terminating * white space to be protected. A backslash-comma (\,) does not * terminate a string and is copied as a comma (,). */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include /* #include */ #include #include #include #include #include #include char xbaeBadString = 0; static Boolean XbaeStringsAreEqual(String, String, int); /* ARGSUSED */ Boolean XbaeCvtStringToStringArray(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static String *array; String start = from->addr; DEBUGOUT(_XbaeDebug0(__FILE__, NULL, "XbaeCvtStringToStringArray\n")); if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToStringArray", "wrongParameters", "XbaeMatrix", "String to StringArray conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(String *)) { to->size = sizeof(String *); return False; } if (start == NULL || *start == '\0') array = NULL; else { char *ch, *next, *a; int i, sub, len, count; /* * Count the substrings */ for (ch = start, count = 1; *ch != '\0'; ch++) { /* * We hit a backslash */ if (*ch == '\\') { ch++; } /* * We hit an unescaped comma */ else if (*ch == ',') count++; } /* * Malloc the array, make it one bigger for a terminating with a pointer to xbaeBadString */ array = (String *) XtMalloc((count + 1) * sizeof(String)); array[count] = &xbaeBadString; for (sub = 0; sub < count; sub++) { /* * Skip leading white space */ while (isspace((unsigned char) *start)) start++; /* * Count the number of chars in this substring. * backslash-comma counts as one and does not terminate. * backslash-backslash-comma counts as two and does not terminate. */ for (ch = start, len = 0; *ch != '\0' && *ch != ','; ch++) { /* * We hit a backslash */ if (*ch == '\\') { ch++; if (*ch == '\0') { break; } } len++; } /* * Save the beginning of the next substring */ next = ch + 1; /* * Back up over unprotected trailing white space if we moved at all */ if (ch != start) while (*(ch - 2) != '\\' && isspace((unsigned char) *(--ch))) len--; /* * Malloc a String of the correct size */ array[sub] = (String) XtMalloc(len + 1); /* * Copy the substring into our new string. */ for (i = 0, ch = start, a = array[sub]; i < len; i++, ch++) { /* * We hit a backslash */ if (*ch == '\\') { ch++; } *(a++) = *ch; } *a = '\0'; /* * Point to the beginning of the next string. */ start = next; } } if (to->addr == NULL) to->addr = (XtPointer) & array; else *(String **) to->addr = array; to->size = sizeof(String *); return True; } /* * Free the string array allocated by the String to StringArray converter */ /* ARGSUSED */ void XbaeStringArrayDestructor(XtAppContext app, XrmValuePtr to, XtPointer converter_data, XrmValuePtr args, Cardinal * num_args) { String *array = *(String **) to->addr; String *entry; DEBUGOUT(_XbaeDebug0(__FILE__, NULL, "XbaeStringArrayDestructor\n")); if (array == NULL) return; for (entry = array; *entry != &xbaeBadString; entry++) XtFree((char *) *entry); XtFree((char *) array); } /* ARGSUSED */ Boolean XbaeCvtStringToCellTable(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static String **array; String start = from->addr; char *ch, c; int k, count; XrmValue lfrom, lto; DEBUGOUT(_XbaeDebug0(__FILE__, NULL, "XbaeCvtStringToCellTable\n")); if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToCellTable", "wrongParameters", "XbaeMatrix", "String to CellTable conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(String **)) { to->size = sizeof(String *); return False; } if (start == NULL || *start == '\0') array = NULL; else { /* * Count the nl separated rows */ for (ch = start, count = 1; *ch != '\0'; ch++) { if ((*ch == '\\' && *(ch + 1) == 'n') || *ch == '\n') count++; } /* * Malloc the array */ array = (String **) XtMalloc((count + 1) * sizeof(String *)); array[count] = (String *) NULL; for (k = 0; k < count; k++) { for (ch = start; *ch != '\0'; ch++) { if ((*ch == '\\' && *(ch + 1) == 'n') || *ch == '\n') break; } c = *ch; *ch = '\0'; lfrom.addr = start; lfrom.size = strlen(start) + 1; lto.addr = (char *) (&array[k]); lto.size = sizeof(String *); if (!XbaeCvtStringToStringArray(dpy, args, num_args, &lfrom, <o, data)) { *ch = c; XtDisplayStringConversionWarning(dpy, from->addr, XmRCellTable); array[k] = (String *) 0; lto.addr = (char *) &array; XbaeStringCellDestructor(0, <o, 0, 0, 0); return False; } *ch = c; if (c == '\\') start = ch + 2; else if (c == '\n') start = ch + 1; else start = ch; } } if (to->addr == NULL) to->addr = (XtPointer) & array; else *(String ***) to->addr = array; to->size = sizeof(String **); return True; } /* * Free the string array allocated by the String to StringCellTable converter */ /* ARGSUSED */ void XbaeStringCellDestructor(XtAppContext app, XrmValuePtr to, XtPointer converter_data, XrmValuePtr args, Cardinal * num_args) { String **array = *(String ***) to->addr; String **entry, *row; DEBUGOUT(_XbaeDebug0(__FILE__, NULL, "XbaeStringCellDestructor\n")); if (array == NULL) return; for (entry = array; *entry != NULL; entry++) { for (row = *entry; *row != &xbaeBadString; row++) XtFree((char *) *row); XtFree((char *) *entry); } XtFree((char *) array); } /* * Convert a comma separated list of short ints to array of widths. * The array is terminated with BAD_SIZE. */ /* ARGSUSED */ Boolean XbaeCvtStringToWidthArray(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static short *array; String start = from->addr; char *ch; int i, count; DEBUGOUT(_XbaeDebug0(__FILE__, NULL, "XbaeCvtStringToWidthArray\n")); if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToWidthArray", "wrongParameters", "XbaeMatrix", "String to WidthArray conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(short *)) { to->size = sizeof(short *); return False; } if (start == NULL || *start == '\0') array = NULL; else { /* * Count the comma separated shorts */ for (ch = start, count = 1; *ch != '\0'; ch++) if (*ch == ',') count++; /* * Malloc the array */ array = (short *) XtMalloc((count + 1) * sizeof(short)); array[count] = BAD_SIZE; for (i = 0; i < count; i++) { array[i] = (short) atoi(start); /* * Find the comma at the end of this short */ for (; *start != '\0' && *start != ','; start++) ; start++; } } if (to->addr == NULL) to->addr = (XtPointer) & array; else *(short **) to->addr = array; to->size = sizeof(short *); return True; } /* * Free the width array allocated by the String to WidthArray converter */ /* ARGSUSED */ void XbaeWidthArrayDestructor(XtAppContext app, XrmValuePtr to, XtPointer converter_data, XrmValuePtr args, Cardinal * num_args) { short *array = *(short **) to->addr; DEBUGOUT(_XbaeDebug0(__FILE__, NULL, "XbaeWidthArrayDestructor\n")); XtFree((char *) array); } /* * Convert a comma separated list of ints to array of max lengths. * The array is terminated with BAD_MAXLENGTH. */ /* ARGSUSED */ Boolean XbaeCvtStringToMaxLengthArray(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static int *array; String start = from->addr; char *ch; int i, count; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToMaxLengthArray", "wrongParameters", "XbaeMatrix", "String to MaxLengthArray conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(int *)) { to->size = sizeof(int *); return False; } if (start == NULL || *start == '\0') array = NULL; else { /* * Count the comma separated ints */ for (ch = start, count = 1; *ch != '\0'; ch++) if (*ch == ',') count++; /* * Malloc the array */ array = (int *) XtMalloc((count + 1) * sizeof(int)); array[count] = BAD_MAXLENGTH; for (i = 0; i < count; i++) { array[i] = (int) atoi(start); /* * Find the comma at the end of this int */ for (; *start != '\0' && *start != ','; start++) ; start++; } } if (to->addr == NULL) to->addr = (XtPointer) & array; else *(int **) to->addr = array; to->size = sizeof(int *); return True; } /* * Free the max length array allocated by the String to * MaxLengthArray converter */ /* ARGSUSED */ void XbaeMaxLengthArrayDestructor(XtAppContext app, XrmValuePtr to, XtPointer converter_data, XrmValuePtr args, Cardinal * num_args) { int *array = *(int **) to->addr; XtFree((char *) array); } /* * Compare two strings up to length chars, and return True if they are equal. * Handles Xm prefix too. The string test must be lower case. * Used by StringToAlignmentArray converter. */ static Boolean XbaeStringsAreEqual(String in, String test, int length) { int i; if ((in[0] == 'X' || in[0] == 'x') && (in[1] == 'M' || in[1] == 'm')) in += 2; for (i = 0; i < length; i++) { char c = *in; if (isupper(c)) c = tolower(c); if (c != test[i]) return False; in++; } /* * String in may have trailing garbage, but as long as the first * length chars matched, we return True */ return True; } /* * Convert a comma separated list of alignments to array of Booleans. */ /* ARGSUSED */ Boolean XbaeCvtStringToBooleanArray(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static Boolean *array; String start = from->addr; char *ch; int i, count; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToBooleanArray", "wrongParameters", "XbaeMatrix", "String to BooleanArray conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(Boolean *)) { to->size = sizeof(Boolean *); return False; } if (start == NULL || *start == '\0') array = NULL; else { /* * Count the comma separated alignments */ for (ch = start, count = 1; *ch != '\0'; ch++) if (*ch == ',') count++; /* * Malloc the array */ array = (Boolean *) XtMalloc((count + 1) * sizeof(Boolean)); for (i = 0; i < count; i++) { /* * Skip leading white space */ while (isspace(*start)) start++; if (XbaeStringsAreEqual(start, "true", 4)) array[i] = True; else if (XbaeStringsAreEqual(start, "1", 1)) array[i] = True; else if (XbaeStringsAreEqual(start, "false", 5)) array[i] = False; else if (XbaeStringsAreEqual(start, "0", 1)) array[i] = False; else { XtDisplayStringConversionWarning(dpy, from->addr, XmRBooleanArray); XtFree((void *) array); return False; } /* * Find the comma at the end of this short */ for (; *start != '\0' && *start != ','; start++) ; start++; } } if (to->addr == NULL) to->addr = (XtPointer) & array; else *(Boolean **) to->addr = array; to->size = sizeof(Boolean *); return True; } /* * Free the alignment array allocated by the String to BooleanArray converter */ /* ARGSUSED */ void XbaeBooleanArrayDestructor(XtAppContext app, XrmValuePtr to, XtPointer converter_data, XrmValuePtr args, Cardinal * num_args) { Boolean *array = *(Boolean **) to->addr; XtFree((char *) array); } /* * Convert a comma separated list of alignments to array of alignments * (unsigned chars). The array is terminated by BAD_ALIGNMENT. */ /* ARGSUSED */ Boolean XbaeCvtStringToAlignmentArray(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static unsigned char *array; String start = from->addr; char *ch; int i, count; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToAlignmentArray", "wrongParameters", "XbaeMatrix", "String to AlignmentArray conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(unsigned char *)) { to->size = sizeof(unsigned char *); return False; } if (start == NULL || *start == '\0') array = NULL; else { /* * Count the comma separated alignments */ for (ch = start, count = 1; *ch != '\0'; ch++) if (*ch == ',') count++; /* * Malloc the array */ array = (unsigned char *) XtMalloc((count + 1) * sizeof(unsigned char)); array[count] = BAD_ALIGNMENT; /* * Compare each substring to the alignment strings. * If we find a bad one, display a warning and fail. * We should be able to use XtCallConverter on _XmCvtStringToAlignment, * but that function is static so we have to duplicate its * functionality. */ for (i = 0; i < count; i++) { /* * Skip leading white space */ while (isspace(*start)) start++; if (XbaeStringsAreEqual(start, "alignment_beginning", 19)) array[i] = XmALIGNMENT_BEGINNING; else if (XbaeStringsAreEqual(start, "alignment_center", 16)) array[i] = XmALIGNMENT_CENTER; else if (XbaeStringsAreEqual(start, "alignment_end", 13)) array[i] = XmALIGNMENT_END; else { XtDisplayStringConversionWarning(dpy, from->addr, XmRAlignmentArray); XtFree((void *) array); return False; } /* * Find the comma at the end of this alignment */ /* EMPTY */ for (; *start != '\0' && *start != ','; start++); start++; } } if (to->addr == NULL) to->addr = (XtPointer) & array; else *(unsigned char **) to->addr = array; to->size = sizeof(unsigned char *); return True; } /* * Free the alignment array allocated by the String to AlignmentArray converter */ /* ARGSUSED */ void XbaeAlignmentArrayDestructor(XtAppContext app, XrmValuePtr to, XtPointer converter_data, XrmValuePtr args, Cardinal * num_args) { unsigned char *array = *(unsigned char **) to->addr; XtFree((char *) array); } /* * Convert a comma separated list of shadow types to array of shadowTypes * (unsigned chars). The array is terminated by BAD_SHADOW */ /* ARGSUSED */ Boolean XbaeCvtStringToShadowTypeArray(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static unsigned char *array; String start = from->addr; char *ch; int i, count; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToShadowTypeArray", "wrongParameters", "XbaeMatrix", "String to ShadowTypeArray conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(unsigned char *)) { to->size = sizeof(unsigned char *); return False; } if (start == NULL || *start == '\0') array = NULL; else { /* * Count the comma separated alignments */ for (ch = start, count = 1; *ch != '\0'; ch++) if (*ch == ',') count++; /* * Malloc the array */ array = (unsigned char *) XtMalloc((count + 1) * sizeof(unsigned char)); array[count] = BAD_SHADOW; /* * Compare each substring to the alignment strings. * If we find a bad one, display a warning and fail. * We should be able to use XtCallConverter on _XmCvtStringToAlignment, * but that function is static so we have to duplicate its * functionality. */ for (i = 0; i < count; i++) { /* * Skip leading white space */ while (isspace(*start)) start++; if (XbaeStringsAreEqual(start, "shadow_in", 9)) array[i] = XmSHADOW_IN; else if (XbaeStringsAreEqual(start, "shadow_out", 10)) array[i] = XmSHADOW_OUT; else { XtDisplayStringConversionWarning(dpy, from->addr, XmRShadowTypeArray); XtFree((void *) array); return False; } /* * Find the comma at the end of this alignment */ /* EMPTY */ for (; *start != '\0' && *start != ','; start++); start++; } } if (to->addr == NULL) to->addr = (XtPointer) & array; else *(unsigned char **) to->addr = array; to->size = sizeof(unsigned char *); return True; } /* * Free the alignment array allocated by the String to ShadowTypeArray converter */ /* ARGSUSED */ void XbaeShadowTypeArrayDestructor(XtAppContext app, XrmValuePtr to, XtPointer converter_data, XrmValuePtr args, Cardinal * num_args) { unsigned char *array = *(unsigned char **) to->addr; XtFree((char *) array); } /* * Convert a comma separated list of pixels to array of pixels * . The array is terminated by BAD_PIXEL. */ /* ARGSUSED */ Boolean XbaeCvtStringToPixelTable(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static Pixel **array, *row; String start = from->addr; char *ch, c; int i, k, count_x, count_y; XrmValue lfrom, lto; Pixel last_pixel = 0; if (*num_args != 2) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToPixelTable", "wrongParameters", "XbaeMatrix", "String to PixelTable conversion needs screen and colormap arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(Pixel **)) { to->size = sizeof(Pixel **); return False; } if (start == NULL || *start == '\0') array = NULL; else { /* * Count the comma and nl separated alignments */ count_x = 1; for (ch = start, k = 1, count_y = 1; *ch != '\0'; ch++) { if (*ch == ',') k++; if ((*ch == '\\' && *(ch + 1) == 'n') || *ch == '\n') { count_y++; if (k > count_x) count_x = k; k = 1; } } /* * Malloc the arrays */ array = (Pixel **) XtMalloc((count_y + 1) * sizeof(Pixel *)); array[count_y] = (Pixel *) 0; for (k = 0; k < count_y; k++) { row = (Pixel *) XtMalloc((count_x + 1) * sizeof(Pixel)); row[count_x] = BAD_PIXEL; row[0] = last_pixel; array[k] = row; /* * Convert each substring into Pixel */ for (i = 0; i < count_x; i++) { if (*start == '\0') break; /* * Skip leading white space */ while (isspace(*start)) start++; /* * Find the comma at the end of this color */ /* EMPTY */ for (ch = start; *ch != '\0' && *ch != ','; ch++) { if ((*ch == '\\' && *(ch + 1) == 'n') || *ch == '\n') break; } c = *ch; *ch = '\0'; lfrom.addr = start; lfrom.size = strlen(start) + 1; lto.addr = (char *) (&row[i]); lto.size = sizeof(Pixel); if (!XtCvtStringToPixel(dpy, args, num_args, &lfrom, <o, data)) { row[i] = last_pixel; XtDisplayStringConversionWarning(dpy, from->addr, XmRPixelTable); } last_pixel = row[i]; *ch = c; if (c == '\0') { start = ch; break; } if (c == '\\') { ch++; start = ch + 1; break; } start = ch + 1; } for (; i < count_x - 1; i++) { /* fill rest of row with same value */ row[i + 1] = row[i]; } } } if (to->addr == NULL) to->addr = (XtPointer) & array; else *(Pixel ***) to->addr = array; to->size = sizeof(Pixel *); return True; } /* * Free the pixel array allocated by the String to PixelTable converter */ /* ARGSUSED */ void XbaePixelTableDestructor(XtAppContext app, XrmValuePtr to, XtPointer converter_data, XrmValuePtr args, Cardinal * num_args) { Pixel **array = *(Pixel ***) to->addr; Pixel **col; if (array) { for (col = array; col; col++) XtFree((char *) *col); XtFree((char *) array); } } /* ARGSUSED */ Boolean XbaeCvtStringToGridType(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static unsigned char grid_type; String start = from->addr; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToGridType", "wrongParameters", "XbaeMatrix", "String to GridType conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(unsigned char)) { to->size = sizeof(unsigned char); return False; } /* * Skip leading white space */ while (isspace(*start)) start++; if (XbaeStringsAreEqual(start, "grid_none", 9)) grid_type = XmGRID_NONE; else if (XbaeStringsAreEqual(start, "grid_cell_line", 14)) grid_type = XmGRID_CELL_LINE; else if (XbaeStringsAreEqual(start, "grid_cell_shadow", 16)) grid_type = XmGRID_CELL_SHADOW; else if (XbaeStringsAreEqual(start, "grid_row_line", 13)) grid_type = XmGRID_ROW_LINE; else if (XbaeStringsAreEqual(start, "grid_row_shadow", 15)) grid_type = XmGRID_ROW_SHADOW; else if (XbaeStringsAreEqual(start, "grid_column_line", 16)) grid_type = XmGRID_COLUMN_LINE; else if (XbaeStringsAreEqual(start, "grid_column_shadow", 15)) grid_type = XmGRID_COLUMN_SHADOW; /* Deprecated types. To be removed in next version. */ else if (XbaeStringsAreEqual(start, "grid_line", 9)) grid_type = XmGRID_LINE; else if (XbaeStringsAreEqual(start, "grid_shadow_in", 14)) grid_type = XmGRID_SHADOW_IN; else if (XbaeStringsAreEqual(start, "grid_shadow_out", 15)) grid_type = XmGRID_SHADOW_OUT; else { XtDisplayStringConversionWarning(dpy, from->addr, XmRGridType); return False; } /* Deprecated types. To be removed in next version. */ if (grid_type >= XmGRID_LINE) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToGridType", "deprecatedType", "XbaeMatrix", "Value for GridType is deprecated and will be removed in next release", NULL, NULL); /* * Store our return value */ if (to->addr == NULL) to->addr = (XtPointer) & grid_type; else *(unsigned char *) to->addr = grid_type; to->size = sizeof(unsigned char); return True; } /* ARGSUSED */ Boolean XbaeCvtStringToWrapType(Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static unsigned char wrap_type; String start = from->addr; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToWrapType", "wrongParameters", "XbaeMatrix", "String to WrapType conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(unsigned char)) { to->size = sizeof(unsigned char); return False; } /* * Skip leading white space */ while (isspace(*start)) start++; if (XbaeStringsAreEqual(start, "wrap_none", 9)) wrap_type = XbaeWrapNone; else if (XbaeStringsAreEqual(start, "wrap_continuous", 15)) wrap_type = XbaeWrapContinuous; else if (XbaeStringsAreEqual(start, "wrap_word", 9)) wrap_type = XbaeWrapWord; else { XtDisplayStringConversionWarning(dpy, from->addr, XmRWrapType); return False; } /* * Store our return value */ if (to->addr == NULL) to->addr = (XtPointer) & wrap_type; else *(unsigned char *) to->addr = wrap_type; to->size = sizeof(unsigned char); return True; } /* ARGSUSED */ Boolean #ifdef __VMS /* According to Barry Stone VMS only allows function names with a maximum length of 31 characters */ XbaeCvtStringToMatrixScrollBarD #else XbaeCvtStringToMatrixScrollBarDisplayPolicy #endif (Display * dpy, XrmValuePtr args, Cardinal * num_args, XrmValuePtr from, XrmValuePtr to, XtPointer * data) { static unsigned char display_policy; String start = from->addr; if (*num_args != 0) XtAppWarningMsg(XtDisplayToApplicationContext(dpy), "cvtStringToMatrixScrollBarDisplayPolicy", "wrongParameters", "XbaeMatrix", "String to MatrixScrollBarDisplayPolicy conversion needs no extra arguments", NULL, NULL); /* * User didn't provide enough space */ if (to->addr != NULL && to->size < sizeof(unsigned char)) { to->size = sizeof(unsigned char); return False; } /* * Skip leading white space */ while (isspace(*start)) start++; if (XbaeStringsAreEqual(start, "display_none", 12)) display_policy = XmDISPLAY_NONE; else if (XbaeStringsAreEqual(start, "display_as_needed", 17)) display_policy = XmDISPLAY_AS_NEEDED; else if (XbaeStringsAreEqual(start, "display_static", 14)) display_policy = XmDISPLAY_STATIC; else { XtDisplayStringConversionWarning(dpy, from->addr, XmRMatrixScrollBarDisplayPolicy); return False; } /* * Store our return value */ if (to->addr == NULL) to->addr = (XtPointer) & display_policy; else *(unsigned char *) to->addr = display_policy; to->size = sizeof(unsigned char); return True; } xbae-4.60.4/ChangeLog0000644000076400007640000021003610436573062011237 00000000000000# # Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) # Copyright(c) 1995-99 Andrew Lister # Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the LessTif/Xbae Team. # # $Header: /cvsroot/xbae/Xbae/ChangeLog,v 1.39 2006/05/29 13:25:06 tobiasoed Exp $ # Xbae Release 4.60.4 ------------------- * Copy the fontlists and rendertable * Fix a couple of build issues (settings for docs directories). * Bind DefaultAct to BtnUp and BtnDown on the textWidget (like it is for the matrix) to disentangle it from the label activation. * When the selectCellCB is triggered the row, col are now those of the cell being edited when the event is a keyboard event * Replace the clickEventHandler by a new action Label() * Ungrab the pointer if the pointer is released over a cell widget or a scrollbar when resizing a row/column. * Allow all actions to be bound to cell widgets, not just editcell * Dont free cell pixmaps when a row/column is removed * Improve font selection fallback when a tag can't be found * Store textChild and userWidgets row/col in constraint resources * Rework event row/col localisation again * Put static XrmQuarks in Class record to simplify their initialisation * Start to drag-select only if the first parameter to ScrollSelectACT is PointerExtend, then on subsequent calls to selectCellCB pass all parameters given to the action with the first one replaced by Extend Xbae Release 4.60.2 ------------------- * Fix for delayed drawing - XbaeMatrixSetCellPixmap() didn't redraw the matrix. * Add missing initialization of text_child_is_mapped to fix bug #1202437 "assertion errors xbae-4.60.0" * Fix an off by one pixel bug resulting in one more character being chopped off at the end of strings when they don't fit in their cell * Allow compiling against motif 1.2 by disabling redertables in that case. * Fix for bug #1236572 "X Error on XtSetValues for XmNcellMarginWidth" (xbaeHideTextChild didn't check whether the TextChild was realized). * Don"t call edit cell with an invalid column in PageUp/DownACT to fix bug #1219633 "Page Up/Down generates XtWarning" Also, trigger the traversal callback in these actions. Xbae Release 4.60 ----------------- A small number of big changes, and a large number of smaller changes : * Lots of work involving fonts, XmStrings, RenderTables, .. * The potential for memory leaks in user code due to arcad's per cell change: all 2d tables returned by GetValues are now copies that the user should free. * The changes in traversal: The clip widget doesn't accept focus anymore, it's all done with the text field. The traversalCallback now also gets fired for focus and loosingfocus events with new values for the reason field. Here are the details of the smaller changes : * Clean up the font related macros and baseline calculation * Simplify xbaeDrawString * Make multiline cells work irrespective of alignment without the need for recursion * Introduce new resurce XmNwrapType that has an effect only when multiline cell is true. When set to XbaeWrapNone lines are broken at '\n'. When set to wrap_continuous, lines are further broken up so they fit in the cell. When set to wrap_word the lines are also broken up but preferably on a spaces. * When fillVert/Horz is set the cell/button/textChild's contents now also use the extra space, not just the cells background color. * Fire traversalCB on losingFocus and Focus events. * Add Per cell font support * Support multiline row labels * Support XmStrings in row labels * Make sure slider_size, minimum, maximum and value are set for the scrollbars even when they are not mapped or else xbaeScrollRows/Columns use wrong values. * Swap parameter name (Left/Up) of these function as it was confused. * Fix a buglet in XbaeMatrixGetRowHeight that always returns 0. * Cache visible_X_width/height in relayout instead of getting it from Clip->core.width/height. That way we can unmanage the clips when their width/height is 0 instead of keeping them around with a fake width of 1. This goes towards getting rid of non_fixed_row/column issues. * Fix bugs using uninited variables. * Fix a casting bug I introduced a couple of days ago and leads to instant death when compiling with a bit of optimization. Don't use expensive macros in XbaeMatrixXtoColumn/Row when we can have the answer for free. * Add prototype and doc for XbaeMatrixGetCellColor/Background. * Remove some unused stuff. * Minor cleanups/optimization : Position textChild in the same way as cellWidgets Clean function parameters of Draw.c private functions Inline DrawCellHighlight and partially inline DrawCellFill * Add public interfaces XbaeMatrixSetCell/Row/Column shadow. Use this to simplify examples fifteen and choice. * Modified the way shadows are computed: When a per cell shadow is !=0 it overrides anything else. Use this to get select-push to works without including private headers. * Fix a couple of typos. * Force a redisplay when cell sizes change. Set the foreground when drawing xmstrings. Call xbaeSaneRectangle from xbaeRedraw all instead of its callers. Factor out code duplication in Create.c Simplify select methods and underline/refresh functions * Rename xbaeGetDrawCellValue to xbaeGetCellValues and have it init a struct insead of a bunch of scalars. This avoids having to declare all these variables in functions that only care about a few of the things it returns and should make adding new stuff easier (aka xmString). Inline xbaeGetNonSelectedCellColors in xbaeGetCellValues. Rearrange the order of functions in Draw.c * Don't try to create/modify the gc's before the matrix is realized (fixes crashes when changing the sensitivity of the matrix before realize or setting it to false at creation time) When setvalues needs to redisplay don't relayout systematically. Simplify setvalues a bit and tighten the conditions that require relayouts/redisplays. Don't set gc's background/foreground if we don't need to. * Change to order we do things to the textchild in doeditcell to keep motif from confusing itself * Don't cancel the edit when setvalues has to redisplay or when a labels are set or when row/column heights/widths are set. Dont relayout twice if setvalues has to relayout and redisplay * Rename xbaeShowTextChild to xbaePositionTextChild Don't cancel the edit when changing a cell's fg/bg color * Fix the dmalloc code. * Pass multi_line_cell and wrap_type down to the textChild * Fix a bug in the cursor position calculation of the textChild * Add public interfaces: XmSet/GetXmColumn/RowLabel * Document XmLabels, multiline row labels. * Fix for NutCracker's broken traversal as suggested by Dean Phillips * Kill column_label_lines and use DrawString's ability to display multiple lines. (As a result column labels that have less lines than column_label_maxlines are now displayed at the top of their 'cell' instead of at the bottom.). * Support multiline row labels. Introduced private row_label_maxlength to use instead of row_label_width so that the matrix remembers when the user sets it to 0. * Support XmStrings as row labels. * Take the height/width of XmStrings into account when computing column_label_maxlines and row_label_maxlength. * Document TraverseCellCB when gaining/losing focus. * Don't allow rows/cols < 1 pixel/char * Document wrapType Don't allow rows/cols with 0 width/height When no font list/render table is specified look for an ancestor with the specifyRenderTable trait. * Don't return garbage in getvalues hook. * Don't XClearArea() on unrealized stuff, it'll cause X Errors. * Rework XbaeMatrixSetCellWidget. Document the per cell font stuff * Better argument checking/locking for public function * Draw strings after pixmaps Hide the text child if someone sets a widget on top of it, even when it's done in the enterCellCB. (like Xquote does) * Set the font of the textChild when it happens to be the current cell when the user set a cell's tag. * Fix a font bug in drawcellstring and simplify it a bit Keep a quarkified version of the cell tags. That way we don't rely on the app to give us static string and we don't need to strcmp anymore. Clean up setvalues somewhat. * Make per_cell fonts work with font_lists in addition to render_tables. * New structure to consolidate font info * Michel Bardiaux [PATCH] Fix warnings and C99isms * Call traversCB when losing/gaining focus. Use this to make list3 even nicer. Test release 4.50.93 -------------------- Lots of work by Tobias Oed, including : - a fix to get trailing attached rows/columns to work. - I suspected there was another nasty bug in the scroll manager. Since it requires an x and a y offset on the scroll queue it's hard to trigger. So I modified examples/select-drag to get it to scroll in all directions (select-drag.patch). - When running that I noticed that there was something wrong when scrolling left or up. Before takeling my bug I fixed that with lefttopcolumnrow.patch. - Then for the longest time I couldn't understand why my bug apeared in the fixed columns but not in the fixed rows. Before realizing that it depended on the order of the XtVaSetValues calls (see select-drag.patch), I had come up with a neater version of the scroll callbacks (simplerscroll.patch). - The attached patch fixes the code that adds rows/columns (missing initialisation, and copy paste mistakes) along with a bit of simplification. - Fix for Martin Gillett's problem with scrolling cell widgets. - This patch fixes some problems with the motion scrolling (freezing, going farther than the extent of the non fixed columns) and with expanding a selection (I thinks that's what applications expect). Now drag-select works. Actions.c gets a bit cleaner but could be simplified even more if we can agree to have HandleMotion trigger on BtnDown events instead of BtnMotion event. The current scheme forces the event handler dealing with the labels/double clicks to store stuff for the action dealing with the cells. This may break stuff for user using custom binding for HandleMotion. If we can live with that then a LabelActivate action could make things symetric... - The attached patch chops the spaghetti in the redisplay functions into macaroni with no other sideeffect (AFAIKT). - MatrixEvent.patch reverts part of a patch in which I oversimplified too much. This gets list and select-push working again. Visibleheight.patch: VISIBLE_HEIGHT is clipchild->height but that's what the function sets a bit later, so it's garbage where used. I fixed it by copying the simpler code used for the other scrollbar. Scrollmgr.patch: a scroll gets queued with the matrix even when nothing is copied. In that case no event is ever emmitted to remove the scroll from the queue... For example start select-drag and resize the window so that 2/3 of the rows and columns are visible. Click in the horiz scroll bar so that the last third of columns gets scrolled in (this scroll will remain on the matrix queue). Now click on the vertical scroll bar so that all the bottom rows get scrolled up, (a second scroll will be queued after the previous one. Since there are fixed columns Xcopies are made and a NoExpose event will be triggered. This will remove the first scroll. At this point we are stuck with a scroll on the queue that has a non zero y offset.) Now grab another window and move over the fixed columns, they don't get updated right anymore. Test release 4.50.91 -------------------- Lots of work by Tobias Oed, including : - Remove member first_row_offset from XbaeMatrixPart since it's usless. - Replace xbaeEventToXY() and xbaeXYToRowCol() with xbaeEventToMatrixXY(), xbaeMatrixXtoColumn(), xbaeMatrixYtoRow() and xbaeMatrixXYToRowCol() that have simpler simpler semantics. Further a call to xbaeEventToMatrixXY() followed by a xbaeMatrixXYToRowCol() has the same result as a call to xbaeEventToXY() followed by xbaeXYToRowCol() used to have. This reduces Utils.c by 20%. - Try to deal with the optimistic statement I made in my initial mail "the positions arrays are always up to date": It introduces a simple (but expensive) debugging mechanism to catch cases where they are not and fixes such a bug. - Modify xbaeSetClipRect() introduced in a previous patch to return a status to detect when there is no rectangle corresponding to the request. Then it uses this new functionality along with the functions of matrixXY.patch to simplify xbaeRedrawCells() and xbaeRedrawFixed() of ScrollMgr.c by replacing repeated code with loops. This breaks 'attach trailing rows/columns' even more than they already are (when combined with XmGRID_[COLUMN|ROW]_[LINE|SHADOW]; The reason for the increased breakage stems from missing calls to xbaeSetClipMask(). I believe that they make the whole thing too spaghetti like and that the problem needs to be dealt with differently. - Fix a 'fixed row/column' bug : When there is more than one trailing fixed row/column all their button labels activate the last one. - In xbaeDrawString the call column=xbaeXtoCol(mw,x) was completely bogous as the x is relative to a clip when xbaeXtoCol expects a virtual x. - When labels and cells have fonts of different heights, the labels in fixed rows were displayed at different y locations than the ones in non fixed rows (due to a TEXT_Y_OFFSET vs LABEL_Y_OFFSET thinko). This also eliminated the only call to xbaeRowToY so I killed that function. - Also the position arrays are now searched using a single binary search instead of four linear searches. - Fix a bug exposed in examples/choice when there is more than one fixed row: click arround and some rows don't get deselected when they should. - Fix the initialisation of the position array so that the last element gets initialized and simplifies a bunch of ugly macros by using these arrays. - Remove two now useless fields from the matrix as well as their initialisation statements and other functions that are now never called. - Change the functions that initialize the position array by explicitly inlining SOME_ROW_HEIGHT and COLUMN_WIDTH so that these macros can be rewritten to mimic all the others. Release 4.50.5 -------------- * Fix for XmNautoFill in XbaeInput when the pattern begins with an optional literal, such as [-]d[d][d][d][d] . * Add the new resources introduced in the last months to the example Builder Xcessory integration file in examples/builderXcessory. * Bugfix for a clip window size problem that showed up when resizing the window (e.g. resize examples/traversal/traversal to smaller than the original and then bigger). Bug #702560. * Some source code cleanup. * Fixes by James Georgas for colour handling. * Fixes by Van to eliminate slider size warnings (see bugs #823041 and #823037). * Fixes by David Traill for both resize and scrollbar warnings. * Add XmNXmColumnLabel resource to handle XmString as column labels. * Fix a memory problem with row_heights. * Code cleanup and a coredump fix by James Georgas : I'm pretty sure that the segfault was caused by a missing NULL check on the row_heights variable in the last block of AddRowsToTable() in Methods.c. I added a check in the attached patch. It also looks like this block duplicates the effects of some code earlier in the function. I put a comment to that effect in above the block. 4.50.3 was not an official release. It was a test version distributed to parties interested in it. Release 4.50.3 -------------- * Bugfix for a clip window size problem that showed up when resizing the window (e.g. resize examples/traversal/traversal to smaller than the original and then bigger). Bug #702560. * Some source code cleanup. Release 4.50.2 -------------- * A memory (double free) related bugfix. * Two new resources (XmNhorzFill, XmNvertFill) were added to allow for additional fill behaviour. This allows you to specify how the matrix treats highlighting of the last row or column. * The foreground and background resources are no longer being set on cell widgets, as this appears to be strange behaviour. * Bugfix related to incorrect refresh after deleting rows. * Remove some C++ style comments. * Fix some build problems. * Move some stuff in the share/ directory at installation. * Implement the XBAE_PRODUCTION symbol to compile Xbae with or without debugging code. * Improve resizing rows and columns. * Avoid X Errors when setting clip geometry to 0. * Implement showColumnArrows and showRowArrows resources. * Fix incorrect behaviour when rapidly clicking with two different mouse buttons. * Fix nested comments and a missing prototype. * Fix scrollbar warning problem. * Changed the column width measurement. Release 4.50 ------------ This is a stable release, basically equivalent to 4.9.13. Changes in 4.9.13 ----------------- * Fix the GROHTML build problem. * Bugfix : when resizing first of trailing fixed rows, the VSB slider was not updated and a blank area was visible between clip and bottomclip. * Changed useXbaeInput default value to False. Changes in 4.9.11 ----------------- * Sascha Gbel and Greg Shebert are now part of the Xbae development team. * Many bugfixes to the scrolling (smooth scrolling now), and to resizing row heights. * Received code from Sasha Gbel. Changes in 4.9.9 ---------------- * Bug fixes related to redrawing. * Enable dynamic row/column resizes again. * Include images in release files again - this makes for a large package. * Build HTML manual pages from their sources (the HTML is in doc/, but the sources are in src/*.3.in). Changes in 4.9.7 ---------------- * Sascha Gbel contributed substantial improvement to scrolling. * Bugfixes. Changes in 4.9.5 ---------------- * Improved internal debugging support (dmalloc, dbmalloc) * Fix pattern check in XbaeInput * Remove support for Motif <=1.1 * Bugfix by Phil Eccles to position cell widgets correctly when row/column headers are active. Changes in 4.9.1 ---------------- * Bug fixes to get a release out that's less bad than 4.9.0. Changes in 4.9.0 ---------------- * Row height and true-color (aka 24-bit color) support are now considered stable and enabled by default. * Internals : try to give all non-static functions an Xbae prefix. * Code contributed by Frank Mair for having bold columns in XbaeMatrix. * Bugfixes. Changes in 4.8.4 ---------------- * 4.8.* ARE DEVELOPMENT RELEASES What does that mean ? * Update some docs (new maintainers, etc.) Changes in 4.8.3 ---------------- * 4.8.* ARE DEVELOPMENT RELEASES What does that mean ? Functionality : incomplete (new functionality under development) Stability : should be good (no release should crash or break 4.7 functionality) * More bugfixes in row height code. * Add include/XbaeConfig.h.bot, and AM_WITH_DMALLOC, to make the library work well with dmalloc if configured in that way. * Fixes for auto* and Imake configuration Changes in 4.8.2 ---------------- * 4.8.* ARE DEVELOPMENT RELEASES What does that mean ? Functionality : incomplete (new functionality under development) Stability : should be good (no release should crash or break 4.7 functionality) * Bugfixes in row height code, especially when adding rows. Changes in 4.8.1 ---------------- * 4.8.* ARE DEVELOPMENT RELEASES What does that mean ? Functionality : incomplete (new functionality under development) Stability : should be good (no release should crash or break 4.7 functionality) * Rows can now be resized, meaning you can change their height. This can visually be done by using Shift-MB2 as for column widths. An application can call XbaeMatrixSetRowHeight() or XbaeMatrixSetColumnWidth() to set, XbaeMatrixGetRowHeight() or XbaeMatrixGetColumnWidth() to query these dimensions. It *is* possible to hide a row by setting its height to 0. Setting the height to -1 will reset to the default. Currently this is only enabled by "configure --enable-xbae-row-heights". * TrueColor bugfix. Only enabled by "configure --enable-xbae-24bit". * Scrolling bugfix (only appears when using some window managers with Click-to-focus. Simultaneously obtaining focus and causing the XbaeMatrix to jump-scroll would cause an incomplete redraw). Thank you Andrew Hately. * Several bugfixes dealing with global/static variables. * Xbae should be more threadsafe. * Add XbaeGetVersionTxt(), XbaeGetVersionNum() to get the version number from the (shared) library. Macros to get this at compile time are already in place. * Change version numbers to include the UPDATE number as well. Now 4.8.1 becomes 40801 (M * 10000 + m * 100 + u). Changes in 4.7.2 ---------------- * Changed libtool version numbers according to the rules, which means this will probably upset some people trying to use the library. An interface was added, see below. * CELL_WIDGETS fixes by Linas Vesptas. * CELL_WIDGETS functionality extended with XbaeMatrixGetCellWidget() which you can use to figure out whether a cell already has a widget. * CELL_WIDGETS now enabled by default. Changes in 4.7.1 ---------------- * Maintenance is transferred to the LessTif core team. * Configuration based on automake, autoconf, libtool is added, this is the preferred environment for the current (new) maintainers. Changes in 4.7 ---------------- * Swapped out the XmTextField widget to use the XmText widget to enable multi line rows and the like - thanks to Mark Gibson (magibso@uswest.com) for his methods in achieving this goal. * Added a patch from Philip Aston (philipa@parallax.co.uk) that reportedly speeds up things by 300% when using pixmaps. Acheivable by specifying the width, height and depth of a pixmap to an XbaeMatrixDrawCellCallbackStruct. * Another patch from Philip provided correct behaviour when setting the XmNsensitive resource on ancestors of the matrix widget. * "Ceklosky" (b1dqza9@is200005.bell-atl.com) reported a memory leak when the widget was destroyed. This came about from highlighted- cells not being freed. * Donato Petrino (dp@rtsffm.com) provided an efficient way of detecting if partially displayed rows were visible * He also supplied a patch that corrected the placement of the text widget if the user first clicked on an editable fixed row. * Scott Harrington (scotth@ibl.bm) figured out that xbaeComputeSize() should not add space for scrollbars if the displayPolicy is set to XmDISPLAY_NONE. He also provided a patch. * Made a small change to a conditional in Matrix.c that prevents an erroneous warning message being displayed. Thanks to Curt Malouin (cmalouin@ford.com) for that one. * Merged two patches from Jay Schmidgall (Jay.Schmidgall@Sungardss.com) one fixed a slight error in the drawing of scrollbar heights/widths while the other fixed some casting problems under Solaris [they must be getting stricter on this ANSI C thing!] * Brian McAllister (brian@hotrats.mit.edu) provided a fix for compilation of Xbae on Dec Alphas * Jay Schmidgall continued work on the widget, providing: o Corrected some bugs with row/column shadow drawing and clearing o Corrected some bugs related to not having row/column labels o Changed the way shadows are drawn to be the correct way, i.e., mine. That is, XmSHADOW_OUT results in an outset shadow. Note: this may have implications for Motif 1.1 compatibility, since type isn't passed along to _XmDrawShadow() (ED: Since 1.1 is no longer supported, this isn't an issue!) o Changed the grid type enumeration to be more explicit o Made the unneeded grid types deprecated, which will result in runtime warning messages o Added grid types XmGRID_ROW_LINE and XmGRID_COLUMN_LINE (this was suprisingly simple :) o Modified the matrix resource declaration to come into line with grid/shadow changes o Modified the choice example program to reflect these changes o Modified the man page to reflect these changes *** NOTE ************************************************************ The new types for gridType are: enum { XmGRID_NONE = 0x00, XmGRID_CELL_LINE = 0x02, XmGRID_CELL_SHADOW = 0x03, XmGRID_ROW_LINE = 0x04, XmGRID_ROW_SHADOW = 0x05, XmGRID_COLUMN_LINE = 0x08, XmGRID_COLUMN_SHADOW = 0x09, /* Deprecated types. Use will cause * a run-time warning to be issued. */ XmGRID_LINE = 0x20, XmGRID_SHADOW_IN = 0x40, XmGRID_SHADOW_OUT = 0x80 }; If any of the bottom three values, a runtime warning will be output. You simply need to tweak the resources in your app to avoid it. ********************************************************************* * Added a patch supplied by Martin Helmling (mh@octogon.de) that correctly manages the insensitive pixmap when creating for multiple screens. Patches were also sent in by Dimitri Castiglioni and Donato Petrino. * Added the doc/XbaeMatrix.man.html file as part of the official release * Jay Schmidgall sent in another patch! This time he: o got irritated by how the matrix did column shadows/lines. In particular, there could be a little gap between the last non-fixed row and the first trailing fixed row, and that gap looked bad because the column shadow just ended there. So, I modified the shadow & highlight code so that gap got filled in. Looks much better now. o Fixed the column resize shadow so it draws all the way to the bottom of the matrix, plus handles the gap like the above. o Added a new resource, XmNtrailingAttachedBottom. (If you can come up with a better name, feel free :). This resource makes the matrix keep the trailing fixed rows on the bottom. It only has effect when XmNfill is true and there are trailing fixed rows. It's probably easier to understand visually. o I put the equivalent AttachedRight in the matrix's resources, but I didn't feel up to doing the code for it :). o Added a bunch of macros. o Added the resource to the man page (yay!) o Mucked around some more with the choice program to add the attachedBottom resource, and let you change the selection mode. I did this mostly because choice is the test bed for changes I make, and I needed to test the highlighting. Also let you do Arm mode, which looks neat in the grid shadow modes. * Philip Aston sent in yet another patch that remedied an array bounds read as reported by Purify. * A segmentation fault occurred if the user pressed when no cells had been defined. Diligently spotted and patch provided by Noel Yap (nyap@garban.com) * Removed an unnecessary reference to XmNeditVerifyCallback in Matrix.h that Noel found as well. * Added fix from Jon Sibala (jon_sibala@hotmail.com) where zero rows was causing a crash in xbaeDrawCell. * David North reported a bug in the charWidth macro on OpenVMS. A cast to unsigned char of the passed character was required. * Marty Leisner (leisner@sdsp.mc.xerox.com) advised that the runtest script required '.' to be in your path. Added an explicit ./ to all commands run from the script * Cleaned up a few potential problems with compilation * Removed the xqCellWidget from the release. The subclassed widget started causing problems when using Motif 2.1 probably due to incompatibilities between the XmText and XmTextField widgets The change may also fix problems reported by the guys back at Bellcore, running under Motif 2.1 * There are some new public functions:- XbaeMatrixSetRowLabel and, funnily enough, XbaeMatrixSetColumnLabel and their Get equivalents are now documented in the man page. * Just as some sort of benchmark, Callum and myself loaded up a historical database comprising of somewhere around 780,000 rows and 3 columns. Using the drawCellCallback, XbaeMatrix handled display of the data as if there were 100 rows. If anyone has tried creating a bigger table, please let me know the results! (That applies to tables created with commercial widgets too) * The building of shared libraries is now the default behaviour in the Imakefile. If anybody has trouble running the demos due to the shared library not being picked up, please let me know so we can work out a fix. * The HTML man page is probably a bit behind as I prefer methods from yesteryear. Updates are always appreciated! * Removed a strdup call and added __EMX__ to the preprocessor directives for not having bcopy. Patch sent in by Evgeny Stambulchik (fnevgeny@plasma-gate.weizmann.ac.il) * Two fixes from Mark Crowther (markc@parallax.co.uk) that better controlled scrolling with the pointer outside the clip and prevented the scrollbar warnings when columns were deleted. * Noel Yap (nyap@garban.com) pointed out a small error in the draw example where the columns for pixmaps was incorrect * Added the XEvent structure to all callbacks * New widget! XbaeInput allows a 'pattern' to be specified to restrict input to certain characters. Read the new man page to find out more. * Added some extra parameters to the XbaeMatrixEnterCellCallbackStruct - namely, position, pattern, auto_fill, convert_case, and overwrite_mode for use with the XbaeInput widget. Also, the params and num_params are passed through to the enterCellCB too. * New resource - XmNcalcCursorPosition that allows the pointer to specify the insert position when clicked on a cell to be edited rather than at the end (default is False so behaviour is unchanged) * Nick Banyard (nbanyard@micromuse.com) provided the ability to allow multibyte characters to be displayed with the addition of an XFontSet. There is a new example program also, named multibyte that *should* display multibyte characters but some work may be needed there. * Mark Hatch (mhatch@ics.com) provided me a free copy of Integrated Computer Solutions (http://www.ics.com) Builder Xcessory for both Solaris and Linux so the integration and compatibility between the two can be maintained. If you're looking for an excellent GUI builder, I'd recommend checking this one out! * Added a matrix creation convenience routine - XbaeCreateMatrix for smoother integration into Builder Xcessory * Added a caption creation convenience routine - XbaeCreateCaption for smoother integration into Builder Xcessory * Added an input creation convenience routine - XbaeCreateInput for smoother integration into Builder Xcessory * Evgeny Stambulchik (fnevgeny@plasma-gate.weizmann.ac.il) supplied the GNU autoconf tools needed to compile the widget via ./configure as so many people feel the urge to do nowadays. However, I have no intention of supporting it so you'd better have a friend who can & will. * Callum Gibson (callum.gibson@aus.deuba.com) wrote a couple of new public functions to refresh entire rows or columns efficiently. They are called XbaeMatrixRefreshRow() and XbaeMatrixRefreshColumn(). * The XbaeMatrixAnyCallbackStruct was created to allow the reason, event, row and column members to be aligned and facilitate the use of one callback struct in multiple callbacks. * Fixed a bug with wrong fg/bg colours when editing a cell with reverse select enabled and using a draw cell callback which set foreground or background. (Everyone does that don't they?) * Added a new action that allows the matrix to be scrolled up and down using the PgUp/PgDn keys when the text field is mapped. It is installed by default. Changes in 4.6.2 ---------------- * Heinz Nagel (heinznagel@lucent.com) discovered an uninitialised variable in Methods.c * Tim Bomgardner (Tim.Bomgardner@mci.com) found a clipping problem when a horizontal scrollbar and row labels are present. The row labels were being drawn to the left of the horizontal SB. * Whilst fixing Tim's problem, I also found several other small scrolling problems that were rectified Changes in 4.6.1 ---------------- * Added a weeny patch from Callum Gibson (callum.gibson@aus.deuba.com) that fixed a problem when there are no rows and row 0 is accessed. * Philip Aston (philipa@parallax.co.uk) sent a patch in that missed out on the 4.6 release that handled null buttons when row or column label buttons were specified. Added that in. * Daiji Takamori (daijit@std.teradyne.com) suggested that all clip widgets should change their background colour - not just the main one. Made this change. * Steven Chase (schase@xpletive.mitre.org) provided two more public routines called XbaeMatrixGetColumnLabel() and XbaeMatrixGetRowLabel() which do what they imply. * Inspired by Steven's idea, I went ahead and wrote some companion routines called XbaeMatrixSetColumnLabel() and XbaeMatrixSetRowLabel() which remove the overhead and flicker of SetValues() as well as help me not to have to answer people who try to "swap" columns the wrong way. * Found a couple of public functions that weren't documented - XbaeMatrixSetRowUserData() and XbaeMatrixSetColumnUserData() and put them in the manual page. * Made an effort to support smooth scrolling. You'll now find that the last row, if not fully displayed is not blanked out as it was previously. Change suggested by Adam Kerrison (Adam.Kerrison@micromuse.co.uk) * Converted comments in the imake stuff to use XCOMM - apparently, it's the standard. * Fixed a redisplay problem when there are different coloured backgrounds/ foregrounds and rows are deleted. Found by Craig Bruenell (cbruenell@macaw.retix.com) * Added in a patch from Andy Warburton (andyw@parallax.co.uk) that fixed problems causing the SelectCell callback not to be called when the pointer was outside the matrix. * Howie Kaye (howie@columbia.edu) suggested a smoother method for scrolling when setting XmNtopRow. It prevents excessive redraws by using the matrix's internal scrolling methods. * Philip Aston (philipa@parallax.co.uk) had an idea that scrolling to the selected cell when in auto scroll mode should be disabled. I liked the idea, too. Changes in 4.6 -------------- * Fixed the problem with passing non printable chars to the matrix. Fixed a couple of bugs associated with changing rows and colours at the same time. Does not do the free, malloc and drawing of a cell if the value is the same and SetValues is called. New public function - XbaeMatrixRefreshCell(mw, row, column) which forces a cell to be redrawn. When using the drawCellCallback, an event may trigger a change to a cell that is not displayed until an expose event is generated. Using XbaeMatrixRefresh() is a bit of an overkill if just changing one cell. Added a delete button to the add demo. Removed the debug write from the colors demo. The above changes were incorporated into the patch released to the mailing list on 2nd of March, 1996 to take 4.5 to 4.5.1 * Fixed a problem that was allowing double clicks to be performed with any mouse button rather than using the translation table to work out which button should be used. * Did some work on improving the update flicker if XbaeMatrixDisableRedisplay() has been called. Earl Revett (erevett@kokomo.bmc.com) provided the initial idea and a patch. * Merged in a patch from Earl Revett that fixed some portability issues for him and most likely for others too. * Made a change suggested by Daiji Takamori (daijit@std.teradyne.com) that eliminates some excess variable-checking and reports individual errors for no non-fixed rows and no non-fixed columns. * Created an FAQ as I was getting sick and tired of answering the "How do I make a cell non-editable?"question. Callum Gibson (callum.gibson@aus.deuba.com) initiated the proceedings, I merely did the answers. * Disabled a warning message if a matrix has 0 rows or 0 columns and is editable as the EditCell routine was being passed a bad row / column even though there are no cells to be edited. Suggested by Ross Milward (ross.milward@aus.deuba.com) * Added a new public function called XbaeMatrixMakeCellVisible() that allows a cell to be programatically scrolled onto the visible area of the matrix. Suggested by Steve Wall (sjwall@uswest.com). * Added the XmNshowArrows resource to make it optional whether obscured data is indicated by a drawn triangle or not. The default value is False. Enough people complained about it so there ya go. * Removed parameter names from function prototypes as it could cause clashes with typedefs and #define's in other header file. * Added three public functions from Matthew Francey (mdf@angoss.com) - XbaeMatrixIsRowVisible(), XbaeMatrixIsCellVisible() and XbaeMatrixIsColumnVisible() which do pretty much as the name suggests. * Fixed a bug, found by Matthew Francey which would occasionally cause a crash when the widget was destroyed. Fix contributed by Matthew also. * Made some more changes hinted at by Jason Smith (jason.smith@europe.sbil.co.uk) to make the widget motif 1.1 compatible. The widget is probably still not entirely compatible with 1.1 as I have no way of testing whether it is or not and nobody seems willing to send me an entire patch. * Adding rows or columns with no labels when XmNbuttonLabels is set to True will now draw buttons around the empty labels. Previously, a blank label would result in no button and it looked weird. * Included a patch from Andy Warburton (andyw@parralax.co.uk) which corrected colours of selected cells when using the drawCellCallback and the reverseSelect resource. * Added the ability for the matrix to *look* insensitive by using a stipple pixmap to create the effect on the text. Suggested by "tom" (kriener.pad@sni.de). * Rewrote the LICENSE file and actually included the above copyright notice that was never there. See the FAQ for the license in plain english. (Note in later distributions this is the COPYING file.) * Added in a patch from Martin Helmling (mh@octogon.de) that prevented problems with NULL pointers in String array resources. * Modified the way the drawing of fixed cells were cleared and drawn. There were problems with setting the values of fixed cells and also an incorrect visual was sometimes obtained when selecting fixed rows and / or columns. * Fixed the way the matrix dealt with moving the pointer off the clip widget and outside the matrix widget's window so it behaves more like the list widget. events should now report the last cell that was left rather than fail completely. Invaluable for multiple selection of cells. * Added a couple of new public functions inspired by Philip Aston (philipa@parallax.co.uk) named XbaeMatrixEventToXY() and XbaeMatrixRowColumnToXY(). See the man page for details. * Changed the method of pointer grabbing for the button presses and MotionEvent's outside of the matrix from XtGrabPointer to XtAddGrab since grabbing the pointer seemed to be a bit of an overkill. It also makes debugging easier and improves performance. * Added an allowance to enable use of the XmText resource XmNshadowThickness on the text field. Idea from by Daiji Takamori (daijit@std.teradyne.com). I had to add a new resource to do this named XmNtextShadowThickness. * Merged in a fix from Andy Warburton (andyw@parallax.co.uk) to fix a problem in the reverse selection when using a draw cell callback * Added a new member to the XbaeMatrixEnterCellCallbackStruct called map that, when set to False, prevents the text field from being mapped onto a cell. * Tim Bomgardner (timbo@apdev.cs.mci.com) provided a new public routine called XbaeMatrixVisibleCells() that allows the rows and columns on the edges of a matrix to be obtained * Added the XEvent pointer to the XbaeMatrixLabelActivateCallbackStruct as suggested by Saroj Mahapatra (saroj@nynexst.com) * Callum Gibson (callum.gibson@aus.deuba.com) kindly made the effort to put all existing releases into a CVS source tree in an effort to get me organised (Don't really know if it helped!). * Made a fix suggested by Martin Helmling (mh@octogon.de) that prevented a possible crash in the calls to XtCheckSubclass() * Added in several patches from Philip Aston (philipa@parallax.co.uk). One removed all scrolling events when XbaeMatrixEnableRedisplay() was called that fixed up some redraw problems for him. He also provided the Boolean resources, XmNrowButtonLabels and XmNcolumnButtonLabels that define which labels should be drawn as buttons. * Callum Gibson offered his services again and made fixed cells editable and thus made it possible to remove question 2.8 from the FAQ. For the optimists out there who haven't allowed for this in their applications, another resource has been added, XmNtraverseFixedCells, with a default of False has been added. A new series of clip widgets have been added which should fix most of the redraw issues. Want details? Ask Callum. * Completely rewrote the method in which row and column shading gets drawn which should prove to be faster and more reliable when dynamically changing the matrix's size. The highlighting and unhighlighting had to be rewritten too. These procedures also will affect pixmap cells which, I believe, would not have worked otherwise. * (4.6 BETA released) * Added a credit in this file for Philip Aston and the XmNrowButtonLabels resource. * Jay Schmidgall provided a patch to fix the calls to private xbae functions that the program used. Also pointed out a few problems with changes I had made to Xbae.tmpl which I hope I have fixed. * Added a patch from Alexander Ivanov that fixed a crash when destroying the matrix on Solaris 2.5. That's what you get if you don't initialise variables. * Daiji Takamori pointed out an incorrect endif in Xbae.tmpl. * Philip Aston provided a patch to make the String to String Array type converter a little more sane. Here's his interpretation of the change: Improved the handling of escaped characters by the String to String Array type converter. Previously only ',' could be escaped as \,', now any character can be escaped using '\'. Note, this behaviour is _not_ backwardly compatible, but is only likely to break code which uses backslashes in resource strings. Use '\\' instead of '\' to quote a backslash. * Changed the alignment_center routine to check a little better for the end of a string when the existing check may cause an infinite loop. Problem brought to recognition by Donato Petrino (dp@rtsffm.com) * Philip Aston pointed out a few problems that sometimes caused column labels not to refresh. Fix also suggested by Philip. * Rewrote the code in XbaeMatrixRefresh() that caused a "double flicker" when called so there is only *one* flash Changes in 4.5 -------------- * Added "<" and ">" symbols to signify when data in a cell is out of sight. This was causing a few problems when a minus sign was hidden or other numbers were obscured. The new feature can also be used to indicate that a column should be resized in order to see all the data contained in a cell. * Removed references to XmDrawHighlight() if the Motif version is less than 1.2. This will hopefully allow the widgets to compile under Motif 1.1, but with a little less functionality. There is probably more work to be done to actually get it to compile under 1.1 but, as I cannot test it, I need a patch from somebody with access to it. * Updated the Imakefile and Xbae.tmpl files to allow shared and debug libraries to be made and installed as well as the normal libXbae.a. If your system does not support shared libraries or they don't compile properly like Linux/a.out, then only set DoNormalLib to YES. I don't want to hear complaints about shared libraries not working! Thanks to Dirk Vangestel (gesteld@sebb.bel.alcatel.be) for the initial idea and patch. * Broke Utils.[ch] into smaller parts to add Create.[ch] to the distribution. This new module basically handles the creation of the matrix widget's data and freeing of the same data. Also moved a few functions that were incorrectly located in Actions.c, namely xbaeXYToRowColumn() and xbaeRowColToXY(). * Modified xbaeXYToRowColumn() to correctly detect and report an event occurring on a row or column label. * Tidied up the MatrixP.h file which was getting a little dishevelled. * Changed the way the matrix handles the cell_backgrounds initialisation. Instead of setting all the backgrounds to the core's background, the colours are now inherited from the odd and even row backgrounds. If these values have not been set, they inherit the core's colour anyway. * Altered the background cell colour calculation to provide even and odd row backgrounds for fixed rows. Previously, the calculation would only use the odd and even row backgrounds for non fixed rows and trailing fixed rows which seemed a little inconsistent. * Fixed a serious bug that no one has reported that involves resizing a widget that has trailing fixed rows. The widget attempted to set the height of the vertical scroll bar to zero causing one of those XError messages that are nice and hard to track down. * Changed the way the row label width is calculated. It now uses the average width of the characters. Normally, it should be calculated correctly but if some characters are clipped, you might need to change the rowLabelWidth resource. Generally speaking, the row labels look better placed. This change will only affect proportional fonts used as the label font. * Added a patch from Martin Helmling (mh@c3i.sel.de) to allow the cells resource to be row terminated with a single \n rather than the original \\n. I then did the same for the colors and cellBackgrounds. Old resources will still work, however. * Removed the "leading_fixed_rows" and "leading_fixed_columns" members of the XbaeMatrixTraverseCellCallbackStruct as they were not referenced nor documented. I really hope this doesn't cause anyone any grief. * Added the resources XmNbuttonLabels and XmNlabelActivateCallback to draw the labels as a drawn PushButton when set to True. When a label is clicked on and released, callbacks on the labelActivateCallback will be called. Also modified the choice demo to allow the buttons to be shown. The background colour of the buttons can be changed with the XmNbuttonLabelBackground. * Made the XmNmodifyVerifyCallback *not* be called when the text field is mapped onto a cell. This is not the default behaviour of the text field and produced misleading results. Pointed out by N. J. O'Neill (njoneil@sandia.gov) Changes in 4.4 -------------- * Merged in a patch from Martin Helmling (mh@c3i.sel.de) that allows cells and pixel tables to be specified in a resource file. The matrix example (although too colourful and ugly!) demonstrates the possibilites. * Added a new directory (vmsstuff) that contains the necessary files for compilation on VMS. Courtesy of Vince Li (vli@mpr.ca) * Fixed a bug found by Andrew Reid (areid@bain.oz.au) that caused problems with using XtVaSetValues() on XmNcolors and XmNcellBackgrounds. Optimised much of the code handling these settings too. * Fixed a bug that caused cells not to be drawn even though they were visible. Unearthed by Donato Petrino (dp@rtsffm.com) * Added support for colour pixmaps to be displayed. flavius@sed.psrw.com suggested this change and also modified the "draw" demo to make use of it. NOTE: For the draw demo to display colour pixmaps, you should define HaveXpm in Xbae.tmpl. That is, of course, if you have it! The need for returning the width and height of the pixmap to the widget has also been removed. Invaluable help on masks was provided by Adam Kerrison (adam@micromuse.co.uk) * Patched in and modified a resizeColumnCallback from Alexander Ivanov Refer to the man page for information. The new callback allows processing to be done after the columns have been resized. The add example uses this callback to achieve some pretty funky results! * Patched in some work done by Dirk Vangestel (gesteld@sebb.bel.alcatel.be) to allow scroll bars to be placed in different locations, similar to a Motif scrolled window. The new resource, XmNscrollBarPlacement behaves exactly the way the resource for XmScrolledWindow does and accepts the same values. Dirk also modified the choice program to show off the new behaviour. * Rewrote (with permission from ICS) a wml file for use with the ICS Builder Xcessory GUI builder and the current version of Xbae. It can be found in the contrib subdirectory. As I no longer have a copy of Builder Xcessory, it will be difficult to maintain. The file can (probably) also be found at ftp.ics.com in /pub/Products/ToolsAndTricks/BxXbae.tar.gz. I would expect that the other files in the contrib directory may now be out of date also. * Changed the Imakefile to install Xbae as Xbae-$(VERSION) and make a symbolic link. For those who have production environments, this should help in rebuilding with previous versions of the widgets - suggested by Ross Milward (rossm@bain.oz.au) * Tracked down a bug in xbaeComputeCellColors() that incorrectly calculated the colour value _if_ the colour had a pixel value of zero (typically white in the colourmap) * Added in a fix from Philip Aston (philipa@parallax.co.uk) to "fix a duff calculation of the selected column in a fixed row". * Changed the XbaeMatrixEnterCellCallbackStruct to include a new member called select_text. By setting to True in the enterCellCallback, the text in the textField will be selected and deleted when the next insertion occurs. Changes in 4.3 -------------- * Added an XbaeVersion to Matrix.h. The value for this is calculated in a way similar to how Motif does it: #define XbaeVERSION 4 #define XbaeREVISION 3 #define XbaeVersion (XbaeVERSION * 1000 + XbaeREVISION) This brings another header file into the release - patchlevel.h. * Merged in another patch from Jay Schmidgall that added the resources XmNcellShadowTypes, XmNcellUserData, XmNclipWindow, XmNcolumnShadowTypes, XmNcolumnUserData, XmNrowShadowTypes, XmNrowUserData and XmNtextField. Also some more public functions to manipulate the data. See the manual page for more information on these. * Also added two more demo programs from Jay, fifteen and select-push * Added row and column label colour resources (suggested by Adam Kerrison, Adam.Kerrison@micromuse.co.uk) * Merged in a patch from Jason Smith that allows the Matrix to be compiled using Sunos 4.1.x Openwindows 3.0 and Motif 1.1.x * Removed the line in SetValues() that resets the scrollbar to 0 when the Matrix is redrawn (suggested by Adam Kerrison also) * Added more public routines: XbaeMatrixIsRowSelected(), XbaeMatrixIsColumnSelected(), XbaeMatrixIsCellSelected(), XbaeMatrixFirstSelectedRow(), XbaeMatrixFirstSelectedColumn(), XbaeMatrixFirstSelectedCell(), XbaeMatrixYToRow(), XbaeMatrixXToCol() Suggested by Adam Kerrison. * Fixed a bug with XmNtopRow and XmNleftColumn, found by Lori Corbani (lec@informatics.jax.org) * Fixed a bug that caused the selectedCells resource to not be updated if a row or column was not visible. Pointed out by Jay Schmidgall. * Added some new public functions - XbaeSelectAll() - to select all the cells in the matrix which XbaeGetNumSelected() which returns the number of selected cells in the matrix. This value is updated dynamically to prevent traversing the entire matrix. Suggested by Eric Bruno (bruno@nsipo.arc.nasa.gov) * Looked some more into drawing a pixmap in a cell. Had it working but decided that the method originally inspired by Kevin Brannen was less than satisfactory and needs to be rethought. The current idea is to allow a user defined widget, whether it be a label, togglebutton, etc. widget, to be drawn in a cell. * Added the XDesigner contribution from Eric Bruno (bruno@nsipo.arc.nasa.gov) * The user can now dynamically change the width of a column by using the Shift Key and middle button and dragging the column to a new position. A column cannot be resized to less than one character. * Added the Rogue Wave View.h++ contribution from Mark Steckel (msteckel@aracada.com) * Added a resizeCallback called when the matrix is resized so columns can be adjusted, etc. Patch from Mark Steckel. * Removed the losingFocusCB that was added in 4.0 as it was causing problems and the overhead was not necessary, particularly in the case of a very lengthy leaveCellCallback routine. * Changed the default value for XmNspace to 4, rather than 6 as suggested by Mike Perik * Jay Schmidgall continued his work on the widget to provide us with: o {Un}Highlight{Cell,Column,Row,All} routines o XmNhighlightedCells to go along with the highlight routines o ProcessDrag() routine - bound to Btn2Down to match Motif. o XmNprocessDragCallback o XmN{vertical,horizontal}ScrollBarDisplayPolicy o XmNfill to make the matrix fill the available form. o ResizeColumns reworked to draw across various portions of the matrix's display o allow zero rows and columns o allow visible rows,columns > #rows,columns for sizing purposes o XbaeMatrixNum{Rows,Columns} routines o XbaeMatrix{En,Dis}ableRedisplay routines This is typically most effective when the enable is called just after an XmUpdateDisplay(), at least so I've found. Plus a new demo program, "list", that emulates a motif list widget with the added advantage of th matrix widgets resource. The choice program was also enhanced. * Split up more source files to provide Draw.c and Shadow.c so as to keep the size of files down to a minimum. * Added editres capability to all demo programs and cleaned up most compilation warnings. * Modified the Xbae.tmpl to allow a few more configurable options related to resizing columns on the fly * Changed all example program resource files to be the class name of the demo. Now, to run a program something like setenv XAPPLRESDIR . and then the program should suffice. * Reworked the drawing of the resize columns. * Removed the allocation of cells, selected cells and highlighted_cells when the matrix is initialised. For very large (and I'm talkin' very) matrixes, the memory consumption is quite considerable. A caveat of this feature is, if there is no drawCellCallback, memory for the above resources is allocated when one of the values changes. Pointed out by Daiji Takamori (daijit@std.teradyne.com). IMPORTANT: This feature may cause an application to crash if the selected_cells, highlighted_cells or cells is dereferenced before being initialised. Please check the value of the pointer in all callbacks. The functions similar to XbaeMatrixIsCellSelected() should probably be used rather than mucking around with matrix internals. * Realised that when using the drawCellCallback, there is no method to actually edit the data in the cell and commit these changes. And thus was born the writeCellCallback which should be defined for an editable matrix that is drawn using the drawCellCallback. Failure to do so will result in a warning message. The writeCellCallback is called from the set cell action and all normal callbacks (leave, etc) are called along the way. * Checked on quite a few other implications of the drawCellCallback and corrected where appropriate. * Implemented the drawing of Pixmaps in cells via the XmNdrawCellCallback. See the "draw" demo program for an example. I don't really know what people expect to achieve by using this functionality. If you are one of those people who intend to use it, please let me know the details. I would still like to implement the idea described above about allowing any widget to be drawn into a cell. Maybe in the next release! * Added the demo program "draw" that demonstrates the drawCellCallback, and writeCellCallback and pixmaps in cells. * Updated the manual page for XbaeMatrix with Jay Schmidgall updating the changes that he made. Changes in 4.2 -------------- * Fixed up several teething problems pointed out by Neil Weber (neilw@pyramid.com) who also provided a patch for this update. * Patched in the trailingFixedRows, trailingFixedColumns, shadowType and cellShadowType. Added the multifixed demo program. All contributed by Jay Schmidgall (jay.schmidgall@spdbump.sungardss.com) * Renamed all global functions to have the same name with an 'xbae' prefix to prevent problems with resolving symbols * Added a different font for the row and column labels, fixed some existing problems that did not allow a proportional font's baseline and cell size to be handled correctly. * Adjusted the cellMarginWidth and Height to default to 3. Combined with a cellHighlightThickness of 2, by default, the cell should appear the same but the cells are now resized properly and allow larger and or different typeface label fonts to be used. * Fixed the textBackground resource which was overlooked in release 4.1 * Added more grid types donated by Jay Schmidgall. These types include XmGRID_ROW_SHADOW, XmGRID_COLUMN_SHADOW, and combined some of the Motif shadow types (XmSHADOW_ETCHED_IN and XmSHADOW_ETCHED_OUT) to perform some very interesting grid types. These grid types are on display in an example program, also written by Jay, called choice. * Removed the FrameMaker documents, deciding to keep the manual pages up to date instead. I also intend to provide a PostScript version of the manual pages to facilitate printing. These documents are in the doc/ subdirectory. * Removed the set-values program as it was very buggy. * Removed the cancelEdit() call from SetValues(). What this meant was any time the widget was redrawn, the cell currently being edited would have the edits cancelled and the text field unmapped. For real time systems and other applications that may be displaying live data in the widget via XtSetValues() I don't think it is desirable behaviour. If anybody has an objection to this, please let me know. A cancelEdit is now only performed if the size of the cells change. * Went through the SetValues() routine and checked that everything being done was necessary. Added a few more values such as altRowCount which has not been settable in previous (4.1, 4.0) releases via XtSetValues. * added an XmNreverseSelect resource to override the available methods of drawing a selected cell and draw it in exactly the reverse colours of the cell. Inspired by Donato Petrino (dp@rtsffm.com). As yet, this resource remains virtually untested. * Fixed many more bugs and hiccups found by all the people helping with testing. * Updated the XbaeMatrix manual page and wrote one for XbaeCaption. If anyone has a way to split tables up over multiple pages, any tips would be appreciated. Changes in 4.1 -------------- * Ripped apart the src/Matrix.c into several (significantly) smaller files. I don't know if this is a good idea (feedback appreciated) but one ten thousand line file is getting a bit large (+ hilit19 stops working ;-) * Ansified and prototyped all functions in a way significantly more readable than release 4.0 * Patched in (by hand) changes made by Q Frank Xia in the "pretty" patch. These were not included in their entirety in release 4.0 and would have probably made it difficult for some to use. * Added a defaultActionCallback and doubleClickInterval (analagous to XmList) that allows a callback to be invoked when a double click occurs in a cell. * Added XbaeMatrixVisibleColumns() and XbaeMatrixVisibleRows(), suggested by Craig Wilson. * Added XbaeMatrixSetCellBackground(), XbaeMatrixSetRowBackgrounds() and XbaeMatrixSetColumnBackgrounds() to set cell backgrounds to supplement the XbaeMatrixSetCellColor() set of functions. * Supplied an XmNleftColumn resource to work in conjuction with XmNtopRow. * Fixed a few bugs that I found (nothing serious, mind you) * Rewrote the manual page to get it up to scratch. Unfortunately, I do not have access to FrameMaker so the PostScript and FrameMaker documents in the doc directory could not be maintained. They are included merely for reference and for the pretty pictures. If anyone could convert the FrameMaker documents into a different format, let me know and I'll consider maintaining these too. I don't see a real need as the man page doesn't look too bad on a PS printer at all. The Caption widget also needs a man page. This release is intended to get people interested in the package again. It is now compatible with the 3.8 pl 1, 3.8 and 4.0. I now have a workable platform on which to expand so please, if you have suggestions, let me know and I will add attempt to add it to the next release. Please refer to the manual page(s) for detailed information. Andrew Changes in 4.0 -------------- (from kbrannen@metronet.com) [Note: "you" in this section is defined to be the application programmer.] Changes: -------- * Started with virgin 3.8 version. * Merged in patches from Andrew Wason. This fixed several major bugs, including a few with geometry management. Internal version 3.9, never publically released. * Added a LosingFocusCB for the TextField to call the CommitEdit function. This is an internal change. [It seems so natural and needed, that I didn't allow a way for this to be overriden and not done. If you find this to be be a *real difficulty*, please email and tell me why I need to add a resource for you to turn this off. Well, you could override this by removing the Losing-Focus callbacks for the TextField widget after the widget is created.] * Added current raw text value to XbaeModifyVerifyCallbackStruct, suggestion by Duncan Prindle. This new field in the callback struct will allow your callback to "know" what's currently in the cell, as the user sees it, before the modification. * Added VMS support, suggestion and code by Vince Li. * Added support for 2-byte fonts (not a true wchar resource, but for fonts where font->max_byte1 != 0); code courtesy of Vince Li. * Added new Xbae types for ease of use (e.g. AlignmentArray, MaxLength, etc.). Use -DXBAE_NO_EXTRA_TYPES if you don't want. * Changed CONST to _Xconst, in agreement with X11R5. * Add _XFUNCPROTOBEGIN & _XFUNCPROTOEND around prototypes, in agreement with X11R5. * Added defines for _Xconst, _XFUNCPROTOBEGIN, _XFUNCPROTOEND for those who are stuck with X11R4. I've tried to keep it working with R4, but as I don't have one of those systems anymore, I can't test; so please email me if it doesn't work for you under R4--and what you had to do to get it to work. * Updated the frame document, reprinted the postscript file. * Created a man page for XbaeMatrix; and the tbl/nroff output version. * Changed all index() to strchr(). [Even my Sun has strchr() :-] * Added ifdef to remove the need for bcopy for those you who have memmove() and you're still at R4 or Xfuncs.h doesn't help for some reason. Use -DXBAE_NEED_BCOPY if you need bcopy(), else by default it will use memmove(). * If you were to look in EditCell(), you'd see a comment from Andrew W about finding a bug in Motif that can cause a protocol error, so he ifdef'ed the code out. However, without this code, the TextField may not have the expected colors. Every system I've run on has worked just fine with this code. I'm in the process of trying to find out more about this, but don't yet know the details. If you find that you are getting protocol errors, you can try recompiling Matrix.c with -DXBAE_NO_PROTOCOL_BUG which will turn this code off. * Tested with R5 and Motif 1.2; and R6 and Motif 2.0. * Compatibility with R3 & R4 and Motif 1.0 & 1.1 is untested. I've done my best to avoid "breaking" the code for these platforms, but I really can't test there anymore. * I've fixed a few reported compile time warnings with the Caption & Clip widgets. If you find more, please email me a copy. New Resources: -------------- * Added XmNtextBackground resource. This resource allows you to give the 1 TextField it's own background if you need it to standout. Most useful where you want the Matrix to have a uniform color appearance, but want the entry cell to be plainly visible. [Makes me wonder if I also need to add a XmNtextForeground, but the color stuff is getting so complicated...] * Added XmNverticalScrollBar and XmNhorizontalScrollBar resources (get only). These resources are useful for those you need to "tie" another scrolled window (of some sort) to the Matrix and have it scroll synchronously. Again, note that these are GET resources only, you may not change the value of these 2 resources, though you may manipulate the ScrollBar widgets. * Added XmNselectScrollVisible resource, code courtesy of Vince Li. This resource when True gives the 3.8 functionality (the default), but when False, does not make the Matrix scroll "programmically selected cells" into view (so you don't have to watch it go thru contortions :-) . * Merged in some of Q. Frank Xia's changes found on ftp.x.org. Added XmNevenRowBackground and XmNoddRowBackground. These allow you to have alternating background row colors, like the "old" computer paper. * Added the XmNaltRowCount resource. This allows you to specify how many rows each of the evenRowBackground and oddRowBackground covers; IOW, how wide the bands are. * Added a drawCellCallback callback. This is the biggest change to the widget and potetially the most dramatic for the end-users. This callback list (in my mind, it really only make sense to have 1 function in the list) will be called whenever a cell needs to be drawn; hence the application can wait until "draw" time to tell the widget what to put in the cell. This also means that the widget will not make a copy of the value. So you get to make a choice between more control and less memory usage--versus --slightly slower code due to more function call overhead. Note: I had planned to allow pixmaps to be drawn thru this mechinism also, but this is being delayed until the next release due to time contraints, sorry. Therefore, as of 4.0, if a type of XbaePixmap is return, the empty string will be drawn. New Public Functions: --------------------- * Added public function XbaeMatrixGetEventRowColumn(). This function allows you translate a button-press event into cell coordinates, IOW a row/column. This is useful for those who want to install a pop-up and need to map the event to a row/column/cell to know what actions should be presented to the user. * Added XbaeMatrixGetCurrentCell(). A public function for you to query the Matrix about where the "current" cell is. * Added XbaeMatrixRefresh(). This function allows you to force the widget to redraw itself. See doc for why. Bugs fixed in version 3.8: -------------------------- * Changes so widgets compile under Motif 1.2.1 Known problem: the XmTextField doesn't correctly register it's dropsite * Fix function prototypes in Matrix.h * Fix Caption so a Caption Pixmap will use the Captions XmNforeground resource * Include FrameMaker source files for docs Bugs fixed in version 3.7: -------------------------- * XbaeMatrix would occasionally steal the focus from other widgets in the same shell. The Clip widget was changed to only respond to synthetic FocusIn events. * XbaeMatrix StringToAlignmentArray converter should free the array when the conversion fails. * All header files now use a more specific inclusion protection symbol to avoid conflicts with other packages. * The XbaeMatrix documentation incorrectly documented the XbaeMatrixLeaveCellCallbackStruct. Bugs fixed in version 3.6: -------------------------- * XbaeMatrix computes a bad width when XmNvisibleColumns == XmNcolumns. (reported by salevin@drl.mobil.com (S. A. Levin [Stewart])) * Changed XbaeMatrix to allow XmNvisibleRows to be greater than XmNrows. (reported by mark@bryce.llnl.gov (Mark Spruiell)) * The XbaeMatrix methods: XbaeMatrixAddRows, XbaeMatrixDeleteRows, XbaeMatrixAddColumns, XbaeMatrixDeleteColumns, XbaeMatrixSetRowColors, XbaeMatrixSetColumnColors and XbaeMatrixSetCellColor need to check if they are realized. (reported by salevin@drl.mobil.com (S. A. Levin [Stewart])) * Calling XbaeMatrixEditCell before the widget is realized could result in the edit TextField being positioned wrong. * XbaeMatrix needs to call the XmNtraverseCellCallback functions when the widget initially gets traversed into, and it is not currently editing a cell. (reported by mark@bryce.llnl.gov (Mark Spruiell)) * Adding/deleting rows from an XbaeMatrix with XmNfixedRows could later result in a core dump when scrolling to the bottom of the matrix. (reported by nick@ps.quotron.com (Nick Aiuto)) * Changed XbaeMatrix to use XrmPermStringToQuark for R5. xbae-4.60.4/AUTHORS0000664000076400007640000000050710145450720010527 00000000000000Andrew Wason started all this when he was at Bellcore. Andrew Lister maintained and enhanced until July 1999. LessTif Development Team maintains it now. Sascha Goebel joined the Team July 2002. Greg Shebert has been contributing since August 2002. Tobias Oed has been contributing since February 2004 and joined that November. xbae-4.60.4/configure0000775000076400007640000301063710436577335011415 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for Xbae 4.60.4. # # Copyright (C) 2003 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 Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; 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 # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # 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 # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; 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 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # 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 sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # 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'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi tagnames=${tagnames+${tagnames},}CXX tagnames=${tagnames+${tagnames},}F77 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME='Xbae' PACKAGE_TARNAME='xbae' PACKAGE_VERSION='4.60.4' PACKAGE_STRING='Xbae 4.60.4' PACKAGE_BUGREPORT='' ac_unique_file="src/Matrix.c" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar XBAE_CURRENT XBAE_REVISION XBAE_AGE XBAE_MAJOR XBAE_MINOR XBAE_PICO man2html_cmd MAN2HTML LT_BUILD_MAN2HTML_TRUE LT_BUILD_MAN2HTML_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LN_S build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS Have_Libxp_TRUE Have_Libxp_FALSE LT_HAVELIBXP XPLIB LT_HAVE_XP link_motif include_motif MOTIF_CFLAGS MOTIF_LIBS ACLOCALDIR Aclocal_TRUE Aclocal_FALSE UseEditres_TRUE UseEditres_FALSE HaveXpm_TRUE HaveXpm_FALSE HaveWcl_TRUE HaveWcl_FALSE ac_have_ctags Have_Exctags_TRUE Have_Exctags_FALSE x_includes x_libraries AS DLLTOOL OBJDUMP THE_DATE LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # 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. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= 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 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -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 | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$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 ;; -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 ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 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 ;; -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_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=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 ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 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'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac 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 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 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 # 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 its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | 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 if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP ac_env_CXX_set=${CXX+set} ac_env_CXX_value=$CXX ac_cv_env_CXX_set=${CXX+set} ac_cv_env_CXX_value=$CXX ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS ac_env_CXXCPP_set=${CXXCPP+set} ac_env_CXXCPP_value=$CXXCPP ac_cv_env_CXXCPP_set=${CXXCPP+set} ac_cv_env_CXXCPP_value=$CXXCPP ac_env_F77_set=${F77+set} ac_env_F77_value=$F77 ac_cv_env_F77_set=${F77+set} ac_cv_env_F77_value=$F77 ac_env_FFLAGS_set=${FFLAGS+set} ac_env_FFLAGS_value=$FFLAGS ac_cv_env_FFLAGS_set=${FFLAGS+set} ac_cv_env_FFLAGS_value=$FFLAGS # # 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 Xbae 4.60.4 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 \`..'] _ACEOF cat <<_ACEOF 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] --datadir=DIR read-only architecture-independent data [PREFIX/share] --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] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _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 System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of Xbae 4.60.4:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-static[=PKGS] build static libraries [default=no] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-production build a production version --enable-exceed build a DLL for Exceed Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] --with-tags[=TAGS] include additional configurations [automatic] --with-x use the X Window System --with-motif-includes=DIR Motif include files are in DIR --with-motif-libraries=DIR Motif libraries are in DIR --with-editres, enable support for EditRes --with-dmalloc=path use dmalloc, see INSTALL(.html) for reference Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor F77 Fortran 77 compiler command FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style 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 elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd $ac_popdir done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Xbae configure 4.60.4 generated by GNU Autoconf 2.59 Copyright (C) 2003 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 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Xbae $as_me 4.60.4, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { 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` hostinfo = `(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=. echo "PATH: $as_dir" done } >&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_sep= 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=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$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 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export 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: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >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 # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" 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. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 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 `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; 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,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 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 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`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. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } 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 ac_aux_dir= for ac_dir in . $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 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. am__api_version="1.9" # 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. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done 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. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$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' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # 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". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}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 $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } 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='xbae' VERSION='4.60.4' 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"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' cat >>confdefs.h <<\_ACEOF #define MAJOR_VERSION 4 _ACEOF cat >>confdefs.h <<\_ACEOF #define MINOR_VERSION 60 _ACEOF cat >>confdefs.h <<\_ACEOF #define PICO_VERSION 4 _ACEOF cat >>confdefs.h <<\_ACEOF #define XBAE_CURRENT 5 _ACEOF cat >>confdefs.h <<\_ACEOF #define XBAE_REVISION 0 _ACEOF cat >>confdefs.h <<\_ACEOF #define XBAE_AGE 0 _ACEOF XBAE_CURRENT=5 XBAE_REVISION=0 XBAE_AGE=0 XBAE_MAJOR=4 XBAE_MINOR=60 XBAE_PICO=4 echo "$as_me:$LINENO: checking for suitable man2html" >&5 echo $ECHO_N "checking for suitable man2html... $ECHO_C" >&6 # Extract the first word of "man2html", so it can be a program name with args. set dummy man2html; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_man2html_cmd+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $man2html_cmd in [\\/]* | ?:[\\/]*) ac_cv_path_man2html_cmd="$man2html_cmd" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_man2html_cmd="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi man2html_cmd=$ac_cv_path_man2html_cmd if test -n "$man2html_cmd"; then echo "$as_me:$LINENO: result: $man2html_cmd" >&5 echo "${ECHO_T}$man2html_cmd" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test -x "$man2html_cmd" then if test -z "`$man2html_cmd &1 | grep \"LessTif's man2html\"`" then MAN2HTML="\$(top_builddir)/scripts/man2html" echo "$as_me:$LINENO: result: Use LessTif one" >&5 echo "${ECHO_T}Use LessTif one" >&6 else MAN2HTML="$man2html_cmd" echo "$as_me:$LINENO: result: $MAN2HTML" >&5 echo "${ECHO_T}$MAN2HTML" >&6 fi else MAN2HTML="\$(top_builddir)/scripts/man2html" fi if test "$MAN2HTML" = "\$(top_builddir)/scripts/man2html"; then LT_BUILD_MAN2HTML_TRUE= LT_BUILD_MAN2HTML_FALSE='#' else LT_BUILD_MAN2HTML_TRUE='#' LT_BUILD_MAN2HTML_FALSE= fi ac_config_headers="$ac_config_headers include/XbaeConfig.h" if test x$USER = xrwscott then if test "$prefix" = "NONE" then prefix=/opt/lesstif fi fi # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=no 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 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done 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 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out 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. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$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 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* 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 -std1 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 -std1. */ int osf4_cc_array ['\x00' == 0 ? 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 # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 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 done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-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='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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'. 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 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 case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$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 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 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f 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 echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } 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 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep echo "$as_me:$LINENO: checking for AIX" >&5 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef _AIX yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF #define _ALL_SOURCE 1 _ACEOF else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest* 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done 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 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$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 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* 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 -std1 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 -std1. */ int osf4_cc_array ['\x00' == 0 ? 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 # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 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 depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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'. 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 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 case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$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 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #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)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF 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 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f 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 echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } 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 # 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. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done 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. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$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' echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 fi # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi; # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi; # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done fi SED=$lt_cv_path_SED echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix4* | aix5*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump'. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | kfreebsd*-gnu | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix3*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux*) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac fi echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line 5411 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext 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 fi echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) LD="${LD-ld} -64" ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" # 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=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to the Xbae lists. ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CXX" && break done test -n "$ac_ct_CXX" || ac_ct_CXX="g++" CXX=$ac_ct_CXX fi # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS CXXFLAGS="-g" echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu depcc="$CXX" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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'. 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_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi 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 case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 if test -z "$CXXCPP"; then if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CXXCPP needs to be expanded for CXXCPP in "$CXX -E" "/lib/cpp" do ac_preproc_ok=false for ac_cxx_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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CXXCPP=$CXXCPP fi CXXCPP=$ac_cv_prog_CXXCPP else ac_cv_prog_CXXCPP=$CXXCPP fi echo "$as_me:$LINENO: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6 ac_preproc_ok=false for ac_cxx_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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu fi ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$F77"; then ac_cv_prog_F77="$F77" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_F77="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi F77=$ac_cv_prog_F77 if test -n "$F77"; then echo "$as_me:$LINENO: result: $F77" >&5 echo "${ECHO_T}$F77" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$F77" && break done fi if test -z "$F77"; then ac_ct_F77=$F77 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_F77"; then ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_F77="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_F77=$ac_cv_prog_ac_ct_F77 if test -n "$ac_ct_F77"; then echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 echo "${ECHO_T}$ac_ct_F77" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_F77" && break done F77=$ac_ct_F77 fi # Provide some information about the compiler. echo "$as_me:6609:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } rm -f a.out # If we don't use `.F' as extension, the preprocessor is not run on the # input file. (Note that this only needs to work for GNU compilers.) ac_save_ext=$ac_ext ac_ext=F echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 if test "${ac_cv_f77_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF program main #ifndef __GNUC__ choke me #endif end _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_f77_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 ac_ext=$ac_save_ext ac_test_FFLAGS=${FFLAGS+set} ac_save_FFLAGS=$FFLAGS FFLAGS= echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_f77_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else FFLAGS=-g cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_f77_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_f77_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 if test "$ac_test_FFLAGS" = set; then FFLAGS=$ac_save_FFLAGS elif test $ac_cv_prog_f77_g = yes; then if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-g -O2" else FFLAGS="-g" fi else if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-O2" else FFLAGS= fi fi G77=`test $ac_compiler_gnu = yes && echo yes` 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 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # find the maximum length of command line arguments echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 if test "${lt_cv_sys_max_cmd_len+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 else echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6 fi # Check for command to grab the raw symbol name followed by C symbol from nm. echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux*) if test "$host_cpu" = ia64; then symcode='[ABCDGIRSTW]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6 else echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6 fi echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 if test "${lt_cv_objdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 echo "${ECHO_T}$lt_cv_objdir" >&6 objdir=$lt_cv_objdir case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi AR=$ac_ct_AR else AR="$ac_cv_prog_AR" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi RANLIB=$ac_ct_RANLIB else RANLIB="$ac_cv_prog_RANLIB" fi 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi else MAGIC_CMD=: fi fi fi ;; esac enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Check whether --with-pic or --without-pic was given. if test "${with_pic+set}" = set; then withval="$with_pic" pic_mode="$withval" else pic_mode=default fi; test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= lt_save_CC="$CC" 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 # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}\n' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7672: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:7676: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; *) lt_prog_compiler_pic='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic='-qnocommon' lt_prog_compiler_wl='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; linux*) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 echo "${ECHO_T}$lt_prog_compiler_pic" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7940: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:7944: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 if test x"$lt_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 if test "${lt_prog_compiler_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works=yes fi else lt_prog_compiler_static_works=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 if test x"$lt_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:8044: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:8048: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag= enable_shared_with_static_runtimes=no archive_cmds= archive_expsym_cmds= old_archive_From_new_cmds= old_archive_from_expsyms_cmds= export_dynamic_flag_spec= whole_archive_flag_spec= thread_safe_flag_spec= hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no hardcode_shlibpath_var=unsupported link_all_deplibs=unknown hardcode_automatic=no module_cmds= module_expsym_cmds= always_export_symbols=no export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; interix3*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi else ld_shlibs=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='' link_all_deplibs=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs=no ;; esac fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld='-rpath $libdir' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; openbsd*) hardcode_direct=yes hardcode_shlibpath_var=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6 test "$ld_shlibs" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no else archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 echo "${ECHO_T}$archive_cmds_need_lc" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # find out which ABI we are using libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) echo '#line 9513 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" ;; esac fi rm -rf conftest* ;; esac # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var" || \ test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6 if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); /* 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_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); /* 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_dlopen) || defined (__stub___dlopen) choke me #else char (*f) () = dlopen; #endif #ifdef __cplusplus } #endif int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # Report which library types will actually be built echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6 # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler \ CC \ LD \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_prog_compiler_no_builtin_flag \ export_dynamic_flag_spec \ thread_safe_flag_spec \ whole_archive_flag_spec \ enable_shared_with_static_runtimes \ old_archive_cmds \ old_archive_from_new_cmds \ predep_objects \ postdep_objects \ predeps \ postdeps \ compiler_lib_search_path \ archive_cmds \ archive_expsym_cmds \ postinstall_cmds \ postuninstall_cmds \ old_archive_from_expsyms_cmds \ allow_undefined_flag \ no_undefined_flag \ export_symbols_cmds \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ hardcode_automatic \ module_cmds \ module_expsym_cmds \ lt_cv_prog_compiler_c_o \ exclude_expsyms \ include_expsyms; do case $var in old_archive_cmds | \ old_archive_from_new_cmds | \ archive_cmds | \ archive_expsym_cmds | \ module_cmds | \ module_expsym_cmds | \ old_archive_from_expsyms_cmds | \ export_symbols_cmds | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" { echo "$as_me:$LINENO: creating $ofile" >&5 echo "$as_me: creating $ofile" >&6;} cat <<__EOF__ >> "$cfgfile" #! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 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 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. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler # Is the compiler the GNU C compiler? with_gcc=$GCC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # ### END LIBTOOL CONFIG __EOF__ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC="$lt_save_CC" # Check whether --with-tags or --without-tags was given. if test "${with_tags+set}" = set; then withval="$with_tags" tagnames="$withval" fi; if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} else { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} fi fi if test -z "$LTCFLAGS"; then eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in "") ;; *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 echo "$as_me: error: invalid tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} { (exit 1); exit 1; }; } fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu archive_cmds_need_lc_CXX=no allow_undefined_flag_CXX= always_export_symbols_CXX=no archive_expsym_cmds_CXX= export_dynamic_flag_spec_CXX= hardcode_direct_CXX=no hardcode_libdir_flag_spec_CXX= hardcode_libdir_flag_spec_ld_CXX= hardcode_libdir_separator_CXX= hardcode_minus_L_CXX=no hardcode_shlibpath_var_CXX=unsupported hardcode_automatic_CXX=no module_cmds_CXX= module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no # Dependencies to place before and after the object being linked: predep_objects_CXX= postdep_objects_CXX= predeps_CXX= postdeps_CXX= compiler_lib_search_path_CXX= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o objext_CXX=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC compiler_CXX=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' else lt_prog_compiler_no_builtin_flag_CXX= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_CXX= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 ld_shlibs_CXX=yes case $host_os in aix3*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_CXX='' hardcode_direct_CXX=yes hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes if test "$GXX" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_CXX=yes else # We have old collect2 hardcode_direct_CXX=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_CXX=yes hardcode_libdir_flag_spec_CXX='-L$libdir' hardcode_libdir_separator_CXX= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_CXX=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_CXX="-z nodefs" archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_CXX='$convenience' archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_CXX=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_CXX=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_CXX='-L$libdir' allow_undefined_flag_CXX=unsupported always_export_symbols_CXX=no enable_shared_with_static_runtimes_CXX=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_CXX=no fi ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_CXX=no hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported whole_archive_flag_spec_CXX='' link_all_deplibs_CXX=yes if test "$GXX" = yes ; then lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_CXX=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; freebsd[12]*) # C++ shared libraries reported to be fairly broken before switch to ELF ld_shlibs_CXX=no ;; freebsd-elf*) archive_cmds_need_lc_CXX=no ;; freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions ld_shlibs_CXX=yes ;; gnu*) ;; hpux9*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_CXX='+b $libdir' ;; *) export_dynamic_flag_spec_CXX='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no ;; *) hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; interix3*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi link_all_deplibs_CXX=yes ;; esac hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: ;; linux*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac archive_cmds_need_lc_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC*) # Portland Group C++ compiler archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; esac ;; lynxos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; m88k*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken ld_shlibs_CXX=no ;; openbsd*) hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' export_dynamic_flag_spec_CXX='${wl}-E' whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # the KAI C++ compiler. old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' -expect_unresolved \*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ archive_cmds_need_lc_CXX=yes no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_shlibpath_var_CXX=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system # linker. We must also pass each convience library through # to the system linker between allextract/defaultextract. # The C++ compiler will combine linker options so we # cannot just pass the convience library names through # without $wl. # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac link_all_deplibs_CXX=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_CXX='${wl}-z,text' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. # So that behaviour is only enabled if SCOABSPATH is set to a # non-empty value in the environment. Most likely only useful for # creating official distributions of packages. # This is a hack until libtool officially supports absolute path # names for shared libraries. no_undefined_flag_CXX='${wl}-z,text' allow_undefined_flag_CXX='${wl}-z,nodefs' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes export_dynamic_flag_spec_CXX='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6 test "$ld_shlibs_CXX" = no && can_build_shared=no GCC_CXX="$GXX" LD_CXX="$LD" cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no # The `*' in the case matches for architectures that use `case' in # $output_verbose_cmd can trigger glob expansion during the loop # eval without this substitution. output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` for p in `eval $output_verbose_link_cmd`; do case $p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" \ || test $p = "-R"; then prev=$p continue else prev= fi if test "$pre_test_object_deps_done" = no; then case $p in -L* | -R*) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$compiler_lib_search_path_CXX"; then compiler_lib_search_path_CXX="${prev}${p}" else compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$postdeps_CXX"; then postdeps_CXX="${prev}${p}" else postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi ;; *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$predep_objects_CXX"; then predep_objects_CXX="$p" else predep_objects_CXX="$predep_objects_CXX $p" fi else if test -z "$postdep_objects_CXX"; then postdep_objects_CXX="$p" else postdep_objects_CXX="$postdep_objects_CXX $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling CXX test program" fi $rm -f confest.$objext # PORTME: override above test on systems where it is broken case $host_os in interix3*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. predep_objects_CXX= postdep_objects_CXX= postdeps_CXX= ;; solaris*) case $cc_basename in CC*) # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. postdeps_CXX='-lCstd -lCrun' ;; esac ;; esac case " $postdeps_CXX " in *" -lc "*) archive_cmds_need_lc_CXX=no ;; esac lt_prog_compiler_wl_CXX= lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_CXX='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_CXX=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' else lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_CXX='-qnocommon' lt_prog_compiler_wl_CXX='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) lt_prog_compiler_pic_CXX='-KPIC' ;; ghcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then lt_prog_compiler_pic_CXX='+Z' fi ;; aCC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_CXX='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux*) case $cc_basename in KCC*) # KAI C++ Compiler lt_prog_compiler_wl_CXX='--backend -Wl,' lt_prog_compiler_pic_CXX='-fPIC' ;; icpc* | ecpc*) # Intel C++ lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-static' ;; pgCC*) # Portland Group C++ compiler. lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-fpic' lt_prog_compiler_static_CXX='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) lt_prog_compiler_pic_CXX='-W c,exportall' ;; *) ;; esac ;; netbsd*) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) lt_prog_compiler_wl_CXX='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 lt_prog_compiler_pic_CXX='-pic' ;; cxx*) # Digital/Compaq C++ lt_prog_compiler_wl_CXX='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x lt_prog_compiler_pic_CXX='-pic' lt_prog_compiler_static_CXX='-Bstatic' ;; lcc*) # Lucid lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 lt_prog_compiler_pic_CXX='-KPIC' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' ;; esac ;; vxworks*) ;; *) lt_prog_compiler_can_build_shared_CXX=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_CXX=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:12850: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:12854: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_CXX=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then case $lt_prog_compiler_pic_CXX in "" | " "*) ;; *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; esac else lt_prog_compiler_pic_CXX= lt_prog_compiler_can_build_shared_CXX=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_CXX= ;; *) lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_CXX=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_CXX=yes fi else lt_prog_compiler_static_works_CXX=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then : else lt_prog_compiler_static_CXX= fi echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_CXX=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:12954: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:12958: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" ;; cygwin* | mingw*) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6 test "$ld_shlibs_CXX" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_CXX" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_CXX=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_CXX in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_CXX pic_flag=$lt_prog_compiler_pic_CXX compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_CXX=no else archive_cmds_need_lc_CXX=yes fi allow_undefined_flag_CXX=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # find out which ABI we are using libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) echo '#line 13490 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" ;; esac fi rm -rf conftest* ;; esac # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || \ test -n "$runpath_var_CXX" || \ test "X$hardcode_automatic_CXX" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_CXX" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && test "$hardcode_minus_L_CXX" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_CXX=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_CXX=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_CXX=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 echo "${ECHO_T}$hardcode_action_CXX" >&6 if test "$hardcode_action_CXX" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_CXX \ CC_CXX \ LD_CXX \ lt_prog_compiler_wl_CXX \ lt_prog_compiler_pic_CXX \ lt_prog_compiler_static_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ export_dynamic_flag_spec_CXX \ thread_safe_flag_spec_CXX \ whole_archive_flag_spec_CXX \ enable_shared_with_static_runtimes_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ predep_objects_CXX \ postdep_objects_CXX \ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX \ archive_cmds_CXX \ archive_expsym_cmds_CXX \ postinstall_cmds_CXX \ postuninstall_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ allow_undefined_flag_CXX \ no_undefined_flag_CXX \ export_symbols_cmds_CXX \ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ hardcode_automatic_CXX \ module_cmds_CXX \ module_expsym_cmds_CXX \ lt_cv_prog_compiler_c_o_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX; do case $var in old_archive_cmds_CXX | \ old_archive_from_new_cmds_CXX | \ archive_cmds_CXX | \ archive_expsym_cmds_CXX | \ module_cmds_CXX | \ module_expsym_cmds_CXX | \ old_archive_from_expsyms_cmds_CXX | \ export_symbols_cmds_CXX | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_CXX # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_CXX # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_CXX # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_CXX # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_CXX old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_CXX archive_expsym_cmds=$lt_archive_expsym_cmds_CXX postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_CXX module_expsym_cmds=$lt_module_expsym_cmds_CXX # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_CXX # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_CXX # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_CXX # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_CXX # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_CXX # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_CXX # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_CXX # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_CXX # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_CXX" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_CXX # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_CXX # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_CXX # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_CXX # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu archive_cmds_need_lc_F77=no allow_undefined_flag_F77= always_export_symbols_F77=no archive_expsym_cmds_F77= export_dynamic_flag_spec_F77= hardcode_direct_F77=no hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_minus_L_F77=no hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= link_all_deplibs_F77=unknown old_archive_cmds_F77=$old_archive_cmds no_undefined_flag_F77= whole_archive_flag_spec_F77= enable_shared_with_static_runtimes_F77=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o objext_F77=$objext # Code to be used in simple compile tests lt_simple_compile_test_code=" subroutine t\n return\n end\n" # Code to be used in simple link tests lt_simple_link_test_code=" program t\n end\n" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${F77-"f77"} compiler=$CC compiler_F77=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6 GCC_F77="$G77" LD_F77="$LD" lt_prog_compiler_wl_F77= lt_prog_compiler_pic_F77= lt_prog_compiler_static_F77= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_static_F77='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_F77='-fno-common' ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_F77=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_F77=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_F77='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' else lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_F77='-qnocommon' lt_prog_compiler_wl_F77='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_F77='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_F77='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_F77='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_F77='-non_shared' ;; newsos6) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; linux*) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-fpic' lt_prog_compiler_static_F77='-Bstatic' ;; ccc*) lt_prog_compiler_wl_F77='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_F77='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; solaris*) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_F77='-Qoption ld ';; *) lt_prog_compiler_wl_F77='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_F77='-Qoption ld ' lt_prog_compiler_pic_F77='-PIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_F77='-Kconform_pic' lt_prog_compiler_static_F77='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; unicos*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_can_build_shared_F77=no ;; uts4*) lt_prog_compiler_pic_F77='-pic' lt_prog_compiler_static_F77='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_F77=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_F77"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_F77=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_F77" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:14545: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:14549: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_F77=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then case $lt_prog_compiler_pic_F77 in "" | " "*) ;; *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; esac else lt_prog_compiler_pic_F77= lt_prog_compiler_can_build_shared_F77=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_F77= ;; *) lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 if test "${lt_prog_compiler_static_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_F77=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_F77=yes fi else lt_prog_compiler_static_works_F77=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6 if test x"$lt_prog_compiler_static_works_F77" = xyes; then : else lt_prog_compiler_static_F77= fi echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_F77=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:14649: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:14653: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_F77=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag_F77= enable_shared_with_static_runtimes_F77=no archive_cmds_F77= archive_expsym_cmds_F77= old_archive_From_new_cmds_F77= old_archive_from_expsyms_cmds_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= thread_safe_flag_spec_F77= hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_direct_F77=no hardcode_minus_L_F77=no hardcode_shlibpath_var_F77=unsupported link_all_deplibs_F77=unknown hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= always_export_symbols_F77=no export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_F77= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_F77=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_F77='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_F77= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_F77=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_F77=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_F77=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_F77=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_F77='-L$libdir' allow_undefined_flag_F77=unsupported always_export_symbols_F77=no enable_shared_with_static_runtimes_F77=yes export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_F77=no fi ;; interix3*) hardcode_direct_F77=no hardcode_shlibpath_var_F77=no hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi else ld_shlibs_F77=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_F77=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs_F77=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac ;; sunos4*) archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac if test "$ld_shlibs_F77" = no; then runpath_var= hardcode_libdir_flag_spec_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_F77=unsupported always_export_symbols_F77=yes archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_F77=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_F77=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_F77='' hardcode_direct_F77=yes hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_F77=yes else # We have old collect2 hardcode_direct_F77=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_F77=yes hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_libdir_separator_F77= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_F77=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_F77='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_F77="-z nodefs" archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_F77=' ${wl}-bernotok' allow_undefined_flag_F77=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_F77='$convenience' archive_cmds_need_lc_F77=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # see comment about different semantics on the GNU ld section ld_shlibs_F77=no ;; bsdi[45]*) export_dynamic_flag_spec_F77=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_F77=' ' allow_undefined_flag_F77=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_F77='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_F77='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_F77=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_F77=no hardcode_direct_F77=no hardcode_automatic_F77=yes hardcode_shlibpath_var_F77=unsupported whole_archive_flag_spec_F77='' link_all_deplibs_F77=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_F77=no ;; esac fi ;; dgux*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; freebsd1*) ld_shlibs_F77=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes export_dynamic_flag_spec_F77='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_F77='+b $libdir' hardcode_direct_F77=no hardcode_shlibpath_var_F77=no ;; *) hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: link_all_deplibs_F77=yes ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; newsos6) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_shlibpath_var_F77=no ;; openbsd*) hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-R$libdir' ;; *) archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes allow_undefined_flag_F77=unsupported archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_F77='-rpath $libdir' fi hardcode_libdir_separator_F77=: ;; solaris*) no_undefined_flag_F77=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_shlibpath_var_F77=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs_F77=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; sysv4) case $host_vendor in sni) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_F77='$CC -r -o $output$reload_objs' hardcode_direct_F77=no ;; motorola) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_F77=no ;; sysv4.3*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no export_dynamic_flag_spec_F77='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_F77=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) no_undefined_flag_F77='${wl}-z,text' archive_cmds_need_lc_F77=no hardcode_shlibpath_var_F77=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_F77='${wl}-z,text' allow_undefined_flag_F77='${wl}-z,nodefs' archive_cmds_need_lc_F77=no hardcode_shlibpath_var_F77=no hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes export_dynamic_flag_spec_F77='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; *) ld_shlibs_F77=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 echo "${ECHO_T}$ld_shlibs_F77" >&6 test "$ld_shlibs_F77" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_F77" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_F77=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_F77 in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_F77 pic_flag=$lt_prog_compiler_pic_F77 compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_F77 allow_undefined_flag_F77= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_F77=no else archive_cmds_need_lc_F77=yes fi allow_undefined_flag_F77=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # find out which ABI we are using libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) echo '#line 16098 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" ;; esac fi rm -rf conftest* ;; esac # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_F77= if test -n "$hardcode_libdir_flag_spec_F77" || \ test -n "$runpath_var_F77" || \ test "X$hardcode_automatic_F77" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_F77" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && test "$hardcode_minus_L_F77" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_F77=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_F77=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_F77=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 echo "${ECHO_T}$hardcode_action_F77" >&6 if test "$hardcode_action_F77" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_F77 \ CC_F77 \ LD_F77 \ lt_prog_compiler_wl_F77 \ lt_prog_compiler_pic_F77 \ lt_prog_compiler_static_F77 \ lt_prog_compiler_no_builtin_flag_F77 \ export_dynamic_flag_spec_F77 \ thread_safe_flag_spec_F77 \ whole_archive_flag_spec_F77 \ enable_shared_with_static_runtimes_F77 \ old_archive_cmds_F77 \ old_archive_from_new_cmds_F77 \ predep_objects_F77 \ postdep_objects_F77 \ predeps_F77 \ postdeps_F77 \ compiler_lib_search_path_F77 \ archive_cmds_F77 \ archive_expsym_cmds_F77 \ postinstall_cmds_F77 \ postuninstall_cmds_F77 \ old_archive_from_expsyms_cmds_F77 \ allow_undefined_flag_F77 \ no_undefined_flag_F77 \ export_symbols_cmds_F77 \ hardcode_libdir_flag_spec_F77 \ hardcode_libdir_flag_spec_ld_F77 \ hardcode_libdir_separator_F77 \ hardcode_automatic_F77 \ module_cmds_F77 \ module_expsym_cmds_F77 \ lt_cv_prog_compiler_c_o_F77 \ exclude_expsyms_F77 \ include_expsyms_F77; do case $var in old_archive_cmds_F77 | \ old_archive_from_new_cmds_F77 | \ archive_cmds_F77 | \ archive_expsym_cmds_F77 | \ module_cmds_F77 | \ module_expsym_cmds_F77 | \ old_archive_from_expsyms_cmds_F77 | \ export_symbols_cmds_F77 | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_F77 # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_F77 # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_F77 # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_F77 # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_F77 pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_F77 # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_F77 old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_F77 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_F77 module_expsym_cmds=$lt_module_expsym_cmds_F77 # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_F77 # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_F77 # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_F77 # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_F77 # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_F77 # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_F77 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_F77 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_F77 # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_F77" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_F77 # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_F77 # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_F77 # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_F77 # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC="$lt_save_CC" else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o objext_GCJ=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}\n" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${GCJ-"gcj"} compiler=$CC compiler_GCJ=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # GCJ did not exist at the time GCC didn't implicitly link libc in. archive_cmds_need_lc_GCJ=no old_archive_cmds_GCJ=$old_archive_cmds lt_prog_compiler_no_builtin_flag_GCJ= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16873: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:16877: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl_GCJ= lt_prog_compiler_pic_GCJ= lt_prog_compiler_static_GCJ= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_static_GCJ='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_GCJ='-fno-common' ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_GCJ=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' else lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_GCJ='-qnocommon' lt_prog_compiler_wl_GCJ='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_GCJ='-non_shared' ;; newsos6) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; linux*) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-fpic' lt_prog_compiler_static_GCJ='-Bstatic' ;; ccc*) lt_prog_compiler_wl_GCJ='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; solaris*) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_GCJ='-Qoption ld ';; *) lt_prog_compiler_wl_GCJ='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_GCJ='-Qoption ld ' lt_prog_compiler_pic_GCJ='-PIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_GCJ='-Kconform_pic' lt_prog_compiler_static_GCJ='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; unicos*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_can_build_shared_GCJ=no ;; uts4*) lt_prog_compiler_pic_GCJ='-pic' lt_prog_compiler_static_GCJ='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_GCJ"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_GCJ=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_GCJ" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:17141: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:17145: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_GCJ=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then case $lt_prog_compiler_pic_GCJ in "" | " "*) ;; *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; esac else lt_prog_compiler_pic_GCJ= lt_prog_compiler_can_build_shared_GCJ=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_GCJ= ;; *) lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_GCJ=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_GCJ=yes fi else lt_prog_compiler_static_works_GCJ=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then : else lt_prog_compiler_static_GCJ= fi echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_GCJ=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:17245: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:17249: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_GCJ=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag_GCJ= enable_shared_with_static_runtimes_GCJ=no archive_cmds_GCJ= archive_expsym_cmds_GCJ= old_archive_From_new_cmds_GCJ= old_archive_from_expsyms_cmds_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= thread_safe_flag_spec_GCJ= hardcode_libdir_flag_spec_GCJ= hardcode_libdir_flag_spec_ld_GCJ= hardcode_libdir_separator_GCJ= hardcode_direct_GCJ=no hardcode_minus_L_GCJ=no hardcode_shlibpath_var_GCJ=unsupported link_all_deplibs_GCJ=unknown hardcode_automatic_GCJ=no module_cmds_GCJ= module_expsym_cmds_GCJ= always_export_symbols_GCJ=no export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_GCJ= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_GCJ=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_GCJ= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_GCJ=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_GCJ=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_GCJ=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_GCJ=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_GCJ='-L$libdir' allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=no enable_shared_with_static_runtimes_GCJ=yes export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_GCJ=no fi ;; interix3*) hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi else ld_shlibs_GCJ=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_GCJ=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs_GCJ=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac ;; sunos4*) archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac if test "$ld_shlibs_GCJ" = no; then runpath_var= hardcode_libdir_flag_spec_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=yes archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_GCJ=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_GCJ=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_GCJ='' hardcode_direct_GCJ=yes hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_GCJ=yes else # We have old collect2 hardcode_direct_GCJ=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_GCJ=yes hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_libdir_separator_GCJ= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_GCJ=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_GCJ='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_GCJ="-z nodefs" archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_GCJ=' ${wl}-bernotok' allow_undefined_flag_GCJ=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_GCJ='$convenience' archive_cmds_need_lc_GCJ=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # see comment about different semantics on the GNU ld section ld_shlibs_GCJ=no ;; bsdi[45]*) export_dynamic_flag_spec_GCJ=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_GCJ=' ' allow_undefined_flag_GCJ=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_GCJ='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_GCJ=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_GCJ=no hardcode_direct_GCJ=no hardcode_automatic_GCJ=yes hardcode_shlibpath_var_GCJ=unsupported whole_archive_flag_spec_GCJ='' link_all_deplibs_GCJ=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_GCJ=no ;; esac fi ;; dgux*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; freebsd1*) ld_shlibs_GCJ=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no ;; *) hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: link_all_deplibs_GCJ=yes ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; newsos6) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_shlibpath_var_GCJ=no ;; openbsd*) hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' ;; *) archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes allow_undefined_flag_GCJ=unsupported archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_GCJ='-rpath $libdir' fi hardcode_libdir_separator_GCJ=: ;; solaris*) no_undefined_flag_GCJ=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_shlibpath_var_GCJ=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs_GCJ=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; sysv4) case $host_vendor in sni) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_GCJ='$CC -r -o $output$reload_objs' hardcode_direct_GCJ=no ;; motorola) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_GCJ=no ;; sysv4.3*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no export_dynamic_flag_spec_GCJ='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_GCJ=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) no_undefined_flag_GCJ='${wl}-z,text' archive_cmds_need_lc_GCJ=no hardcode_shlibpath_var_GCJ=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_GCJ='${wl}-z,text' allow_undefined_flag_GCJ='${wl}-z,nodefs' archive_cmds_need_lc_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; *) ld_shlibs_GCJ=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 echo "${ECHO_T}$ld_shlibs_GCJ" >&6 test "$ld_shlibs_GCJ" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_GCJ" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_GCJ=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_GCJ in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_GCJ pic_flag=$lt_prog_compiler_pic_GCJ compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ allow_undefined_flag_GCJ= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_GCJ=no else archive_cmds_need_lc_GCJ=yes fi allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # find out which ABI we are using libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) echo '#line 18714 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" ;; esac fi rm -rf conftest* ;; esac # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_GCJ= if test -n "$hardcode_libdir_flag_spec_GCJ" || \ test -n "$runpath_var_GCJ" || \ test "X$hardcode_automatic_GCJ" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_GCJ=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 echo "${ECHO_T}$hardcode_action_GCJ" >&6 if test "$hardcode_action_GCJ" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_GCJ \ CC_GCJ \ LD_GCJ \ lt_prog_compiler_wl_GCJ \ lt_prog_compiler_pic_GCJ \ lt_prog_compiler_static_GCJ \ lt_prog_compiler_no_builtin_flag_GCJ \ export_dynamic_flag_spec_GCJ \ thread_safe_flag_spec_GCJ \ whole_archive_flag_spec_GCJ \ enable_shared_with_static_runtimes_GCJ \ old_archive_cmds_GCJ \ old_archive_from_new_cmds_GCJ \ predep_objects_GCJ \ postdep_objects_GCJ \ predeps_GCJ \ postdeps_GCJ \ compiler_lib_search_path_GCJ \ archive_cmds_GCJ \ archive_expsym_cmds_GCJ \ postinstall_cmds_GCJ \ postuninstall_cmds_GCJ \ old_archive_from_expsyms_cmds_GCJ \ allow_undefined_flag_GCJ \ no_undefined_flag_GCJ \ export_symbols_cmds_GCJ \ hardcode_libdir_flag_spec_GCJ \ hardcode_libdir_flag_spec_ld_GCJ \ hardcode_libdir_separator_GCJ \ hardcode_automatic_GCJ \ module_cmds_GCJ \ module_expsym_cmds_GCJ \ lt_cv_prog_compiler_c_o_GCJ \ exclude_expsyms_GCJ \ include_expsyms_GCJ; do case $var in old_archive_cmds_GCJ | \ old_archive_from_new_cmds_GCJ | \ archive_cmds_GCJ | \ archive_expsym_cmds_GCJ | \ module_cmds_GCJ | \ module_expsym_cmds_GCJ | \ old_archive_from_expsyms_cmds_GCJ | \ export_symbols_cmds_GCJ | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_GCJ # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_GCJ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_GCJ # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_GCJ # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_GCJ pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_GCJ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_GCJ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_GCJ archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_GCJ module_expsym_cmds=$lt_module_expsym_cmds_GCJ # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_GCJ # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_GCJ # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_GCJ # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_GCJ # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_GCJ # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_GCJ # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_GCJ # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_GCJ" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_GCJ # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_GCJ # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_GCJ # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_GCJ # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC="$lt_save_CC" else tagname="" fi ;; RC) # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o objext_RC=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${RC-"windres"} compiler=$CC compiler_RC=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` lt_cv_prog_compiler_c_o_RC=yes # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_RC \ CC_RC \ LD_RC \ lt_prog_compiler_wl_RC \ lt_prog_compiler_pic_RC \ lt_prog_compiler_static_RC \ lt_prog_compiler_no_builtin_flag_RC \ export_dynamic_flag_spec_RC \ thread_safe_flag_spec_RC \ whole_archive_flag_spec_RC \ enable_shared_with_static_runtimes_RC \ old_archive_cmds_RC \ old_archive_from_new_cmds_RC \ predep_objects_RC \ postdep_objects_RC \ predeps_RC \ postdeps_RC \ compiler_lib_search_path_RC \ archive_cmds_RC \ archive_expsym_cmds_RC \ postinstall_cmds_RC \ postuninstall_cmds_RC \ old_archive_from_expsyms_cmds_RC \ allow_undefined_flag_RC \ no_undefined_flag_RC \ export_symbols_cmds_RC \ hardcode_libdir_flag_spec_RC \ hardcode_libdir_flag_spec_ld_RC \ hardcode_libdir_separator_RC \ hardcode_automatic_RC \ module_cmds_RC \ module_expsym_cmds_RC \ lt_cv_prog_compiler_c_o_RC \ exclude_expsyms_RC \ include_expsyms_RC; do case $var in old_archive_cmds_RC | \ old_archive_from_new_cmds_RC | \ archive_cmds_RC | \ archive_expsym_cmds_RC | \ module_cmds_RC | \ module_expsym_cmds_RC | \ old_archive_from_expsyms_cmds_RC | \ export_symbols_cmds_RC | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_RC # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_RC # Is the compiler the GNU C compiler? with_gcc=$GCC_RC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_RC archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_RC module_expsym_cmds=$lt_module_expsym_cmds_RC # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_RC # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_RC # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_RC # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_RC # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC="$lt_save_CC" ;; *) { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} { (exit 1); exit 1; }; } fi fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi; echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi echo "$as_me:$LINENO: checking for X" >&5 echo $ECHO_N "checking for X... $ECHO_C" >&6 # Check whether --with-x or --without-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 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then # Both variables are already set. have_x=yes else if test "${ac_cv_have_x+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 -fr conftest.dir if mkdir conftest.dir; then cd conftest.dir # Make sure to not put "make" in the Imakefile rules, since we grep it out. cat >Imakefile <<'_ACEOF' acfindx: @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' _ACEOF if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. for ac_extension in a so sl; 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) ;; *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; esac case $ac_im_usrlibdir in /usr/lib | /lib) ;; *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; esac fi cd .. rm -fr 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/X11R6/include /usr/X11R5/include /usr/X11R4/include /usr/include/X11 /usr/include/X11R6 /usr/include/X11R5 /usr/include/X11R4 /usr/local/X11/include /usr/local/X11R6/include /usr/local/X11R5/include /usr/local/X11R4/include /usr/local/include/X11 /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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # We can compile using X headers with no special include directory. ac_x_includes= else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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.$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="-lXt $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { XrmInitialize () ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 LIBS=$ac_save_LIBS for ac_dir in `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; do if test -r $ac_dir/libXt.$ac_extension; then ac_x_libraries=$ac_dir break 2 fi done done fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then # Didn't find X anywhere. Cache the known absence of X. ac_cv_have_x="have_x=no" else # 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" fi fi fi eval "$ac_cv_have_x" fi # $with_x != no if test "$have_x" != yes; then echo "$as_me:$LINENO: result: $have_x" >&5 echo "${ECHO_T}$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" echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 fi if test "$no_x" = yes; then # Not all programs may use this symbol, but it does not hurt to define it. cat >>confdefs.h <<\_ACEOF #define X_DISPLAY_MISSING 1 _ACEOF X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= else if test -n "$x_includes"; then X_CFLAGS="$X_CFLAGS -I$x_includes" fi # It would also be nice to do this for all -L options, not just this one. if test -n "$x_libraries"; then X_LIBS="$X_LIBS -L$x_libraries" # For Solaris; some versions of Sun CC require a space after -R and # others require no space. Words are not sufficient . . . . case `(uname -sr) 2>/dev/null` in "SunOS 5"*) echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_R_nospace=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_R_nospace=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test $ac_R_nospace = yes; then echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 X_LIBS="$X_LIBS -R$x_libraries" else LIBS="$ac_xsave_LIBS -R $x_libraries" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_R_space=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_R_space=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test $ac_R_space = yes; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 X_LIBS="$X_LIBS -R $x_libraries" else echo "$as_me:$LINENO: result: neither works" >&5 echo "${ECHO_T}neither works" >&6 fi fi LIBS=$ac_xsave_LIBS esac fi # Check for system-dependent libraries X programs must link with. # Do this before checking for the system-independent R6 libraries # (-lICE), since we may need -lsocket or whatever for X linking. if test "$ISC" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" else # Martyn Johnson says this is needed for Ultrix, if the X # libraries were built with DECnet support. And Karl Berry says # the Alpha needs dnet_stub (dnet does not exist). ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char XOpenDisplay (); int main () { XOpenDisplay (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa (); int main () { dnet_ntoa (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dnet_dnet_ntoa=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dnet_dnet_ntoa=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet_stub $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa (); int main () { dnet_ntoa (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dnet_stub_dnet_ntoa=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dnet_stub_dnet_ntoa=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" fi fi fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_xsave_LIBS" # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, # to get the SysV transport functions. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) # needs -lnsl. # The nsl library prevents programs from opening the X display # on Irix 5.2, according to T.E. Dickey. # The functions gethostbyname, getservbyname, and inet_addr are # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. echo "$as_me:$LINENO: checking for gethostbyname" >&5 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 if test "${ac_cv_func_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define gethostbyname to an innocuous variant, in case declares gethostbyname. For example, HP-UX 11i declares gettimeofday. */ #define gethostbyname innocuous_gethostbyname /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyname (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef gethostbyname /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname (); /* 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_gethostbyname) || defined (__stub___gethostbyname) choke me #else char (*f) () = gethostbyname; #endif #ifdef __cplusplus } #endif int main () { return f != gethostbyname; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_gethostbyname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_gethostbyname=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 if test $ac_cv_func_gethostbyname = no; then echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname (); int main () { gethostbyname (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_nsl_gethostbyname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_nsl_gethostbyname=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 if test $ac_cv_lib_nsl_gethostbyname = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" fi if test $ac_cv_lib_nsl_gethostbyname = no; then echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname (); int main () { gethostbyname (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bsd_gethostbyname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_bsd_gethostbyname=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 if test $ac_cv_lib_bsd_gethostbyname = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" fi fi fi # lieder@skyler.mavd.honeywell.com says without -lsocket, # socket/setsockopt and other routines are undefined under SCO ODT # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary # on later versions), says Simon Leinen: it contains gethostby* # variants that don't use the name server (or something). -lsocket # must be given before -lnsl if both are needed. We assume that # if connect needs -lnsl, so does gethostbyname. echo "$as_me:$LINENO: checking for connect" >&5 echo $ECHO_N "checking for connect... $ECHO_C" >&6 if test "${ac_cv_func_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define connect to an innocuous variant, in case declares connect. For example, HP-UX 11i declares gettimeofday. */ #define connect innocuous_connect /* System header to define __stub macros and hopefully few prototypes, which can conflict with char connect (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef connect /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char connect (); /* 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_connect) || defined (__stub___connect) choke me #else char (*f) () = connect; #endif #ifdef __cplusplus } #endif int main () { return f != connect; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_connect=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_connect=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 echo "${ECHO_T}$ac_cv_func_connect" >&6 if test $ac_cv_func_connect = no; then echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 if test "${ac_cv_lib_socket_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char connect (); int main () { connect (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_socket_connect=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_socket_connect=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 if test $ac_cv_lib_socket_connect = yes; then X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" fi fi # Guillermo Gomez says -lposix is necessary on A/UX. echo "$as_me:$LINENO: checking for remove" >&5 echo $ECHO_N "checking for remove... $ECHO_C" >&6 if test "${ac_cv_func_remove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define remove to an innocuous variant, in case declares remove. For example, HP-UX 11i declares gettimeofday. */ #define remove innocuous_remove /* System header to define __stub macros and hopefully few prototypes, which can conflict with char remove (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef remove /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char remove (); /* 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_remove) || defined (__stub___remove) choke me #else char (*f) () = remove; #endif #ifdef __cplusplus } #endif int main () { return f != remove; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_remove=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_remove=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 echo "${ECHO_T}$ac_cv_func_remove" >&6 if test $ac_cv_func_remove = no; then echo "$as_me:$LINENO: checking for remove in -lposix" >&5 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 if test "${ac_cv_lib_posix_remove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lposix $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char remove (); int main () { remove (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_posix_remove=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_posix_remove=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 if test $ac_cv_lib_posix_remove = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" fi fi # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. echo "$as_me:$LINENO: checking for shmat" >&5 echo $ECHO_N "checking for shmat... $ECHO_C" >&6 if test "${ac_cv_func_shmat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shmat to an innocuous variant, in case declares shmat. For example, HP-UX 11i declares gettimeofday. */ #define shmat innocuous_shmat /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shmat (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shmat /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shmat (); /* 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_shmat) || defined (__stub___shmat) choke me #else char (*f) () = shmat; #endif #ifdef __cplusplus } #endif int main () { return f != shmat; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shmat=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shmat=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 echo "${ECHO_T}$ac_cv_func_shmat" >&6 if test $ac_cv_func_shmat = no; then echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 if test "${ac_cv_lib_ipc_shmat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lipc $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shmat (); int main () { shmat (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ipc_shmat=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_ipc_shmat=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 if test $ac_cv_lib_ipc_shmat = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" fi fi fi # Check for libraries that X11R6 Xt/Xaw programs need. ac_save_LDFLAGS=$LDFLAGS test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to # check for ICE first), but we must link in the order -lSM -lICE or # we get undefined symbols. So assume we have SM if we have ICE. # These have to be linked with before -lX11, unlike the other # libraries we check for below, so use a different variable. # John Interrante, Karl Berry echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char IceConnectionNumber (); int main () { IceConnectionNumber (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ICE_IceConnectionNumber=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_ICE_IceConnectionNumber=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" fi LDFLAGS=$ac_save_LDFLAGS fi echo "$as_me:$LINENO: checking whether libXp is available" >&5 echo $ECHO_N "checking whether libXp is available... $ECHO_C" >&6 if test "${lt_cv_libxp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_save_CFLAGS="$CFLAGS" lt_save_CPPFLAGS="$CPPFLAGS" lt_save_LIBS="$LIBS" LIBS="$X_LIBS -lXp -lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" CFLAGS="$X_CFLAGS $CFLAGS" CPPFLAGS="$X_CFLAGS $CPPFLAGS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { int main() { Display *display=NULL; short major_version, minor_version; Status rc; rc=XpQueryVersion(display, &major_version, &minor_version); exit(0); } ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_libxp=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_libxp=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $lt_cv_libxp" >&5 echo "${ECHO_T}$lt_cv_libxp" >&6 if test "$lt_cv_libxp" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIB_XP 1 _ACEOF LT_HAVELIBXP=1 else LT_HAVELIBXP=0 fi if test "$lt_cv_libxp" = "yes"; then Have_Libxp_TRUE= Have_Libxp_FALSE='#' else Have_Libxp_TRUE='#' Have_Libxp_FALSE= fi CFLAGS="$lt_save_CFLAGS" CPPFLAGS="$lt_save_CPPFLAGS" LIBS="$lt_save_LIBS" echo "$as_me:$LINENO: checking whether to link -lXp" >&5 echo $ECHO_N "checking whether to link -lXp... $ECHO_C" >&6 if test "$lt_cv_libxp" = "yes"; then XPLIB="-lXp -lXext" else XPLIB="" fi echo "$as_me:$LINENO: result: $XPLIB" >&5 echo "${ECHO_T}$XPLIB" >&6 echo "$as_me:$LINENO: checking whether libXp is available" >&5 echo $ECHO_N "checking whether libXp is available... $ECHO_C" >&6 if test "${lt_cv_libxp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_save_CFLAGS="$CFLAGS" lt_save_CPPFLAGS="$CPPFLAGS" lt_save_LIBS="$LIBS" LIBS="$X_LIBS -lXp -lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" CFLAGS="$X_CFLAGS $CFLAGS" CPPFLAGS="$X_CFLAGS $CPPFLAGS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { int main() { Display *display=NULL; short major_version, minor_version; Status rc; rc=XpQueryVersion(display, &major_version, &minor_version); exit(0); } ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_libxp=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_libxp=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $lt_cv_libxp" >&5 echo "${ECHO_T}$lt_cv_libxp" >&6 if test "$lt_cv_libxp" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIB_XP 1 _ACEOF LT_HAVE_XP="yes" else LT_HAVE_XP="no" fi if test "$lt_cv_libxp" = "yes"; then Have_Libxp_TRUE= Have_Libxp_FALSE='#' else Have_Libxp_TRUE='#' Have_Libxp_FALSE= fi CFLAGS="$lt_save_CFLAGS" CPPFLAGS="$lt_save_CPPFLAGS" LIBS="$lt_save_LIBS" motif_includes= motif_libraries= # Check whether --with-motif-includes or --without-motif-includes was given. if test "${with_motif_includes+set}" = set; then withval="$with_motif_includes" motif_includes="$withval" fi; # Check whether --with-motif-libraries or --without-motif-libraries was given. if test "${with_motif_libraries+set}" = set; then withval="$with_motif_libraries" motif_libraries="$withval" fi; echo "$as_me:$LINENO: checking for Motif" >&5 echo $ECHO_N "checking for Motif... $ECHO_C" >&6 # # # Search the include files. # if test "$motif_includes" = ""; then if test "${ac_cv_motif_includes+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_motif_save_LIBS="$LIBS" ac_motif_save_INCLUDES="$INCLUDES" ac_motif_save_CPPFLAGS="$CPPFLAGS" ac_motif_save_LDFLAGS="$LDFLAGS" # LIBS="$X_PRE_LIBS -lXm -lXt -lX11 $X_EXTRA_LIBS $LIBS" INCLUDES="$X_CFLAGS $INCLUDES" CPPFLAGS="$X_CFLAGS $CPPFLAGS" LDFLAGS="$X_LIBS $LDFLAGS" # ac_cv_motif_includes="none" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { int a; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then # Xm/Xm.h is in the standard search path. ac_cv_motif_includes= else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Xm/Xm.h is not in the standard search path. # Locate it and put its directory in `motif_includes' # # /usr/include/Motif* are used on HP-UX (Motif). # /usr/include/X11* are used on HP-UX (X and Athena). # /usr/dt is used on Solaris (Motif). # /usr/openwin is used on Solaris (X and Athena). # Other directories are just guesses. for dir in "$x_includes" "${prefix}/include" /usr/include /usr/local/include \ /usr/include/Motif2.1 /usr/include/Motif2.0 /usr/include/Motif1.2 \ /usr/include/X11 /usr/include/X11R6 /usr/include/X11R5 \ /usr/X11/include /usr/X11R6/include /usr/X11R5/include \ /usr/dt/include /usr/openwin/include \ /usr/dt/*/include /opt/*/include /usr/include/Motif* \ "${prefix}"/*/include /usr/*/include /usr/local/*/include \ "${prefix}"/include/* /usr/include/* /usr/local/include/*; do if test -f "$dir/Xm/Xm.h"; then ac_cv_motif_includes="$dir" break fi done fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # LIBS="$ac_motif_save_LIBS" INCLUDES="$ac_motif_save_INCLUDES" CPPFLAGS="$ac_motif_save_CPPFLAGS" LDFLAGS="$ac_motif_save_LDFLAGS" fi motif_includes="$ac_cv_motif_includes" fi # # # Now for the libraries. # if test "$motif_libraries" = ""; then if test "${ac_cv_motif_libraries+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_motif_save_LIBS="$LIBS" ac_motif_save_INCLUDES="$INCLUDES" ac_motif_save_CPPFLAGS="$CPPFLAGS" ac_motif_save_LDFLAGS="$LDFLAGS" # LIBS="$X_PRE_LIBS -lXm -lXt -lX11 $X_EXTRA_LIBS $LIBS" INCLUDES="$X_CFLAGS $INCLUDES" CPPFLAGS="$X_CFLAGS $CPPFLAGS" LDFLAGS="$X_LIBS $LDFLAGS" # ac_cv_motif_libraries="none" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { XtToolkitInitialize(); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then # libXm.a is in the standard search path. ac_cv_motif_libraries= else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # libXm.a is not in the standard search path. # Locate it and put its directory in `motif_libraries' # # /usr/lib/Motif* are used on HP-UX (Motif). # /usr/lib/X11* are used on HP-UX (X and Athena). # /usr/dt is used on Solaris (Motif). # /usr/lesstif is used on Linux (Lesstif). # /usr/openwin is used on Solaris (X and Athena). # Other directories are just guesses. for dir in "$x_libraries" "${prefix}/lib" /usr/lib /usr/local/lib \ /usr/lib/Motif2.1 /usr/lib/Motif2.0 /usr/lib/Motif1.2 \ /usr/lib/X11 /usr/lib/X11R6 /usr/lib/X11R5 \ /usr/X11/lib /usr/X11R6/lib /usr/X11R5/lib \ /usr/dt/lib /usr/openwin/lib \ /usr/dt/*/lib /opt/*/lib /usr/lib/Motif* \ /usr/lesstif*/lib /usr/lib/Lesstif* \ "${prefix}"/*/lib /usr/*/lib /usr/local/*/lib \ "${prefix}"/lib/* /usr/lib/* /usr/local/lib/*; do if test -d "$dir" && test "`ls $dir/libXm.* 2> /dev/null`" != ""; then ac_cv_motif_libraries="$dir" break fi done fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext # LIBS="$ac_motif_save_LIBS" INCLUDES="$ac_motif_save_INCLUDES" CPPFLAGS="$ac_motif_save_CPPFLAGS" LDFLAGS="$ac_motif_save_LDFLAGS" fi # motif_libraries="$ac_cv_motif_libraries" fi # # Provide an easier way to link # if test "$motif_includes" = "none" -o "$motif_libraries" = "none"; then with_motif="no" else with_motif="yes" fi echo "$as_me:$LINENO: checking whether libXp is available" >&5 echo $ECHO_N "checking whether libXp is available... $ECHO_C" >&6 if test "${lt_cv_libxp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_save_CFLAGS="$CFLAGS" lt_save_CPPFLAGS="$CPPFLAGS" lt_save_LIBS="$LIBS" LIBS="$X_LIBS -lXp -lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" CFLAGS="$X_CFLAGS $CFLAGS" CPPFLAGS="$X_CFLAGS $CPPFLAGS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { int main() { Display *display=NULL; short major_version, minor_version; Status rc; rc=XpQueryVersion(display, &major_version, &minor_version); exit(0); } ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_libxp=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_libxp=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $lt_cv_libxp" >&5 echo "${ECHO_T}$lt_cv_libxp" >&6 if test "$lt_cv_libxp" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIB_XP 1 _ACEOF LT_HAVE_XP="yes" else LT_HAVE_XP="no" fi if test "$lt_cv_libxp" = "yes"; then Have_Libxp_TRUE= Have_Libxp_FALSE='#' else Have_Libxp_TRUE='#' Have_Libxp_FALSE= fi CFLAGS="$lt_save_CFLAGS" CPPFLAGS="$lt_save_CPPFLAGS" LIBS="$lt_save_LIBS" if test "$LT_HAVE_XP" = "yes"; then XPLIB="-lXp -lXext" else XPLIB="" fi if test "$with_motif" != "no"; then if test "$motif_libraries" = ""; then link_motif="-lXm $XPLIB" MOTIF_LIBS="-lXm $XPLIB" else link_motif="-L$motif_libraries -lXm $XPLIB" MOTIF_LIBS="-L$motif_libraries -lXm $XPLIB" fi if test "$motif_includes" != ""; then include_motif="-I$motif_includes" MOTIF_CFLAGS="-I$motif_includes" fi cat >>confdefs.h <<\_ACEOF #define HAVE_MOTIF 1 _ACEOF else with_motif="no" fi # # # # motif_libraries_result="$motif_libraries" motif_includes_result="$motif_includes" test "$motif_libraries_result" = "" && motif_libraries_result="in default path" test "$motif_includes_result" = "" && motif_includes_result="in default path" test "$motif_libraries_result" = "none" && motif_libraries_result="(none)" test "$motif_includes_result" = "none" && motif_includes_result="(none)" echo "$as_me:$LINENO: result: libraries $motif_libraries_result, headers $motif_includes_result" >&5 echo "${ECHO_T}libraries $motif_libraries_result, headers $motif_includes_result" >&6 # Check whether --enable-production or --disable-production was given. if test "${enable_production+set}" = set; then enableval="$enable_production" fi; if test "x$enable_production" = "xyes" ; then cat >>confdefs.h <<\_ACEOF #define XBAE_PRODUCTION 1 _ACEOF fi if (aclocal --print-ac-dir) /dev/null 2>&1 && test -w `aclocal --print-ac-dir`; then ACLOCALDIR=`aclocal --print-ac-dir` fi if test x$ACLOCALDIR != x ; then Aclocal_TRUE= Aclocal_FALSE='#' else Aclocal_TRUE='#' Aclocal_FALSE= fi echo "$as_me:$LINENO: checking whether to support EditRes" >&5 echo $ECHO_N "checking whether to support EditRes... $ECHO_C" >&6 # Check whether --with-editres or --without-editres was given. if test "${with_editres+set}" = set; then withval="$with_editres" fi; if test -z "$with_editres"; then use_editres=yes else use_editres=$with_editres fi echo "$as_me:$LINENO: result: $use_editres" >&5 echo "${ECHO_T}$use_editres" >&6 if test x$use_editres = xyes then cat >>confdefs.h <<\_ACEOF #define USE_EDITRES 1 _ACEOF elif test x$use_editres = xset then cat >>confdefs.h <<\_ACEOF #define USE_EDITRES 1 _ACEOF fi if test x$use_editres = xyes; then UseEditres_TRUE= UseEditres_FALSE='#' else UseEditres_TRUE='#' UseEditres_FALSE= fi # Check whether --enable-exceed or --disable-exceed was given. if test "${enable_exceed+set}" = set; then enableval="$enable_exceed" fi; if test "x$enable_exceed" = "xyes" ; then cat >>confdefs.h <<\_ACEOF #define USING_EXCEED 1 _ACEOF fi ac_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $X_CFLAGS" for ac_header in xpm.h X11/xpm.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to the Xbae lists. ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done CPPFLAGS="$ac_save_CPPFLAGS" echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 # Check whether --with-dmalloc or --without-dmalloc was given. if test "${with_dmalloc+set}" = set; then withval="$with_dmalloc" if test "$withval" = no; then echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 else if test "$withval" != yes; then CFLAGS="$CFLAGS -I$withval/include -DDMALLOC_FUNC_CHECK" LDFLAGS="$LDFLAGS -L$withval/lib -ldmalloc" LIBS="$LIBS -L$withval/lib -ldmalloc" else CFLAGS="$CFLAGS -DDMALLOC_FUNC_CHECK" LDFLAGS="$LDFLAGS -ldmalloc" LIBS="$LIBS -ldmalloc" fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char *ptr; ptr=malloc(1); dmalloc_shutdown(); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cat >>confdefs.h <<\_ACEOF #define WITH_DMALLOC 1 _ACEOF echo "$as_me:$LINENO: result: Using dmalloc" >&5 echo "${ECHO_T}Using dmalloc" >&6 else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: dmalloc not found" >&5 echo "$as_me: error: dmalloc not found" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi; for ac_func in strcasecmp stricmp strncasecmp strnicmp do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test "x$ac_cv_header_X11_xpm_h" = "xyes" -o "x$ac_cv_header_xpm_h" = "xyes" then echo "$as_me:$LINENO: checking for XpmLibraryVersion in -lXpm" >&5 echo $ECHO_N "checking for XpmLibraryVersion in -lXpm... $ECHO_C" >&6 if test "${ac_cv_lib_Xpm_XpmLibraryVersion+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXpm $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char XpmLibraryVersion (); int main () { XpmLibraryVersion (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_Xpm_XpmLibraryVersion=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_Xpm_XpmLibraryVersion=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmLibraryVersion" >&5 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmLibraryVersion" >&6 if test $ac_cv_lib_Xpm_XpmLibraryVersion = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBXPM 1 _ACEOF LIBS="-lXpm $LIBS" fi if test x$ac_cv_lib_Xpm_XpmLibraryVersion = xyes; then HaveXpm_TRUE= HaveXpm_FALSE='#' else HaveXpm_TRUE='#' HaveXpm_FALSE= fi else if false; then HaveXpm_TRUE= HaveXpm_FALSE='#' else HaveXpm_TRUE='#' HaveXpm_FALSE= fi fi if test "${ac_cv_header_Wcl_WcCreate_h+set}" = set; then echo "$as_me:$LINENO: checking for Wcl/WcCreate.h" >&5 echo $ECHO_N "checking for Wcl/WcCreate.h... $ECHO_C" >&6 if test "${ac_cv_header_Wcl_WcCreate_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_Wcl_WcCreate_h" >&5 echo "${ECHO_T}$ac_cv_header_Wcl_WcCreate_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking Wcl/WcCreate.h usability" >&5 echo $ECHO_N "checking Wcl/WcCreate.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking Wcl/WcCreate.h presence" >&5 echo $ECHO_N "checking Wcl/WcCreate.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: Wcl/WcCreate.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: Wcl/WcCreate.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: Wcl/WcCreate.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: Wcl/WcCreate.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: Wcl/WcCreate.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: Wcl/WcCreate.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: Wcl/WcCreate.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: Wcl/WcCreate.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: Wcl/WcCreate.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: Wcl/WcCreate.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: Wcl/WcCreate.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: Wcl/WcCreate.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: Wcl/WcCreate.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: Wcl/WcCreate.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: Wcl/WcCreate.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: Wcl/WcCreate.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to the Xbae lists. ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for Wcl/WcCreate.h" >&5 echo $ECHO_N "checking for Wcl/WcCreate.h... $ECHO_C" >&6 if test "${ac_cv_header_Wcl_WcCreate_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_Wcl_WcCreate_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_Wcl_WcCreate_h" >&5 echo "${ECHO_T}$ac_cv_header_Wcl_WcCreate_h" >&6 fi if test $ac_cv_header_Wcl_WcCreate_h = yes; then VarHaveWcl=yes else VarHaveWcl=no fi if test x$VarHaveWcl = xyes; then HaveWcl_TRUE= HaveWcl_FALSE='#' else HaveWcl_TRUE='#' HaveWcl_FALSE= fi if test x$GCC = xyes then CFLAGS="$CFLAGS -Wall" fi ac_have_exctags=no # Extract the first word of "ctags", so it can be a program name with args. set dummy ctags; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_have_ctags+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_have_ctags"; then ac_cv_prog_ac_have_ctags="$ac_have_ctags" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_have_ctags="yes" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_have_ctags" && ac_cv_prog_ac_have_ctags="no" fi fi ac_have_ctags=$ac_cv_prog_ac_have_ctags if test -n "$ac_have_ctags"; then echo "$as_me:$LINENO: result: $ac_have_ctags" >&5 echo "${ECHO_T}$ac_have_ctags" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$ac_have_ctags" = "yes"; then echo "$as_me:$LINENO: checking if ctags is actually Exuberant ctags" >&5 echo $ECHO_N "checking if ctags is actually Exuberant ctags... $ECHO_C" >&6 if test -z "`ctags --version 2>/dev/null | grep Exuberant`" ; then ac_have_exctags=no else ac_have_exctags=yes fi echo "$as_me:$LINENO: result: $ac_have_exctags" >&5 echo "${ECHO_T}$ac_have_exctags" >&6 fi if test "$ac_have_exctags" = "yes"; then Have_Exctags_TRUE= Have_Exctags_FALSE='#' else Have_Exctags_TRUE='#' Have_Exctags_FALSE= fi THE_DATE=`date +%F` ac_config_files="$ac_config_files Makefile include/Makefile include/Xbae/Makefile include/Xbae/patchlevel.h src/Makefile src/XbaeCaption.3 src/XbaeInput.3 src/XbaeMatrix.3 examples/Makefile examples/add/Makefile examples/caption/Makefile examples/choice/Makefile examples/colors/Makefile examples/draw/Makefile examples/dynamic/Makefile examples/fifteen/Makefile examples/input/Makefile examples/list/Makefile examples/matrix/Makefile examples/multibyte/Makefile examples/multifixed/Makefile examples/select-drag/Makefile examples/select-push/Makefile examples/tests/Makefile examples/traversal/Makefile examples/Mri/Makefile examples/builderXcessory/Makefile examples/builderXcessory/xbae.wml doc/Makefile doc/images/Makefile scripts/Makefile scripts/Xbae.spec" 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, don't put newlines in cache variables' values. # 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. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *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 \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" 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}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ 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[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${LT_BUILD_MAN2HTML_TRUE}" && test -z "${LT_BUILD_MAN2HTML_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"LT_BUILD_MAN2HTML\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"LT_BUILD_MAN2HTML\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${Have_Libxp_TRUE}" && test -z "${Have_Libxp_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"Have_Libxp\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"Have_Libxp\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${Have_Libxp_TRUE}" && test -z "${Have_Libxp_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"Have_Libxp\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"Have_Libxp\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${Have_Libxp_TRUE}" && test -z "${Have_Libxp_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"Have_Libxp\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"Have_Libxp\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${Aclocal_TRUE}" && test -z "${Aclocal_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"Aclocal\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"Aclocal\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${UseEditres_TRUE}" && test -z "${UseEditres_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"UseEditres\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"UseEditres\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HaveXpm_TRUE}" && test -z "${HaveXpm_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HaveXpm\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HaveXpm\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HaveXpm_TRUE}" && test -z "${HaveXpm_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HaveXpm\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HaveXpm\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HaveWcl_TRUE}" && test -z "${HaveWcl_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HaveWcl\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HaveWcl\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${Have_Exctags_TRUE}" && test -z "${Have_Exctags_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"Have_Exctags\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"Have_Exctags\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $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} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; 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 # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # 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 # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; 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 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # 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 sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # 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'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by Xbae $as_me 4.60.4, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet 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_cs_version="\\ Xbae config.status 4.60.4 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. 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=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; 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 if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; "include/Xbae/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Xbae/Makefile" ;; "include/Xbae/patchlevel.h" ) CONFIG_FILES="$CONFIG_FILES include/Xbae/patchlevel.h" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/XbaeCaption.3" ) CONFIG_FILES="$CONFIG_FILES src/XbaeCaption.3" ;; "src/XbaeInput.3" ) CONFIG_FILES="$CONFIG_FILES src/XbaeInput.3" ;; "src/XbaeMatrix.3" ) CONFIG_FILES="$CONFIG_FILES src/XbaeMatrix.3" ;; "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "examples/add/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/add/Makefile" ;; "examples/caption/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/caption/Makefile" ;; "examples/choice/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/choice/Makefile" ;; "examples/colors/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/colors/Makefile" ;; "examples/draw/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/draw/Makefile" ;; "examples/dynamic/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/dynamic/Makefile" ;; "examples/fifteen/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/fifteen/Makefile" ;; "examples/input/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/input/Makefile" ;; "examples/list/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/list/Makefile" ;; "examples/matrix/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/matrix/Makefile" ;; "examples/multibyte/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/multibyte/Makefile" ;; "examples/multifixed/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/multifixed/Makefile" ;; "examples/select-drag/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/select-drag/Makefile" ;; "examples/select-push/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/select-push/Makefile" ;; "examples/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/tests/Makefile" ;; "examples/traversal/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/traversal/Makefile" ;; "examples/Mri/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Mri/Makefile" ;; "examples/builderXcessory/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/builderXcessory/Makefile" ;; "examples/builderXcessory/xbae.wml" ) CONFIG_FILES="$CONFIG_FILES examples/builderXcessory/xbae.wml" ;; "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/images/Makefile" ;; "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; "scripts/Xbae.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/Xbae.spec" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "include/XbaeConfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/XbaeConfig.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; 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 to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@mkdir_p@,$mkdir_p,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t s,@AMTAR@,$AMTAR,;t t s,@am__tar@,$am__tar,;t t s,@am__untar@,$am__untar,;t t s,@XBAE_CURRENT@,$XBAE_CURRENT,;t t s,@XBAE_REVISION@,$XBAE_REVISION,;t t s,@XBAE_AGE@,$XBAE_AGE,;t t s,@XBAE_MAJOR@,$XBAE_MAJOR,;t t s,@XBAE_MINOR@,$XBAE_MINOR,;t t s,@XBAE_PICO@,$XBAE_PICO,;t t s,@man2html_cmd@,$man2html_cmd,;t t s,@MAN2HTML@,$MAN2HTML,;t t s,@LT_BUILD_MAN2HTML_TRUE@,$LT_BUILD_MAN2HTML_TRUE,;t t s,@LT_BUILD_MAN2HTML_FALSE@,$LT_BUILD_MAN2HTML_FALSE,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@DEPDIR@,$DEPDIR,;t t s,@am__include@,$am__include,;t t s,@am__quote@,$am__quote,;t t s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@CCDEPMODE@,$CCDEPMODE,;t t s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@build@,$build,;t t s,@build_cpu@,$build_cpu,;t t s,@build_vendor@,$build_vendor,;t t s,@build_os@,$build_os,;t t s,@host@,$host,;t t s,@host_cpu@,$host_cpu,;t t s,@host_vendor@,$host_vendor,;t t s,@host_os@,$host_os,;t t s,@ECHO@,$ECHO,;t t s,@AR@,$AR,;t t s,@ac_ct_AR@,$ac_ct_AR,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t s,@CXX@,$CXX,;t t s,@CXXFLAGS@,$CXXFLAGS,;t t s,@ac_ct_CXX@,$ac_ct_CXX,;t t s,@CXXDEPMODE@,$CXXDEPMODE,;t t s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t s,@CXXCPP@,$CXXCPP,;t t s,@F77@,$F77,;t t s,@FFLAGS@,$FFLAGS,;t t s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t s,@MAINT@,$MAINT,;t t s,@X_CFLAGS@,$X_CFLAGS,;t t s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t s,@X_LIBS@,$X_LIBS,;t t s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t s,@Have_Libxp_TRUE@,$Have_Libxp_TRUE,;t t s,@Have_Libxp_FALSE@,$Have_Libxp_FALSE,;t t s,@LT_HAVELIBXP@,$LT_HAVELIBXP,;t t s,@XPLIB@,$XPLIB,;t t s,@LT_HAVE_XP@,$LT_HAVE_XP,;t t s,@link_motif@,$link_motif,;t t s,@include_motif@,$include_motif,;t t s,@MOTIF_CFLAGS@,$MOTIF_CFLAGS,;t t s,@MOTIF_LIBS@,$MOTIF_LIBS,;t t s,@ACLOCALDIR@,$ACLOCALDIR,;t t s,@Aclocal_TRUE@,$Aclocal_TRUE,;t t s,@Aclocal_FALSE@,$Aclocal_FALSE,;t t s,@UseEditres_TRUE@,$UseEditres_TRUE,;t t s,@UseEditres_FALSE@,$UseEditres_FALSE,;t t s,@HaveXpm_TRUE@,$HaveXpm_TRUE,;t t s,@HaveXpm_FALSE@,$HaveXpm_FALSE,;t t s,@HaveWcl_TRUE@,$HaveWcl_TRUE,;t t s,@HaveWcl_FALSE@,$HaveWcl_FALSE,;t t s,@ac_have_ctags@,$ac_have_ctags,;t t s,@Have_Exctags_TRUE@,$Have_Exctags_TRUE,;t t s,@Have_Exctags_FALSE@,$Have_Exctags_FALSE,;t t s,@x_includes@,$x_includes,;t t s,@x_libraries@,$x_libraries,;t t s,@AS@,$AS,;t t s,@DLLTOOL@,$DLLTOOL,;t t s,@OBJDUMP@,$OBJDUMP,;t t s,@THE_DATE@,$THE_DATE,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # 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. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;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,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #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. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # 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. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; 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. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || 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=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # 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 || { (exit 1); exit 1; } fi xbae-4.60.4/Makefile.in0000664000076400007640000006146710436577344011557 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ # # $Header: /cvsroot/xbae/Xbae/Makefile.am,v 1.21 2005/08/15 07:41:08 dannybackx Exp $ # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ ChangeLog INSTALL NEWS config.guess config.sub install-sh \ ltmain.sh missing subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = depcomp = am__depfiles_maybe = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive 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 = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(aclocaldir)" "$(DESTDIR)$(docdir)" aclocalDATA_INSTALL = $(INSTALL_DATA) docDATA_INSTALL = $(INSTALL_DATA) DATA = $(aclocal_DATA) $(doc_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess config.sub ltconfig ltmain.sh aclocal.m4 config.h.in install-sh missing mkinstalldirs SUBDIRS = include src examples doc scripts EXTRA_DIST = configure ac_find_xbae.m4 Imakefile Xbae.tmpl Xbae.rules \ CVSMake aclocaldir = @ACLOCALDIR@ @Aclocal_TRUE@aclocal_DATA = ac_find_xbae.m4 docdir = $(datadir)/Xbae doc_DATA = NEWS README # # Some convenient targets for users of Exuberant ctags # # Specify options # - for recursive search # - to prevent to follow symbolic links # - to avoid picking up Makefiles, etc. # (selecting C++ support picks up the .h files, etc.) @Have_Exctags_TRUE@CTAGS_CMD = ctags -R --links=no --languages=c,c++ all: all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \ cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps 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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-aclocalDATA: $(aclocal_DATA) @$(NORMAL_INSTALL) test -z "$(aclocaldir)" || $(mkdir_p) "$(DESTDIR)$(aclocaldir)" @list='$(aclocal_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(aclocalDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aclocaldir)/$$f'"; \ $(aclocalDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aclocaldir)/$$f"; \ done uninstall-aclocalDATA: @$(NORMAL_UNINSTALL) @list='$(aclocal_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(aclocaldir)/$$f'"; \ rm -f "$(DESTDIR)$(aclocaldir)/$$f"; \ done install-docDATA: $(doc_DATA) @$(NORMAL_INSTALL) test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" @list='$(doc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ done uninstall-docDATA: @$(NORMAL_UNINSTALL) @list='$(doc_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ rm -f "$(DESTDIR)$(docdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi @Have_Exctags_FALSE@ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/examples/builderXcessory $(distdir)/include/Xbae $(distdir)/scripts $(distdir)/src @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -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 $(SHELL) $(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 -9 -c >$(distdir).tar.bz2 $(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) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(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 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { 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-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(aclocaldir)" "$(DESTDIR)$(docdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-aclocalDATA install-docDATA install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-aclocalDATA uninstall-docDATA \ uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-libtool clean-recursive \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-libtool distclean-recursive \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-aclocalDATA \ install-am install-data install-data-am install-docDATA \ install-exec install-exec-am install-info install-info-am \ install-man install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-libtool \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-aclocalDATA uninstall-am uninstall-docDATA \ uninstall-info-am .PHONY: changelog UpdateCheck @MAINTAINER_MODE_TRUE@UpdateCheck: @MAINTAINER_MODE_TRUE@ @cvs -Qn tag -Fc DummyTag >/dev/null @MAINTAINER_MODE_TRUE@changelog: @MAINTAINER_MODE_TRUE@ @cvs -Q log -r@PACKAGE@-@XBAE_CURRENT@_@XBAE_REVISION@_@XBAE_AGE@: | $(srcdir)/parselog >ChangeLog @MAINTAINER_MODE_TRUE@change-release: UpdateCheck changelog @MAINTAINER_MODE_TRUE@ @sed -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=@NEXT_REVISION@/' configure.in >$$ && mv $$ configure.in @MAINTAINER_MODE_TRUE@ @$(MAKE) dist @MAINTAINER_MODE_TRUE@ @cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @XBAE_CURRENT@.@NEXT_REVISION@.@XBAE_AGE@" configure.in ChangeLog @MAINTAINER_MODE_TRUE@ @cvs -Q tag -f @PACKAGE@-@XBAE_CURRENT@_@NEXT_REVISION@_@XBAE_AGE@ @MAINTAINER_MODE_TRUE@interface-add-release: UpdateCheck changelog @MAINTAINER_MODE_TRUE@ @echo @PACKAGE@-@NEXT_CURRENT@.0.@NEXT_AGE@ @MAINTAINER_MODE_TRUE@ @sed -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=0/' -e's/^XBAE_CURRENT=@XBAE_CURRENT@/XBAE_CURRENT=@NEXT_CURRENT@/' -e's/^XBAE_AGE=@XBAE_AGE@/XBAE_AGE=@NEXT_AGE@/' configure.in >$$ && mv $$ configure.in @MAINTAINER_MODE_TRUE@ @$(MAKE) dist @MAINTAINER_MODE_TRUE@ @cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @NEXT_CURRENT@.0.@NEXT_AGE@" configure.in ChangeLog @MAINTAINER_MODE_TRUE@ @cvs -Q tag -f @PACKAGE@-@NEXT_CURRENT@_0_@NEXT_AGE@ @MAINTAINER_MODE_TRUE@interface-remove-release: UpdateCheck changelog @MAINTAINER_MODE_TRUE@ @echo @PACKAGE@-@NEXT_CURRENT@.0.0 @MAINTAINER_MODE_TRUE@ @sed -e's/^XBAE_CURRENT=@XBAE_CURRENT@/XBAE_CURRENT=@NEXT_CURRENT@/' -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=0/' -e's/^XBAE_AGE=@XBAE_AGE@/XBAE_AGE=0/' configure.in >$$ && mv $$ configure.in @MAINTAINER_MODE_TRUE@ @$(MAKE) dist @MAINTAINER_MODE_TRUE@ @cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @NEXT_CURRENT@.0.0" configure.in ChangeLog @MAINTAINER_MODE_TRUE@ @cvs -Q tag -f @PACKAGE@-@NEXT_CURRENT@_0_0 @MAINTAINER_MODE_FALSE@changelog: @MAINTAINER_MODE_FALSE@ @echo "Only available when configured with --enable-maintainer-mode" @MAINTAINER_MODE_FALSE@UpdateCheck: changelog @MAINTAINER_MODE_FALSE@change-release: UpdateCheck changelog @MAINTAINER_MODE_FALSE@interface-add-release: UpdateCheck changelog @MAINTAINER_MODE_FALSE@interface-remove-release: UpdateCheck changelog # One target for each version and an unified one @Have_Exctags_TRUE@ctags: @Have_Exctags_TRUE@ $(CTAGS_CMD) \ @Have_Exctags_TRUE@ include src @Have_Exctags_TRUE@ctags-all: @Have_Exctags_TRUE@ $(CTAGS_CMD) \ @Have_Exctags_TRUE@ include src examples # 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: xbae-4.60.4/NEWS0000644000076400007640000007376510436573062010204 00000000000000# # $Header: /cvsroot/xbae/Xbae/NEWS,v 1.72 2006/05/29 13:25:06 tobiasoed Exp $ # Xbae Release 4.60.4 ------------------- * Restore the pre 4.60.0 behaviour where column/row sizes of 0 are allowed, but avoid editing hidden cells * Honour motif-2 enableThinThickness resource (close bug #1122270) * Allow dynamic row/col resize by clicking in the labels * Changes in the default translations may break apps that install their own. * Other smaller fixes, see ChangeLog for details Xbae Release 4.60.2 ------------------- * Introduced a new boolean resource XmNtextBackgroundIsCell that specifies if the background of the text child defaults to the core background of the matrix or the background of the cell being edited when XmNtextBackground has the value XmUNSPECIFIED_PIXEL. * A handfull of smaller bugfixes, see ChangeLog for details Xbae Release 4.60 ----------------- A small number of big changes, and a large number of smaller changes : * Lots of work involving fonts, XmStrings, RenderTables, .. * The potential for memory leaks in user code due to arcad's per cell change: all 2d tables returned by GetValues are now copies that the user should free. * The changes in traversal: The clip widget doesn't accept focus anymore, it's all done with the text field. The traversalCallback now also gets fired for focus and loosingfocus events with new values for the reason field. The details of the other changes are in the ChangeLog file. Intermediate release 4.51.03 ---------------------------- * Fix a problem with cell widgets: they weren't moved out of the way by a call to XbaeMatrixSetCellWidget(_,_,_,NULL). * Fix an accident in the previous release which caused the TAB to stop working. Now use of the TAB key moves between cells again. * Fix a copy paste bug in the column deletion code * Fix setcell when new value is NULL * Simplify cell color computation * Fix 0 rows/cols bugs in addRows/ColsToTable introduced when that code was simplified and extended * Update the contents of the textChild when the app calls XbaeMatrixRefresh (useful for apps using drawCellCB) * Add XbaeStringFree as an option to the type drawCellCallBack can use. It's the same as XbaeString except that the matrix widget frees the string when it doesn't need it anymore. * Reworked traversal yet again to isolate clipChild from traversal entirely and get rid of the racy timeout. This breaks example/list+list2, but a new list3 works (even with fixed cells, which the other 2 didn't). It also gets unmap to work and allows to traverse over non editable cells/widgets in 'stelth' mode. It gets the 'edit the top row/left column' to work without reintroducing the 'spontaneous matrix rewind bug' that had plagued xbae a while ago. The fix for that bug got lost in the previous traversal work but that fix broke that 'edit top row/left column' feature. Intermediate release 4.51.01 ----------------------------- Yes, we've run out of numbers. * Implement the proposed sorting API change for rows and columns and remove arcad's implementation. Documentation update. * Fix some bugs related to 0 rows/columns. * Make XbaeMatrixSetRow/ColumnLabels work when there were no labels previously. In the case of column labels one can now change the number of lines in a label. * Fixes a few XmLabel issues. * Fixes bugs related to unmanaging the text widget or not when cells are deleted. * If an element of column_max_length is 0 it now means use the width of that column. I had to change the value of BAD_MAXLENGTH used in converters so it wouldn't conflict. * This made me realize that my last change to allow NULL labels conflicts with what the converter uses as array terminator. I changed that to point to a char xbaeBadString. * Reintroduced the checks on array bounds when resources tables are create by a converter. This was lost in the per cell move. * Don't alloc an empty string for NULL labels, instead deal with NULL. * Don't alloc per_cell systematically and fix a bug when it's not there * Clean up add/delete rows/columns from table and remove a bunch of FIXMEs there * Don't dereference function pointers explicitly and some indentation fixes. * Simplified dynamic resizing a bit more. * Cancel/commit edit only when absolutely necessary (when the cell being edit gets deleted, not for a bunch of SetValues cases or when deleting/adding rows/colums or dynamically resizing). Then get 'If no cells are being edited, then the upper left most visible non-fixed cell will be edited.' (from man page) to work. * Set the TextWidget's XmNnaviagtionType to false at creation time. That way a XmProcessTraversal(TextChild(mw), XmTRAVERSE_NEXT_TAB_GROUP); will traverse out of the matrix and not to the clip child. This allows us to kill matrix.traversal and what goes with it including 2 'yuck's and a 'sickening' in someones else's comments. It changes the default translations that are installed when the matrix is in a dialog so that the cancel key cancels the dialog. This should make the grace people happy. It also reworks the editcell method so that when a cell has a widget, it's the widget that gets the focus. If an app installs the correct translations on their user widgets, traversal works for these too. * Fixes in the drawing of the resize indicators, * Fixes problems with shadowTypes arrays that are too small in resourcees * Fixes showColumnArrows issues * Don't modify read only GCs returned by XtGetGC * Utils.c Simplifications Intermediate release 4.50.9901 ------------------------------ * Fix for a crash caused by having no rows or columns. * Fix formatting error in the documentation. * Update the doc and doc/images directories so they have updated documentation. (That's the documentation in HTML format, which is the result of running groff on the documentation sources : src/Xbae*.in .) * Remove a couple of lines of dead code. * Add small example programs under examples/tests to try to figure out the bug reports about 4.50.99 . * Fix XbaeMatrixSetCellWidget - some new code made it crash when the child widget was NULL. * Get cell widgets to take the complete width and height of the cell, also take out some of the margins in the code positioning cell-widgets. * More cleanup by Tobias : - Collapse addRowsToTable into addVarRowsToTable and makes addRows a wrapper for addVarRows. - Get roaming scroll/select to work along the new trackingACT. The scrolling speed is now proportional to the distance the mouse is away from the scrolled region. - Make getCellClip work for labels so redawRow/ColumLabel can use it - Introduce XmNnonfixedDetachedLeft and XmNnonFixedDetachedTop: when there are fixed rows/cols and XmNfill is set these new resources allow the filled space to be drawn between the fixed rows/cols and the non fixed ones. examples/choice lets you try it out. This patch also rearanges the funcions in Utils.c, making 2 of them static. - The attached patch gets rid of the private boolean row_heigths_used and introduces a new resource rowHeightsInPixel, that works the same way columnWidthInPixel does (except default is True). The symetry between rows and columns is getting pretty good! * Bugfix for bug #1063271 - toggle buttons as cell widgets. * Fix a problem reported by Bernd and Markus Schpflin - the definition of the widget ("fixed" recently) was wrong. It was lacking the "extern" keyword. * (From Tobias) Remove a race in the traversal code and put the text_translations on the clip widget as well as the TextWidget. That way they work even when no cell is edited. (So one can traverse out of a matrix that has no editable cells). Now list and list2 don't need to use undocumented stuff and work again. (bug 598708 examples/list/list2) I think Danny's sugestion for Michel's focus troubles should now also work. * Tobias: Traversal of matrices with widgets. The user still has to bind the proper translations on the widgets. Traverse out of the matrix isn't implemented. * Tobias: Made sorting working and sane. Add support for sorting columns. See doc for more info. Intermediate release 4.50.99 ---------------------------- * Changed the configuration file for the build. The auto(conf|make) people changed their API so we changed our build. * The string-to-pixel-table converter had gone missing; fixed. * Several resources were not getting treated in SetValues and GetValues. Some must have been disabled for a while, several others died because moving them into the per-cell structure had the side-effect that they weren't any regular widget resources any more. I'm afraid this was oversight on my behalf during the per-cell conversion. * Changed the functionality of drawCellCallback slightly: we're now initializing the callback structure with the cell contents. If the callback doesn't alter anything, something will still end up getting displayed. * New work from Tobias Oed : - setlabel.patch corrects the buggy logic of XbaeSetRowLabel (and ColumnLabel). - SCROLLBAR_TOP.patch introduces two simple macros to make things a bit more readable - clips.patch redraws the left/right/bottom/top clips in the same way the clipchild is redrawn. IMHO it makes things cleaner and avoids redrawing the partially fixed cells twice in some cases. Also fixes bugs when deleting a row/col makes the matrix scroll. - ClearCell.patch fixes a small bug I introduced in GetCellClip.patch (one of the draw examples crashes). - deadspace-clipmask.patch redraws the dead space similarly to the labels (they are both drawn on the matrix). This makes things cleaner as now everything gets redrawn the way clipped cells are or the way labels are. It also eliminates the need to redraw the last non fixed row/columns to get the dead space to be drawn. It kills calcVertfill/calcHorzfill and removes a bunch of unnecessary - xbaeSetClipMask calls and simplifies that function. It gets the shadow to span the dead space (when there are trailing attached rows/columns) and one of XmGRID_ROW_SHADOW etc are set. It simplifies the way a highlights are drawn and deprecates HighLightOther but these do not span the dead space yet. * Protect against passing gadgets as cell widgets for now, because we don't have the right support for them yet. * More work from Tobias : - refresh.patch adds stuff I missed in GetCellClip.patch that leads to this bug: start choice, add some (trailing)fixed columns, set cell margin heigtht to 10, scroll to the bottom of the matrix and then reduce the margin height. The fixed column don't get updated right. - left_column.patch. Do the same thing with the above patch applied. Everything gets updated correctly now, but the scrolling is somewhat erratic. This patch fixes this by making left_column/top_row 'fake' resources (like cells now is). It relies on the assumption that SetValuesHook gets called after SetValues. If someone has a better X doc than me, let me know if this is safe. - filletc.patch gets the fill(s)/trailing attached to work under all combinations of these options and shadow types according to spec (these are wierd). The approach I started to take in deadspace-clipmask.patch was a hopless nightmare and this is much simpler. It makes the fill part of the cell that preced it. To accomodate this, the size of the clips is changed. It removes the more obscure macros (Sir Silly Macro's) and introduces new ones VISIBLE_FIXED_*_{HEIGHT|WIDTH}. The new version of exaples/add lets you try the stuff out. - renamemacro.patch does the renaming I suggested. - rowlabelwidth.patch fixes the calculation of the row label width as it included cell_shadow_thickness twice when the labels were buttons. - labelClip.patch - This patch puts the scrollable parts of labels in their own clips. It adds two clips and two scrollMgrs but on the other hand kills 3 gcs and the matrix scrollMgr. Now everything that scrolls is treated the same way and we have as many scrollMgrs as clips. Time to put them in the clip. - This patch fixes a few more problems due to the per_cell change of arcad: Set/GetValuesHook were missing some items and SetValuesHook wasn't updating the display. I also changes the semantics of per_cell[][].shadow_type a bit: a value of 0 now means to use the default matrix.cell_shadow_type. Unfortunately there is no XmUNSPECIFIED_SHODOW so this may not work on all motif flaviours. On the other hand, the values currently used come from two different motif enums so it's either already broken or safe.This gets that part of examples/choice to work again. I modified examples/choice to get the Arm option to work again (You can't just fiddle with what GetValues returned for cellBackgrounds and cellShadowTypes and do a redisplay, you need to SetValues what you changed). I also fixed the memory leaks that every other third party app will suffer after a GetValues of these resources. That probably needs to be documented somewhere. - fifteen.patch gets the shadow to follow the empty cell again and fixes some memory leaks (same thing as my latest changes to choice.c, all other examples are OK) - labelClipfix.patch fixes a bug I introduced in labelClip.patch (very apparent when scrollbars are TOP and/or LEFT). I had to remove some XClearArea calls from resize() . I had doubts about them for a while: they were using outdated values. I also decided to have labels clear their 'cell' before redrawing and collapsed drawXmLlabel into drawLabel. - ClearArea breaks relayout out of resize and removes all calls to XClearArea from these functions, adding them to add/delete row/column. This hopefully gets all that working. It also eliminates private header dependence of some examples allowing to remove xbaeClearCell. - CopyPerCell.patch replaces calls to xbaeCopyPerCell by xbaeCreatePerCell where apropriate. After that there is a call to copypercell left in a dead piece of code and another one that is commented out. So I killed the dead code and the whloe xbaeCopyPerCell function. - userWidget.patch: (at least) since the new XbaeMatrixSetUserWidget apeared, user widgets can be treated just like the text widget and xbaeMoveUserWidget is not needed anymore. * Fixes from Michel Bardiaux : - allow build using an older gcc (still the official compiler in Debian) - fix a 'BadWindow' happening with the following sequence: XbaeCreateMatrix XtRealizeWidget(toplevel) create a widget as child of matrix XbaeMatrixSetCellWidget * Another one from Tobias : The first part makes the scroll managers part of the clips, and the second part isolates all the scrolling to the clips widgets. * Change the signature of XbaeMatrixGetCellPixmap so it has a return code. * Implement XbaeMatrixSortRows() as the same function as XbaeMatrixSort(). Maybe the latter should disappear. * Document the new interfaces from Arcad. * Include code for creating a DLL under the Exceed environment. Until we figure out how to auto-detect Exceed, a flag should be passed to configure to enable this. Intermediate release 4.50.97 ---------------------------- * A submission of code by Arcad Systemhaus for : - Added XbaeMatrixSort(Widget, void *proc); - Moved the cell string into the per_cell structure, to be able to sort. - Fixes for multiline text display in cells. - Added XbaeMatrixTrackCellCallback which fires everytime the cursor enters a new cell (something entercell/leavecell do differently). * Modified ("fixed" really) cell width calculation, as requested by Evgeny, to mimic the behaviour described in the Motif documentation. Test release 4.50.93 -------------------- * Lots of bugfixes and code cleanup by Tobias Oed, see ChangeLog. Test release 4.50.91 -------------------- * Lots of bugfixes and code cleanup by Tobias Oed, see ChangeLog. Release 4.50.5 -------------- * Fix for XmNautoFill in XbaeInput when the pattern begins with an optional literal, such as [-]d[d][d][d][d] . * Add the new resources introduced in the last months to the example Builder Xcessory integration file in examples/builderXcessory. * Bugfix for a clip window size problem that showed up when resizing the window (e.g. resize examples/traversal/traversal to smaller than the original and then bigger). Bug #702560. * Some source code cleanup. * Fixes by James Georgas for colour handling. * Fixes by Van to eliminate slider size warnings (see bugs #823041 and #823037). * Fixes by David Traill for both resize and scrollbar warnings. * Add XmNXmColumnLabel resource to handle XmString as column labels. * Fix a memory problem with row_heights. 4.50.3 was not an official release. It was a test version distributed to parties interested in it. Release 4.50.2 -------------- * A memory (double free) related bugfix. * Two new resources (XmNhorzFill, XmNvertFill) were added to allow for additional fill behaviour. This allows you to specify how the matrix treats highlighting of the last row or column. * The foreground and background resources are no longer being set on cell widgets, as this appears to be strange behaviour. * Bugfix related to incorrect refresh after deleting rows. * Remove some C++ style comments. * Fix some build problems. * Move some stuff in the share/ directory at installation. * Implement the XBAE_PRODUCTION symbol to compile Xbae with or without debugging code. * Improve resizing rows and columns. * Avoid X Errors when setting clip geometry to 0. * Implement showColumnArrows and showRowArrows resources. * Fix incorrect behaviour when rapidly clicking with two different mouse buttons. * Fix nested comments and a missing prototype. * Fix scrollbar warning problem. * Changed the column width measurement. Release 4.50 ------------ This is a stable release, basically equivalent to 4.9.13. Changes in 4.9.13 ----------------- * Fix the GROHTML build problem. * Bugfix : when resizing first of trailing fixed rows, the VSB slider was not updated and a blank area was visible between clip and bottomclip. * Changed useXbaeInput default value to False. Changes in 4.9.11 ----------------- * Sascha Gbel and Greg Shebert are now part of the Xbae development team. * Many bugfixes to the scrolling (smooth scrolling now), and to resizing row heights. * Received code from Sasha Gbel. Changes in 4.9.9 ---------------- * Bug fixes related to redrawing. * Enable dynamic row/column resizes again. * Include images in release files again - this makes for a large package. * Build HTML manual pages from their sources (the HTML is in doc/, but the sources are in src/*.3.in). Changes in 4.9.7 ---------------- * Sascha Gbel contributed substantial improvement to scrolling. * Bugfixes. Changes in 4.9.5 ---------------- * Improved internal debugging support (dmalloc, dbmalloc) * Fix pattern check in XbaeInput * Remove support for Motif <=1.1 * Bugfix by Phil Eccles to position cell widgets correctly when row/column headers are active. Changes in 4.9.1 ---------------- Xbae now stand-alone project on sf.net: http://xbae.sf.net Changes in 4.9.0 ---------------- * Row height and true-color (aka 24-bit color) support are now considered stable and enabled by default. * Internals : try to give all non-static functions an Xbae prefix. * Code contributed by Frank Mair for having bold columns in XbaeMatrix. * Bugfixes. Changes in 4.8.x ---------------- Xbae is now maintained by the LessTif Development Team (see http://www.lesstif.org) A detailed list of changes to the library can be found in the ChangeLog file. Comments, questions, bugs & postcards can be directed to the LessTif mailing list . * Resizable rows * TrueColor support Changes in 4.7.2 ---------------- * CELL_WIDGETS fixes by Linas Vesptas. * CELL_WIDGETS functionality extended with XbaeMatrixGetCellWidget() which you can use to figure out whether a cell already has a widget. * CELL_WIDGETS now enabled by default, and somewhat implemented. Changes in 4.7.1 ---------------- * Maintenance is transferred to the LessTif core team. * Configuration based on automake, autoconf, libtool is added, this is the preferred environment for the current (new) maintainers. Changes in 4.7 ---------------- * Swapped out the XmTextField widget to use the XmText widget to enable multi line rows and the like - thanks to Mark Gibson (magibso@uswest.com) for his methods in achieving this goal. * Added a patch from Philip Aston (philipa@parallax.co.uk) that reportedly speeds up things by 300% when using pixmaps. Acheivable by specifying the width, height and depth of a pixmap to an XbaeMatrixDrawCellCallbackStruct. * Another patch from Philip provided correct behaviour when setting the XmNsensitive resource on ancestors of the matrix widget. * "Ceklosky" (b1dqza9@is200005.bell-atl.com) reported a memory leak when the widget was destroyed. This came about from highlighted- cells not being freed. * Donato Petrino (dp@rtsffm.com) provided an efficient way of detecting if partially displayed rows were visible * He also supplied a patch that corrected the placement of the text widget if the user first clicked on an editable fixed row. * Scott Harrington (scotth@ibl.bm) figured out that xbaeComputeSize() should not add space for scrollbars if the displayPolicy is set to XmDISPLAY_NONE. He also provided a patch. * Made a small change to a conditional in Matrix.c that prevents an erroneous warning message being displayed. Thanks to Curt Malouin (cmalouin@ford.com) for that one. * Merged two patches from Jay Schmidgall (Jay.Schmidgall@Sungardss.com) one fixed a slight error in the drawing of scrollbar heights/widths while the other fixed some casting problems under Solaris [they must be getting stricter on this ANSI C thing!] * Brian McAllister (brian@hotrats.mit.edu) provided a fix for compilation of Xbae on Dec Alphas * Jay Schmidgall continued work on the widget, providing: o Corrected some bugs with row/column shadow drawing and clearing o Corrected some bugs related to not having row/column labels o Changed the way shadows are drawn to be the correct way, i.e., mine. That is, XmSHADOW_OUT results in an outset shadow. Note: this may have implications for Motif 1.1 compatibility, since type isn't passed along to _XmDrawShadow() (ED: Since 1.1 is no longer supported, this isn't an issue!) o Changed the grid type enumeration to be more explicit o Made the unneeded grid types deprecated, which will result in runtime warning messages o Added grid types XmGRID_ROW_LINE and XmGRID_COLUMN_LINE (this was suprisingly simple :) o Modified the matrix resource declaration to come into line with grid/shadow changes o Modified the choice example program to reflect these changes o Modified the man page to reflect these changes *** NOTE ************************************************************ The new types for gridType are: enum { XmGRID_NONE = 0x00, XmGRID_CELL_LINE = 0x02, XmGRID_CELL_SHADOW = 0x03, XmGRID_ROW_LINE = 0x04, XmGRID_ROW_SHADOW = 0x05, XmGRID_COLUMN_LINE = 0x08, XmGRID_COLUMN_SHADOW = 0x09, /* Deprecated types. Use will cause * a run-time warning to be issued. */ XmGRID_LINE = 0x20, XmGRID_SHADOW_IN = 0x40, XmGRID_SHADOW_OUT = 0x80 }; If any of the bottom three values, a runtime warning will be output. You simply need to tweak the resources in your app to avoid it. ********************************************************************* * Added a patch supplied by Martin Helmling (mh@octogon.de) that correctly manages the insensitive pixmap when creating for multiple screens. Patches were also sent in by Dimitri Castiglioni and Donato Petrino. * Added the doc/XbaeMatrix.man.html file as part of the official release * Jay Schmidgall sent in another patch! This time he: o got irritated by how the matrix did column shadows/lines. In particular, there could be a little gap between the last non-fixed row and the first trailing fixed row, and that gap looked bad because the column shadow just ended there. So, I modified the shadow & highlight code so that gap got filled in. Looks much better now. o Fixed the column resize shadow so it draws all the way to the bottom of the matrix, plus handles the gap like the above. o Added a new resource, XmNtrailingAttachedBottom. (If you can come up with a better name, feel free :). This resource makes the matrix keep the trailing fixed rows on the bottom. It only has effect when XmNfill is true and there are trailing fixed rows. It's probably easier to understand visually. o I put the equivalent AttachedRight in the matrix's resources, but I didn't feel up to doing the code for it :). o Added a bunch of macros. o Added the resource to the man page (yay!) o Mucked around some more with the choice program to add the attachedBottom resource, and let you change the selection mode. I did this mostly because choice is the test bed for changes I make, and I needed to test the highlighting. Also let you do Arm mode, which looks neat in the grid shadow modes. * Philip Aston sent in yet another patch that remedied an array bounds read as reported by Purify. * A segmentation fault occurred if the user pressed when no cells had been defined. Diligently spotted and patch provided by Noel Yap (nyap@garban.com) * Removed an unnecessary reference to XmNeditVerifyCallback in Matrix.h that Noel found as well. * Added fix from Jon Sibala (jon_sibala@hotmail.com) where zero rows was causing a crash in xbaeDrawCell. * David North reported a bug in the charWidth macro on OpenVMS. A cast to unsigned char of the passed character was required. * Marty Leisner (leisner@sdsp.mc.xerox.com) advised that the runtest script required '.' to be in your path. Added an explicit ./ to all commands run from the script * Cleaned up a few potential problems with compilation * Removed the xqCellWidget from the release. The subclassed widget started causing problems when using Motif 2.1 probably due to incompatibilities between the XmText and XmTextField widgets The change may also fix problems reported by the guys back at Bellcore, running under Motif 2.1 * There are some new public functions:- XbaeMatrixSetRowLabel and, funnily enough, XbaeMatrixSetColumnLabel and their Get equivalents are now documented in the man page. * Just as some sort of benchmark, Callum and myself loaded up a historical database comprising of somewhere around 780,000 rows and 3 columns. Using the drawCellCallback, XbaeMatrix handled display of the data as if there were 100 rows. If anyone has tried creating a bigger table, please let me know the results! (That applies to tables created with commercial widgets too) * The building of shared libraries is now the default behaviour in the Imakefile. If anybody has trouble running the demos due to the shared library not being picked up, please let me know so we can work out a fix. * The HTML man page is probably a bit behind as I prefer methods from yesteryear. Updates are always appreciated! * Removed a strdup call and added __EMX__ to the preprocessor directives for not having bcopy. Patch sent in by Evgeny Stambulchik (fnevgeny@plasma-gate.weizmann.ac.il) * Two fixes from Mark Crowther (markc@parallax.co.uk) that better controlled scrolling with the pointer outside the clip and prevented the scrollbar warnings when columns were deleted. * Noel Yap (nyap@garban.com) pointed out a small error in the draw example where the columns for pixmaps was incorrect * Added the XEvent structure to all callbacks * New widget! XbaeInput allows a 'pattern' to be specified to restrict input to certain characters. Read the new man page to find out more. * Added some extra parameters to the XbaeMatrixEnterCellCallbackStruct - namely, position, pattern, auto_fill, convert_case, and overwrite_mode for use with the XbaeInput widget. Also, the params and num_params are passed through to the enterCellCB too. * New resource - XmNcalcCursorPosition that allows the pointer to specify the insert position when clicked on a cell to be edited rather than at the end (default is False so behaviour is unchanged) * Nick Banyard (nbanyard@micromuse.com) provided the ability to allow multibyte characters to be displayed with the addition of an XFontSet. There is a new example program also, named multibyte that *should* display multibyte characters but some work may be needed there. * Mark Hatch (mhatch@ics.com) provided me a free copy of Integrated Computer Solutions (http://www.ics.com) Builder Xcessory for both Solaris and Linux so the integration and compatibility between the two can be maintained. If you're looking for an excellent GUI builder, I'd recommend checking this one out! * Added a matrix creation convenience routine - XbaeCreateMatrix for smoother integration into Builder Xcessory * Added a caption creation convenience routine - XbaeCreateCaption for smoother integration into Builder Xcessory * Added an input creation convenience routine - XbaeCreateInput for smoother integration into Builder Xcessory * Evgeny Stambulchik (fnevgeny@plasma-gate.weizmann.ac.il) supplied the GNU autoconf tools needed to compile the widget via ./configure as so many people feel the urge to do nowadays. However, I have no intention of supporting it so you'd better have a friend who can & will. * Callum Gibson (callum.gibson@aus.deuba.com) wrote a couple of new public functions to refresh entire rows or columns efficiently. They are called XbaeMatrixRefreshRow() and XbaeMatrixRefreshColumn(). * The XbaeMatrixAnyCallbackStruct was created to allow the reason, event, row and column members to be aligned and facilitate the use of one callback struct in multiple callbacks. * Fixed a bug with wrong fg/bg colours when editing a cell with reverse select enabled and using a draw cell callback which set foreground or background. (Everyone does that don't they?) * Added a new action that allows the matrix to be scrolled up and down using the PgUp/PgDn keys when the text field is mapped. It is installed by default. xbae-4.60.4/aclocal.m40000664000076400007640000100226010436577331011331 00000000000000# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 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. # 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. # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 48 AC_PROG_LIBTOOL # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) # ----------------------------------------------------------- # If this macro is not defined by Autoconf, define it here. m4_ifdef([AC_PROVIDE_IFELSE], [], [m4_define([AC_PROVIDE_IFELSE], [m4_ifdef([AC_PROVIDE_$1], [$2], [$3])])]) # AC_PROG_LIBTOOL # --------------- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. AC_PROVIDE_IFELSE([AC_PROG_CXX], [AC_LIBTOOL_CXX], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX ])]) dnl And a similar setup for Fortran 77 support AC_PROVIDE_IFELSE([AC_PROG_F77], [AC_LIBTOOL_F77], [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 ])]) dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [ifdef([AC_PROG_GCJ], [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([A][M_PROG_GCJ], [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([LT_AC_PROG_GCJ], [define([LT_AC_PROG_GCJ], defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) ])])# AC_PROG_LIBTOOL # _AC_PROG_LIBTOOL # ---------------- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) ])# _AC_PROG_LIBTOOL # AC_LIBTOOL_SETUP # ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl AC_LIBTOOL_SYS_MAX_CMD_LEN AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE AC_LIBTOOL_OBJDIR AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] # Same as above, but do not quote variable references. [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" AC_CHECK_TOOL(AR, ar, false) AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(STRIP, strip, :) old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then AC_PATH_MAGIC fi ;; esac AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], enable_win32_dll=yes, enable_win32_dll=no) AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes AC_ARG_WITH([pic], [AC_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= AC_LIBTOOL_LANG_C_CONFIG _LT_AC_TAGCONFIG ])# AC_LIBTOOL_SETUP # _LT_AC_SYS_COMPILER # ------------------- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_AC_SYS_COMPILER # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. AC_DEFUN([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ]) # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. AC_DEFUN([_LT_COMPILER_BOILERPLATE], [ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. AC_DEFUN([_LT_LINKER_BOILERPLATE], [ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_LINKER_BOILERPLATE # _LT_AC_SYS_LIBPATH_AIX # ---------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi],[]) if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ])# _LT_AC_SYS_LIBPATH_AIX # _LT_AC_SHELL_INIT(ARG) # ---------------------- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], [AC_DIVERT_PUSH(NOTICE)]) $1 AC_DIVERT_POP ])# _LT_AC_SHELL_INIT # _LT_AC_PROG_ECHO_BACKSLASH # -------------------------- # Add some code to the start of the generated configure script which # will find an echo command which doesn't interpret backslashes. AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([ # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac echo=${ECHO-echo} if test "X[$]1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X[$]1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL [$]0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL [$]0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "[$]0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi AC_SUBST(ECHO) ])])# _LT_AC_PROG_ECHO_BACKSLASH # _LT_AC_LOCK # ----------- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) LD="${LD-ld} -64" ;; esac ;; esac fi rm -rf conftest* ;; AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], [*-*-cygwin* | *-*-mingw* | *-*-pw32*) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; ]) esac need_locks="$enable_libtool_lock" ])# _LT_AC_LOCK # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED]) AC_CACHE_CHECK([$1], [$2], [$2=no ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $rm conftest* ]) if test x"[$]$2" = xyes; then ifelse([$5], , :, [$5]) else ifelse([$6], , :, [$6]) fi ])# AC_LIBTOOL_COMPILER_OPTION # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ------------------------------------------------------------ # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then ifelse([$4], , :, [$4]) else ifelse([$5], , :, [$5]) fi ])# AC_LIBTOOL_LINKER_OPTION # AC_LIBTOOL_SYS_MAX_CMD_LEN # -------------------------- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi ])# AC_LIBTOOL_SYS_MAX_CMD_LEN # _LT_AC_CHECK_DLFCN # ------------------ AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl ])# _LT_AC_CHECK_DLFCN # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # --------------------------------------------------------------------- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); }] EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_AC_TRY_DLOPEN_SELF # AC_LIBTOOL_DLOPEN_SELF # ---------------------- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi ])# AC_LIBTOOL_DLOPEN_SELF # AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) # --------------------------------- # Check to see if options -c and -o are simultaneously supported by compiler AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* ]) ])# AC_LIBTOOL_PROG_CC_C_O # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) # ----------------------------------------- # Check to see if we can do hard links to lock some files if needed AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl hard_links="nottested" if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS # AC_LIBTOOL_OBJDIR # ----------------- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir ])# AC_LIBTOOL_OBJDIR # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) # ---------------------------------------------- # Check hardcoding attributes. AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_AC_TAGVAR(hardcode_action, $1)= if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existant directories. if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_AC_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_AC_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH # AC_LIBTOOL_SYS_LIB_STRIP # ------------------------ AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi ])# AC_LIBTOOL_SYS_LIB_STRIP # AC_LIBTOOL_SYS_DYNAMIC_LINKER # ----------------------------- # PORTME Fill in your ld.so characteristics AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_MSG_CHECKING([dynamic linker characteristics]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[123]]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # find out which ABI we are using libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" ;; esac fi rm -rf conftest* ;; esac # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER # _LT_AC_TAGCONFIG # ---------------- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_ARG_WITH([tags], [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], [include additional configurations @<:@automatic@:>@])], [tagnames="$withval"]) if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then AC_MSG_WARN([output file `$ofile' does not exist]) fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi fi if test -z "$LTCFLAGS"; then eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in "") ;; *) AC_MSG_ERROR([invalid tag name: $tagname]) ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_LIBTOOL_LANG_CXX_CONFIG else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then AC_LIBTOOL_LANG_F77_CONFIG else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then AC_LIBTOOL_LANG_GCJ_CONFIG else tagname="" fi ;; RC) AC_LIBTOOL_LANG_RC_CONFIG ;; *) AC_MSG_ERROR([Unsupported tag name: $tagname]) ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi fi ])# _LT_AC_TAGCONFIG # AC_LIBTOOL_DLOPEN # ----------------- # enable checks for dlopen support AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_DLOPEN # AC_LIBTOOL_WIN32_DLL # -------------------- # declare package support for building win32 DLLs AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_WIN32_DLL # AC_ENABLE_SHARED([DEFAULT]) # --------------------------- # implement the --enable-shared flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([shared], [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]AC_ENABLE_SHARED_DEFAULT) ])# AC_ENABLE_SHARED # AC_DISABLE_SHARED # ----------------- # set the default shared flag to --disable-shared AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_SHARED(no) ])# AC_DISABLE_SHARED # AC_ENABLE_STATIC([DEFAULT]) # --------------------------- # implement the --enable-static flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([static], [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]AC_ENABLE_STATIC_DEFAULT) ])# AC_ENABLE_STATIC # AC_DISABLE_STATIC # ----------------- # set the default static flag to --disable-static AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_STATIC(no) ])# AC_DISABLE_STATIC # AC_ENABLE_FAST_INSTALL([DEFAULT]) # --------------------------------- # implement the --enable-fast-install flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([fast-install], [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) ])# AC_ENABLE_FAST_INSTALL # AC_DISABLE_FAST_INSTALL # ----------------------- # set the default to --disable-fast-install AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_FAST_INSTALL(no) ])# AC_DISABLE_FAST_INSTALL # AC_LIBTOOL_PICMODE([MODE]) # -------------------------- # implement the --with-pic flag # MODE is either `yes' or `no'. If omitted, it defaults to `both'. AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl pic_mode=ifelse($#,1,$1,default) ])# AC_LIBTOOL_PICMODE # AC_PROG_EGREP # ------------- # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) # AC_PATH_TOOL_PREFIX # ------------------- # find a file program which can recognise shared library AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="ifelse([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi ])# AC_PATH_TOOL_PREFIX # AC_PATH_MAGIC # ------------- # find a file program which can recognise a shared library AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# AC_PATH_MAGIC # AC_PROG_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld], [AC_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no]) AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix3*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux*) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown ])# AC_DEPLIBS_CHECK_METHOD # AC_PROG_NM # ---------- # find the pathname to a BSD-compatible name lister AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi]) NM="$lt_cv_path_NM" ])# AC_PROG_NM # AC_CHECK_LIBM # ------------- # check for math library AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac ])# AC_CHECK_LIBM # AC_LIBLTDL_CONVENIENCE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl convenience library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-convenience to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # it is assumed to be `libltdl'. LIBLTDL will be prefixed with # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' # (note the single quotes!). If your package is not flat and you're not # using automake, define top_builddir and top_srcdir appropriately in # the Makefiles. AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl case $enable_ltdl_convenience in no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; "") enable_ltdl_convenience=yes ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; esac LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_CONVENIENCE # AC_LIBLTDL_INSTALLABLE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl installable library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-install to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # and an installed libltdl is not found, it is assumed to be `libltdl'. # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with # '${top_srcdir}/' (note the single quotes!). If your package is not # flat and you're not using automake, define top_builddir and top_srcdir # appropriately in the Makefiles. # In the future, this macro may have to be called after AC_PROG_LIBTOOL. AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_CHECK_LIB(ltdl, lt_dlinit, [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], [if test x"$enable_ltdl_install" = xno; then AC_MSG_WARN([libltdl not installed, but installation disabled]) else enable_ltdl_install=yes fi ]) if test x"$enable_ltdl_install" = x"yes"; then ac_configure_args="$ac_configure_args --enable-ltdl-install" LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) else ac_configure_args="$ac_configure_args --enable-ltdl-install=no" LIBLTDL="-lltdl" LTDLINCL= fi # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_INSTALLABLE # AC_LIBTOOL_CXX # -------------- # enable support for C++ libraries AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX]) ])# AC_LIBTOOL_CXX # _LT_AC_LANG_CXX # --------------- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) ])# _LT_AC_LANG_CXX # _LT_AC_PROG_CXXCPP # ------------------ AC_DEFUN([_LT_AC_PROG_CXXCPP], [ AC_REQUIRE([AC_PROG_CXX]) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP fi ])# _LT_AC_PROG_CXXCPP # AC_LIBTOOL_F77 # -------------- # enable support for Fortran 77 libraries AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77]) ])# AC_LIBTOOL_F77 # _LT_AC_LANG_F77 # --------------- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) ])# _LT_AC_LANG_F77 # AC_LIBTOOL_GCJ # -------------- # enable support for GCJ libraries AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ]) ])# AC_LIBTOOL_GCJ # _LT_AC_LANG_GCJ # --------------- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) ])# _LT_AC_LANG_GCJ # AC_LIBTOOL_RC # ------------- # enable support for Windows resource files AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) ])# AC_LIBTOOL_RC # AC_LIBTOOL_LANG_C_CONFIG # ------------------------ # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}\n' _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP AC_LIBTOOL_DLOPEN_SELF # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_C_CONFIG # AC_LIBTOOL_LANG_CXX_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++) AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Dependencies to place before and after the object being linked: _LT_AC_TAGVAR(predep_objects, $1)= _LT_AC_TAGVAR(postdep_objects, $1)= _LT_AC_TAGVAR(predeps, $1)= _LT_AC_TAGVAR(postdeps, $1)= _LT_AC_TAGVAR(compiler_lib_search_path, $1)= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration AC_PROG_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_AC_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=yes else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes ; then lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before switch to ELF _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; hpux9*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' ;; *) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix3*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; linux*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC*) # Portland Group C++ compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system # linker. We must also pass each convience library through # to the system linker between allextract/defaultextract. # The C++ compiler will combine linker options so we # cannot just pass the convience library names through # without $wl. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. # So that behaviour is only enabled if SCOABSPATH is set to a # non-empty value in the environment. Most likely only useful for # creating official distributions of packages. # This is a hack until libtool officially supports absolute path # names for shared libraries. _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_AC_TAGVAR(GCC, $1)="$GXX" _LT_AC_TAGVAR(LD, $1)="$LD" AC_LIBTOOL_POSTDEP_PREDEP($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld ])# AC_LIBTOOL_LANG_CXX_CONFIG # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) # ------------------------------------ # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" ifelse([$1], [], [#! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 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 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. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG], [# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_[]_LT_AC_TAGVAR(LD, $1) # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) ifelse([$1],[], [# ### END LIBTOOL CONFIG], [# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ ifelse([$1],[], [ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ]) else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ])# AC_LIBTOOL_CONFIG # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi ])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # --------------------------------- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_NM]) AC_REQUIRE([AC_OBJEXT]) # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32*) symcode='[[ABCDGISTW]]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux*) if test "$host_cpu" = ia64; then symcode='[[ABCDGIRSTW]]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[[]] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) # --------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)= AC_MSG_CHECKING([for $compiler option to produce PIC]) ifelse([$1],[CXX],[ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux*) case $cc_basename in KCC*) # KAI C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; icpc* | ecpc*) # Intel C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC*) # Portland Group C++ compiler. _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd*) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; vxworks*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; newsos6) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; linux*) case $cc_basename in icc* | ecc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" ;; esac # # Check to make sure the static flag actually works. # wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) ]) # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) # ------------------------------------ # See if the linker supports building shared libraries. AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) ifelse([$1],[CXX],[ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw*) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; *) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ],[ runpath_var= _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)= _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_AC_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. _LT_CC_BASENAME([$compiler]) case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac _LT_AC_TAGVAR(ld_shlibs, $1)=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; interix3*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=yes _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=yes else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # see comment about different semantics on the GNU ld section _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; bsdi[[45]]*) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu | dragonfly*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; openbsd*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi ;; os2*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' if test "$GCC" = yes; then wlarc='${wl}' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; *) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_AC_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_AC_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_AC_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_MSG_CHECKING([whether -lc should be explicitly linked in]) $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) _LT_AC_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no else _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) ;; esac fi ;; esac ])# AC_LIBTOOL_PROG_LD_SHLIBS # _LT_AC_FILE_LTDLL_C # ------------------- # Be careful that the start marker always follows a newline. AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include # #undef WIN32_LEAN_AND_MEAN # #include # # #ifndef __CYGWIN__ # # ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # # endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__ # #include # DECLARE_CYGWIN_DLL( DllMain ); # #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { # __hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c ends here */ ])# _LT_AC_FILE_LTDLL_C # _LT_AC_TAGVAR(VARNAME, [TAGNAME]) # --------------------------------- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS) ]) AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no) ]) # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # # LT_AC_PROG_SED # -------------- # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_MSG_RESULT([$SED]) ]) # Copyright (C) 2002, 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. # 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. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 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. # 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` ]) # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 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 4 # This was merged into AC_PROG_CC in Autoconf. AU_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC AC_DIAGNOSE([obsolete], [$0: your code should no longer depend upon `am_cv_prog_cc_stdc', but upon `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when you adjust the code. You can also remove the above call to AC_PROG_CC if you already called it elsewhere.]) am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ]) AU_DEFUN([fp_PROG_CC_STDC]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 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 7 # 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]) AC_SUBST([$1_FALSE]) 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 # 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 8 # 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], 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'. 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 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 case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 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 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; 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. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /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"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 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 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 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 12 # 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.58])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 # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 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 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) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP 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 ]) ]) # 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_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 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. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} 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])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 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 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 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 3 # 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 done .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 # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi 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, 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 4 # 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 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # 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 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. # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 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 3 # _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], [AC_FOREACH([_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 # 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_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # 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 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. # 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="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 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 # _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. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} 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 m4_include([ac_find_motif.m4]) m4_include([acinclude.m4]) xbae-4.60.4/ac_find_motif.m40000664000076400007640000001636010021720752012504 00000000000000dnl dnl $Header: /cvsroot/xbae/Xbae/ac_find_motif.m4,v 1.2 2004/03/04 21:38:50 dannybackx Exp $ dnl dnl AC_FIND_MOTIF : find OSF/Motif or LessTif, and provide variables dnl to easily use them in a Makefile. dnl dnl Adapted from a macro by Andreas Zeller. dnl dnl The variables provided are : dnl link_motif (e.g. -L/usr/lesstif/lib -lXm) dnl include_motif (e.g. -I/usr/lesstif/lib) dnl motif_libraries (e.g. /usr/lesstif/lib) dnl motif_includes (e.g. /usr/lesstif/include) dnl dnl The link_motif and include_motif variables should be fit to put on dnl your application's link line in your Makefile. dnl dnl Oleo CVS Id: motif.m4,v 1.9 1999/04/09 11:46:49 danny dnl LessTif CVS $Id: ac_find_motif.m4,v 1.2 2004/03/04 21:38:50 dannybackx Exp $ dnl AC_DEFUN([AC_FIND_MOTIF], [ AC_REQUIRE([AC_PATH_XTRA]) AC_REQUIRE([AC_FIND_LIBXP]) motif_includes= motif_libraries= dnl AC_ARG_WITH(motif, dnl [ --without-motif do not use Motif widgets]) dnl Treat --without-motif like dnl --without-motif-includes --without-motif-libraries. dnl if test "$with_motif" = "no" dnl then dnl motif_includes=none dnl motif_libraries=none dnl fi AC_ARG_WITH(motif-includes, [ --with-motif-includes=DIR Motif include files are in DIR], motif_includes="$withval") AC_ARG_WITH(motif-libraries, [ --with-motif-libraries=DIR Motif libraries are in DIR], motif_libraries="$withval") AC_MSG_CHECKING(for Motif) # # # Search the include files. # if test "$motif_includes" = ""; then AC_CACHE_VAL(ac_cv_motif_includes, [ ac_motif_save_LIBS="$LIBS" ac_motif_save_INCLUDES="$INCLUDES" ac_motif_save_CPPFLAGS="$CPPFLAGS" ac_motif_save_LDFLAGS="$LDFLAGS" # LIBS="$X_PRE_LIBS -lXm -lXt -lX11 $X_EXTRA_LIBS $LIBS" INCLUDES="$X_CFLAGS $INCLUDES" CPPFLAGS="$X_CFLAGS $CPPFLAGS" LDFLAGS="$X_LIBS $LDFLAGS" # ac_cv_motif_includes="none" AC_TRY_COMPILE([#include ],[int a;], [ # Xm/Xm.h is in the standard search path. ac_cv_motif_includes= ], [ # Xm/Xm.h is not in the standard search path. # Locate it and put its directory in `motif_includes' # # /usr/include/Motif* are used on HP-UX (Motif). # /usr/include/X11* are used on HP-UX (X and Athena). # /usr/dt is used on Solaris (Motif). # /usr/openwin is used on Solaris (X and Athena). # Other directories are just guesses. for dir in "$x_includes" "${prefix}/include" /usr/include /usr/local/include \ /usr/include/Motif2.1 /usr/include/Motif2.0 /usr/include/Motif1.2 \ /usr/include/X11 /usr/include/X11R6 /usr/include/X11R5 \ /usr/X11/include /usr/X11R6/include /usr/X11R5/include \ /usr/dt/include /usr/openwin/include \ /usr/dt/*/include /opt/*/include /usr/include/Motif* \ "${prefix}"/*/include /usr/*/include /usr/local/*/include \ "${prefix}"/include/* /usr/include/* /usr/local/include/*; do if test -f "$dir/Xm/Xm.h"; then ac_cv_motif_includes="$dir" break fi done ]) # LIBS="$ac_motif_save_LIBS" INCLUDES="$ac_motif_save_INCLUDES" CPPFLAGS="$ac_motif_save_CPPFLAGS" LDFLAGS="$ac_motif_save_LDFLAGS" ]) motif_includes="$ac_cv_motif_includes" fi # # # Now for the libraries. # if test "$motif_libraries" = ""; then AC_CACHE_VAL(ac_cv_motif_libraries, [ ac_motif_save_LIBS="$LIBS" ac_motif_save_INCLUDES="$INCLUDES" ac_motif_save_CPPFLAGS="$CPPFLAGS" ac_motif_save_LDFLAGS="$LDFLAGS" # LIBS="$X_PRE_LIBS -lXm -lXt -lX11 $X_EXTRA_LIBS $LIBS" INCLUDES="$X_CFLAGS $INCLUDES" CPPFLAGS="$X_CFLAGS $CPPFLAGS" LDFLAGS="$X_LIBS $LDFLAGS" # ac_cv_motif_libraries="none" AC_TRY_LINK([#include ],[XtToolkitInitialize();], [ # libXm.a is in the standard search path. ac_cv_motif_libraries= ], [ # libXm.a is not in the standard search path. # Locate it and put its directory in `motif_libraries' # # /usr/lib/Motif* are used on HP-UX (Motif). # /usr/lib/X11* are used on HP-UX (X and Athena). # /usr/dt is used on Solaris (Motif). # /usr/lesstif is used on Linux (Lesstif). # /usr/openwin is used on Solaris (X and Athena). # Other directories are just guesses. for dir in "$x_libraries" "${prefix}/lib" /usr/lib /usr/local/lib \ /usr/lib/Motif2.1 /usr/lib/Motif2.0 /usr/lib/Motif1.2 \ /usr/lib/X11 /usr/lib/X11R6 /usr/lib/X11R5 \ /usr/X11/lib /usr/X11R6/lib /usr/X11R5/lib \ /usr/dt/lib /usr/openwin/lib \ /usr/dt/*/lib /opt/*/lib /usr/lib/Motif* \ /usr/lesstif*/lib /usr/lib/Lesstif* \ "${prefix}"/*/lib /usr/*/lib /usr/local/*/lib \ "${prefix}"/lib/* /usr/lib/* /usr/local/lib/*; do if test -d "$dir" && test "`ls $dir/libXm.* 2> /dev/null`" != ""; then ac_cv_motif_libraries="$dir" break fi done ]) # LIBS="$ac_motif_save_LIBS" INCLUDES="$ac_motif_save_INCLUDES" CPPFLAGS="$ac_motif_save_CPPFLAGS" LDFLAGS="$ac_motif_save_LDFLAGS" ]) # motif_libraries="$ac_cv_motif_libraries" fi # # Provide an easier way to link # if test "$motif_includes" = "none" -o "$motif_libraries" = "none"; then with_motif="no" else with_motif="yes" fi AC_FIND_LIBXP if test "$LT_HAVE_XP" = "yes"; then XPLIB="-lXp -lXext" else XPLIB="" fi if test "$with_motif" != "no"; then if test "$motif_libraries" = ""; then link_motif="-lXm $XPLIB" MOTIF_LIBS="-lXm $XPLIB" else link_motif="-L$motif_libraries -lXm $XPLIB" MOTIF_LIBS="-L$motif_libraries -lXm $XPLIB" fi if test "$motif_includes" != ""; then include_motif="-I$motif_includes" MOTIF_CFLAGS="-I$motif_includes" fi AC_DEFINE(HAVE_MOTIF) else with_motif="no" fi # AC_SUBST(link_motif) AC_SUBST(include_motif) AC_SUBST(MOTIF_CFLAGS) AC_SUBST(MOTIF_LIBS) # # # motif_libraries_result="$motif_libraries" motif_includes_result="$motif_includes" test "$motif_libraries_result" = "" && motif_libraries_result="in default path" test "$motif_includes_result" = "" && motif_includes_result="in default path" test "$motif_libraries_result" = "none" && motif_libraries_result="(none)" test "$motif_includes_result" = "none" && motif_includes_result="(none)" AC_MSG_RESULT( [libraries $motif_libraries_result, headers $motif_includes_result]) ])dnl dnl dnl Check for libXp dnl In fact this check ensures that dnl - and dnl - both libXp libXext dnl are in place dnl Note that a simpler check only for the libraries would not dnl be sufficient perhaps. dnl If the test succeeds it defines Have_Libxp within our dnl Makefiles. Perhaps one should immediately add those libs dnl to link commands which include libXm version2.1?! dnl AC_DEFUN([AC_FIND_LIBXP], [AC_REQUIRE([AC_PATH_X]) AC_CACHE_CHECK(whether libXp is available, lt_cv_libxp, [lt_save_CFLAGS="$CFLAGS" lt_save_CPPFLAGS="$CPPFLAGS" lt_save_LIBS="$LIBS" LIBS="$X_LIBS -lXp -lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" CFLAGS="$X_CFLAGS $CFLAGS" CPPFLAGS="$X_CFLAGS $CPPFLAGS" AC_TRY_LINK([ #include #include ],[ int main() { Display *display=NULL; short major_version, minor_version; Status rc; rc=XpQueryVersion(display, &major_version, &minor_version); exit(0); } ], lt_cv_libxp=yes, lt_cv_libxp=no) ]) if test "$lt_cv_libxp" = "yes"; then AC_DEFINE(HAVE_LIB_XP) LT_HAVE_XP="yes" else LT_HAVE_XP="no" fi AM_CONDITIONAL(Have_Libxp, test "$lt_cv_libxp" = "yes") AC_SUBST(LT_HAVE_XP) CFLAGS="$lt_save_CFLAGS" CPPFLAGS="$lt_save_CPPFLAGS" LIBS="$lt_save_LIBS" ]) xbae-4.60.4/README0000664000076400007640000000552007647571620010357 00000000000000This is the Xbae library ------------------------ See http://xbae.sourceforge.net Documentation ------------- Documentation is provided as a set of manpages in the src/ subdirectory. Please read the Xbae-FAQ (in doc/FAQ.html) before contacting the maintainers or mailing list unless you are willing to receive some nasty (or no) replies! You may convert the man pages and print them out with a suitable roff-like program. Using GNUroff (groff) a sample commandline would be groff -t -Tps -man XbaeMatrix.3 >XbaeMatrix.ps The online XbaeMatrix(3) man page suffers from a very large table, spread over a few pages which causes problems with most versions of nroff, groff, etc. If this is the case for you, you will need to use the PostScript version for the resource table. If you can help out in formatting the table so it works in the online manual page, please contact us. What the widgets do: -------------------- XbaeMatrix: XbaeMatrix is a Motif widget which presents an editable array of string data to the user in a scrollable table similar to a spreadsheet. The rows and columns of the Matrix may optionally be labeled. Also, a number of "fixed" and "trailing fixed" rows or columns may be specified - these behave similarly to the labels. While XbaeMatrix looks and acts like a grid oF XmText widgets, it actually contains only one XmText. This means that XbaeMatrix widgets with hundreds or thousands of rows have much less overhead than they would if they used an XmText for each cell. XbaeMatrix has callbacks for doing field validation and customizing traversal. It allows cells to be assigned independent colors. It allows rows, columns and regions of cells to be selected or highlighted. The matrix can be dynamically grown or shrunk by adding and deleting rows and columns at any position. The widget has many resources to allow individual customisation and can be made to look and behave like an extended list widget with added functionality. Pixmaps (both colour xpm and standard bitmaps) can be displayed in individual cells with the callbacks available in the widget. XbaeCaption: XbaeCaption is a simple Motif manager widget used to associate an XmLabel (caption) with it's single child. The label may be either an XmString or Pixmap and can be displayed in any one of twelve positions around the perimeter of the child. XbaeCaption's geometry management technique is to simply "shrink wrap" it's child and display the caption alongside it. By using XbaeCaption with an XmFrame child, groups of related widgets can be labeled similarly to the IBM CUA "Group Box", but with more flexibility. XbaeCaption is also useful for associating labels with individual XmText widgets. XbaeInput XbaeInput is a subclassed from the XmText widget and allows keystrokes to be validated as well as the final string. It is very handy for restricting user input. xbae-4.60.4/Xbae.rules0000664000076400007640000000412007442761026011417 00000000000000#ifndef XCOMM #define XCOMM # #endif XCOMM Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore) XCOMM Copyright(c) 1995-99 Andrew Lister XCOMM Copyright 1999, 2000, 2001, 2002 by the LessTif Developers XCOMM $Id: Xbae.rules,v 1.2 2002/03/10 22:45:42 amai Exp $ XCOMM Additional imake rule for building a demo program which does not need XCOMM to be installed. XCOMM UninstalledSimpleProgramTarget - generate rules for compiling and linking XCOMM programs that only have one C source file. It should only be used in XCOMM Imakefiles that describe a single program. #ifndef UninstalledSimpleProgramTarget #define UninstalledSimpleProgramTarget(program) @@\ OBJS = program.o @@\ SRCS = program.c @@\ PROGRAM = program @@\ @@\ AllTarget(program) @@\ @@\ program: $(OBJS) $(DEPLIBS) @@\ RemoveTargetProgram($@) @@\ $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) @@\ @@\ SaberProgramTarget(program,$(SRCS),$(OBJS),$(LOCAL_LIBRARIES), /**/) @@\ @@\ DependTarget() @@\ LintTarget() @@\ @@\ clean:: @@\ $(RM) $(PROGRAM) XCOMM Clean up after ./configure has strewn all its files about. clean:: $(RM) -r .libs *.la *.lo config.* libtool Make.conf #endif /* UninstalledSimpleProgramTarget */ #if ProjectX > 5 XCOMM SaberProgramTarget - generate rules to make Saber-C read in sources and XCOMM objects. #ifndef SaberProgramTarget #if HasSaberC #define SaberProgramTarget(program,srclist,objlist,locallibs,syslibs) @@\ Concat(saber_,program):: srclist @@\ XCOMM load $(ALLDEFINES) srclist locallibs $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) syslibs @@\ @@\ Concat(osaber_,program):: objlist @@\ XCOMM load $(ALLDEFINES) objlist locallibs $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) syslibs #else #define SaberProgramTarget(program,srclist,objlist,locallibs,syslibs) /**/ #endif #endif #endif xbae-4.60.4/ltmain.sh0000644000076400007640000057753010435532340011315 00000000000000# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 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 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. basename="s,^.*/,,g" # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" # The name of this program: progname=`echo "$progpath" | $SED $basename` modename="$progname" # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 PROGRAM=ltmain.sh PACKAGE=libtool VERSION=1.5.22 TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= duplicate_deps=no preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" ##################################### # Shell function definitions: # This seems to be the best place for them # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $mkdir "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || { $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 exit $EXIT_FAILURE } fi $echo "X$my_tmpdir" | $Xsed } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $echo $win32_libid_type } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case "$@ " in " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit $EXIT_FAILURE # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 exit $EXIT_FAILURE fi } # func_extract_archives gentop oldlib ... func_extract_archives () { my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" my_status="" $show "${rm}r $my_gentop" $run ${rm}r "$my_gentop" $show "$mkdir $my_gentop" $run $mkdir "$my_gentop" my_status=$? if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then exit $my_status fi for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` my_xdir="$my_gentop/$my_xlib" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" $show "$mkdir $my_xdir" $run $mkdir "$my_xdir" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then exit $exit_status fi case $host in *-darwin*) $show "Extracting $my_xabs" # Do not bother doing anything if just a dry run if test -z "$run"; then darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` if test -n "$darwin_arches"; then darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= $show "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we have a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` lipo -create -output "$darwin_file" $darwin_files done # $darwin_filelist ${rm}r unfat-$$ cd "$darwin_orig_dir" else cd "$darwin_orig_dir" func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches fi # $run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # End of Shell function definitions ##################################### # Darwin sucks eval std_shrext=\"$shrext_cmds\" disable_libs=no # Parse our command line options once, thoroughly. while test "$#" -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; tag) tagname="$arg" preserve_args="${preserve_args}=$arg" # Check whether tagname contains only valid characters case $tagname in *[!-_A-Za-z0-9,/]*) $echo "$progname: invalid tag name: $tagname" 1>&2 exit $EXIT_FAILURE ;; esac case $tagname in CC) # Don't test for the "default" C tag, as we know, it's there, but # not specially marked. ;; *) if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then taglist="$taglist $tagname" # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" else $echo "$progname: ignoring unknown tag $tagname" 1>&2 fi ;; esac ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" $echo $echo "Copyright (C) 2005 Free Software Foundation, Inc." $echo "This is free software; see the source for copying conditions. There is NO" $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." exit $? ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath # Now print the configurations for the tags. for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" done exit $? ;; --debug) $echo "$progname: enabling shell trace mode" set -x preserve_args="$preserve_args $arg" ;; --dry-run | -n) run=: ;; --features) $echo "host: $host" if test "$build_libtool_libs" = yes; then $echo "enable shared libraries" else $echo "disable shared libraries" fi if test "$build_old_libs" = yes; then $echo "enable static libraries" else $echo "disable static libraries" fi exit $? ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: preserve_args="$preserve_args $arg" ;; --tag) prevopt="--tag" prev=tag preserve_args="$preserve_args --tag" ;; --tag=*) set tag "$optarg" ${1+"$@"} shift prev=tag preserve_args="$preserve_args --tag" ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi case $disable_libs in no) ;; shared) build_libtool_libs=no build_old_libs=yes ;; static) build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` ;; esac # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) if test -n "$libobj" ; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit $EXIT_FAILURE fi arg_mode=target continue ;; -static | -prefer-pic | -prefer-non-pic) later="$later $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue ;; * ) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, and some SunOS ksh mistreat backslash-escaping # in scan sets (worked around with variable expansion), # and furthermore cannot handle '|' '&' '(' ')' in scan sets # at all, so we specify them separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac base_compile="$base_compile $lastarg" done # for arg case $arg_mode in arg) $echo "$modename: you must specify an argument for -Xcompile" exit $EXIT_FAILURE ;; target) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit $EXIT_FAILURE ;; *) # Get the name of the library object. [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSifmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.ii) xform=ii ;; *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit $EXIT_FAILURE ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` case $qlibobj in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qlibobj="\"$qlibobj\"" ;; esac test "X$libobj" != "X$qlibobj" \ && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir= else xdir=$xdir/ fi lobj=${xdir}$objdir/$objname if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$progpath" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi $echo "$srcfile" > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` case $qsrcfile in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qsrcfile="\"$qsrcfile\"" ;; esac $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then $show "$mv $output_obj $lobj" if $run $mv $output_obj $lobj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the PIC object to the libtool object file. test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the non-PIC object the libtool object file. # Only append if the libtool object file exists. test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built fi build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit $EXIT_FAILURE fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat $save_arg` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi done else $echo "$modename: link input file \`$save_arg' does not exist" exit $EXIT_FAILURE fi arg=$save_arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; shrext) shrext_cmds="$arg" prev= continue ;; darwin_framework|darwin_framework_skip) test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" prev= continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit $EXIT_FAILURE fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework|-arch|-isysroot) case " $CC " in *" ${arg} ${1} "* | *" ${arg} ${1} "*) prev=darwin_framework_skip ;; *) compiler_flags="$compiler_flags $arg" prev=darwin_framework ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" notinst_path="$notinst_path $dir" fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. -model) compile_command="$compile_command $arg" compiler_flags="$compiler_flags $arg" finalize_command="$finalize_command $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -module) module=yes continue ;; # -64, -mips[0-9] enable 64-bit mode on the SGI compiler # -r[0-9][0-9]* specifies the processor on the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler # +DA*, +DD* enable 64-bit mode on the HP compiler # -q* pass through compiler args for the IBM compiler # -m* pass through architecture-specific compiler args for GCC # -m*, -t[45]*, -txscale* pass through architecture-specific # compiler args for GCC # -pg pass through profiling flag for GCC # @file GCC response files -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ -t[45]*|-txscale*|@*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" compiler_flags="$compiler_flags $arg" continue ;; -shrext) prev=shrext continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) # The PATH hackery in wrapper scripts is required on Windows # in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi oldlibs= # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d "$output_objdir"; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then exit $exit_status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac case $host in *cygwin* | *mingw* | *pw32*) # don't eliminate duplications in $postdeps and $predeps duplicate_compiler_generated_deps=yes ;; *) duplicate_compiler_generated_deps=$duplicate_deps ;; esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit $EXIT_FAILURE ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else compiler_flags="$compiler_flags $deplib" fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then library_names= old_library= case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` if eval $echo \"$deplib\" 2>/dev/null \ | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because the file extensions .$libext of this argument makes me believe" $echo "*** that it is just a static archive that I should not used here." else $echo $echo "*** Warning: Linking the shared library $output against the" $echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 exit $EXIT_FAILURE fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit $EXIT_FAILURE fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $absdir" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes ; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi # This is a shared library # Warn about portability, can't link against -module's on # some systems (darwin) if test "$shouldnotlink" = yes && test "$pass" = link ; then $echo if test "$linkmode" = prog; then $echo "*** Warning: Linking the executable $output against the loadable module" else $echo "*** Warning: Linking the shared library $output against the loadable module" fi $echo "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`$echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$extract_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$old_archive_from_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a module then we can not link against # it, someone is ignoring the new warnings I added if /usr/bin/file -L $add 2> /dev/null | $EGREP ": [^:]* bundle" >/dev/null ; then $echo "** Warning, lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $echo $echo "** And there doesn't seem to be a static archive available" $echo "** The link will probably fail, sorry" else add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit $EXIT_FAILURE fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $echo $echo "*** Warning: This system can not link to static lib archive $lib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $echo "*** But as you try to build a module library, libtool will still create " $echo "*** a static module, that should work as long as the dlopening application" $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="$absdir" fi depdepl= case $host in *-*-darwin*) # we do not want to link against static libs, # but need to link against shared eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$path/$depdepl" ; then depdepl="$path/$depdepl" fi # do not add paths which are already there case " $newlib_search_path " in *" $path "*) ;; *) newlib_search_path="$newlib_search_path $path";; esac fi path="" ;; *) path="-L$path" ;; esac ;; -l*) case $host in *-*-darwin*) # Again, we only want to link against shared libraries eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` for tmp in $newlib_search_path ; do if test -f "$tmp/lib$tmp_libs.dylib" ; then eval depdepl="$tmp/lib$tmp_libs.dylib" break fi done path="" ;; *) continue ;; esac ;; *) continue ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac case " $deplibs " in *" $depdepl "*) ;; *) deplibs="$depdepl $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit $EXIT_FAILURE else $echo $echo "*** Warning: Linking the shared library $output against the non-libtool" $echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test "$#" -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$2" number_minor="$3" number_revision="$4" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) current=`expr $number_major + $number_minor - 1` age="$number_minor" revision="$number_minor" ;; esac ;; no) current="$2" revision="$3" age="$4" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac if test "$age" -gt "$current"; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) major=`expr $current - $age + 1` case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$echo "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done if test -n "$removelist"; then $show "${rm}r $removelist" $run ${rm}r $removelist fi fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. for path in $notinst_path; do lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for file magic test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name=`expr $a_deplib : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval $echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for regex pattern test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` done fi if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ | grep . >/dev/null; then $echo if test "X$deplibs_check_method" = "Xnone"; then $echo "*** Warning: inter-library dependencies are not supported in this platform." else $echo "*** Warning: inter-library dependencies are not known to be supported." fi $echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $echo $echo "*** Warning: libtool could not satisfy all declared inter-library" $echo "*** dependencies of module $libname. Therefore, libtool will create" $echo "*** a static module, that should work as long as the dlopening" $echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $echo "*** The inter-library dependencies that have been dropped here will be" $echo "*** automatically added whenever a program is linked with this library" $echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $echo $echo "*** Since this library must not contain undefined symbols," $echo "*** because either the platform does not support them or" $echo "*** it was explicitly requested with -no-undefined," $echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" if len=`expr "X$cmd" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then $show "$cmd" $run eval "$cmd" || exit $? skipped_export=false else # The command line is too long to execute in one step. $show "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $convenience libobjs="$libobjs $func_extract_archives_result" fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise. $echo "creating reloadable object files..." # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output output_la=`$echo "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= delfiles= last_robj= k=1 output=$output_objdir/$output_la-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do eval test_cmds=\"$reload_cmds $objlist $last_robj\" if test "X$objlist" = X || { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; }; then objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext k=`expr $k + 1` output=$output_objdir/$output_la-${k}.$objext objlist=$obj len=1 fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if ${skipped_export-false}; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols libobjs=$output # Append the command to create the export file. eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi # Set up a command to remove the reloadable object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi # Append the command to remove the reloadable object files # to the just-reset $cmds. eval cmds=\"\$cmds~\$rm $delfiles\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then $show "${rm}r $gentop" $run ${rm}r "$gentop" fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit $EXIT_FAILURE fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $run eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors if test "$tagname" = CXX ; then compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" fi ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done compile_deplibs="$new_libs" compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac else $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval '$echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else $echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ " case $host in *cygwin* | *mingw* ) $echo >> "$output_objdir/$dlsyms" "\ /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs */ struct { " ;; * ) $echo >> "$output_objdir/$dlsyms" "\ const struct { " ;; esac $echo >> "$output_objdir/$dlsyms" "\ const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` else compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` fi ;; * ) compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; esac ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit $EXIT_FAILURE ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" exit_status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $exit_status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) output_name=`basename $output` output_path=`dirname $output` cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 cat > $cwrappersource <> $cwrappersource<<"EOF" #include #include #include #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) /* -DDEBUG is fairly common in CFLAGS. */ #undef DEBUG #if defined DEBUGWRAPPER # define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) #else # define DEBUG(format, ...) #endif const char *program_name = NULL; void * xmalloc (size_t num); char * xstrdup (const char *string); const char * base_name (const char *name); char * find_executable(const char *wrapper); int check_executable(const char *path); char * strendzap(char *str, const char *pat); void lt_fatal (const char *message, ...); int main (int argc, char *argv[]) { char **newargz; int i; program_name = (char *) xstrdup (base_name (argv[0])); DEBUG("(main) argv[0] : %s\n",argv[0]); DEBUG("(main) program_name : %s\n",program_name); newargz = XMALLOC(char *, argc+2); EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" newargz[1] = find_executable(argv[0]); if (newargz[1] == NULL) lt_fatal("Couldn't find %s", argv[0]); DEBUG("(main) found exe at : %s\n",newargz[1]); /* we know the script has the same name, without the .exe */ /* so make sure newargz[1] doesn't end in .exe */ strendzap(newargz[1],".exe"); for (i = 1; i < argc; i++) newargz[i+1] = xstrdup(argv[i]); newargz[argc+1] = NULL; for (i=0; i> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" return 127; } void * xmalloc (size_t num) { void * p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL ; } const char * base_name (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha ((unsigned char)name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return base; } int check_executable(const char * path) { struct stat st; DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); if ((!path) || (!*path)) return 0; if ((stat (path, &st) >= 0) && ( /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ #if defined (S_IXOTH) ((st.st_mode & S_IXOTH) == S_IXOTH) || #endif #if defined (S_IXGRP) ((st.st_mode & S_IXGRP) == S_IXGRP) || #endif ((st.st_mode & S_IXUSR) == S_IXUSR)) ) return 1; else return 0; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise */ char * find_executable (const char* wrapper) { int has_slash = 0; const char* p; const char* p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char* concat_name; DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char* path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char* q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR(*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); return NULL; } char * strendzap(char *str, const char *pat) { size_t len, patlen; assert(str != NULL); assert(pat != NULL); len = strlen(str); patlen = strlen(pat); if (patlen <= len) { str += len - patlen; if (strcmp(str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char * mode, const char * message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } EOF # we should really use a build-platform specific compiler # here, but OTOH, the wrappers (shell script and this C one) # are only useful if you want to execute the "real" binary. # Since the "real" binary is built for $host, then this # wrapper might as well be built for $host, too. $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource ;; esac $rm $output trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" $echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit $EXIT_FAILURE fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else $echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $echo >> $output "\ exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit $EXIT_FAILURE fi else # The program doesn't exist. \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 $echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit $EXIT_FAILURE fi fi\ " chmod +x $output fi exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $addlibs oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do $echo "X$obj" | $Xsed -e 's%^.*/%%' done | sort | sort -uc >/dev/null 2>&1); then : else $echo "copying selected object files to avoid basename conflicts..." if test -z "$gentop"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$gentop"; then exit $exit_status fi fi save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase counter=`expr $counter + 1` case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" $run ln "$obj" "$gentop/$newobj" || $run cp "$obj" "$gentop/$newobj" oldobjs="$oldobjs $gentop/$newobj" ;; *) oldobjs="$oldobjs $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" if len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts $echo "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done for obj in $save_oldobjs do oldobjs="$objlist $obj" objlist="$objlist $obj" eval test_cmds=\"$old_archive_cmds\" if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do eval cmd=\"$cmd\" IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit $EXIT_SUCCESS ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test "$#" -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit $EXIT_FAILURE fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit $EXIT_FAILURE fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" cmds=$postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then file=`$echo $file|${SED} 's,.exe$,,'` stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit $EXIT_FAILURE fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir=`func_mktempdir` file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$old_striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. cmds=$old_postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. cmds=$finish_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = : && exit $EXIT_SUCCESS $echo "X----------------------------------------------------------------------" | $Xsed $echo "Libraries have been installed in:" for libdir in $libdirs; do $echo " $libdir" done $echo $echo "If you ever happen to want to link against installed libraries" $echo "in a given directory, LIBDIR, you must either use libtool, and" $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" $echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" $echo " during execution" fi if test -n "$runpath_var"; then $echo " - add LIBDIR to the \`$runpath_var' environment variable" $echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $echo $echo "See any operating system documentation about shared libraries for" $echo "more information, such as the ld(1) and ld.so(8) manual pages." $echo "X----------------------------------------------------------------------" | $Xsed exit $EXIT_SUCCESS ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit $EXIT_FAILURE fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit $EXIT_FAILURE fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables if test "${save_LC_ALL+set}" = set; then LC_ALL="$save_LC_ALL"; export LC_ALL fi if test "${save_LANG+set}" = set; then LANG="$save_LANG"; export LANG fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit $EXIT_SUCCESS fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi rmdirs= origobjdir="$objdir" for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$origobjdir" else objdir="$dir/$origobjdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" case "$mode" in clean) case " $library_names " in # " " in the beginning catches empty $dlname *" $dlname "*) ;; *) rmfiles="$rmfiles $objdir/$dlname" ;; esac test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. cmds=$postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. cmds=$old_postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # Read the .lo file . $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" \ && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" \ && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) file=`$echo $file|${SED} 's,.exe$,,'` noexename=`$echo $name|${SED} 's,.exe$,,'` # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$noexename # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit $EXIT_FAILURE fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --tag=TAG use configuration variables from tag TAG --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE. Report bugs to ." exit $EXIT_SUCCESS ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac $echo $echo "Try \`$modename --help' for more information about other modes." exit $? # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared disable_libs=shared # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static disable_libs=static # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: xbae-4.60.4/Makefile.am0000664000076400007640000000534310300043424011506 00000000000000# # $Header: /cvsroot/xbae/Xbae/Makefile.am,v 1.21 2005/08/15 07:41:08 dannybackx Exp $ # MAINTAINERCLEANFILES=Makefile.in configure libtool config.guess config.sub ltconfig ltmain.sh aclocal.m4 config.h.in install-sh missing mkinstalldirs SUBDIRS = include src examples doc scripts EXTRA_DIST = configure ac_find_xbae.m4 Imakefile Xbae.tmpl Xbae.rules \ CVSMake aclocaldir = @ACLOCALDIR@ if Aclocal aclocal_DATA = ac_find_xbae.m4 endif docdir= $(datadir)/Xbae doc_DATA= NEWS README .PHONY: changelog UpdateCheck if MAINTAINER_MODE UpdateCheck: @cvs -Qn tag -Fc DummyTag >/dev/null changelog: @cvs -Q log -r@PACKAGE@-@XBAE_CURRENT@_@XBAE_REVISION@_@XBAE_AGE@: | $(srcdir)/parselog >ChangeLog change-release: UpdateCheck changelog @sed -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=@NEXT_REVISION@/' configure.in >$$ && mv $$ configure.in @$(MAKE) dist @cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @XBAE_CURRENT@.@NEXT_REVISION@.@XBAE_AGE@" configure.in ChangeLog @cvs -Q tag -f @PACKAGE@-@XBAE_CURRENT@_@NEXT_REVISION@_@XBAE_AGE@ interface-add-release: UpdateCheck changelog @echo @PACKAGE@-@NEXT_CURRENT@.0.@NEXT_AGE@ @sed -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=0/' -e's/^XBAE_CURRENT=@XBAE_CURRENT@/XBAE_CURRENT=@NEXT_CURRENT@/' -e's/^XBAE_AGE=@XBAE_AGE@/XBAE_AGE=@NEXT_AGE@/' configure.in >$$ && mv $$ configure.in @$(MAKE) dist @cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @NEXT_CURRENT@.0.@NEXT_AGE@" configure.in ChangeLog @cvs -Q tag -f @PACKAGE@-@NEXT_CURRENT@_0_@NEXT_AGE@ interface-remove-release: UpdateCheck changelog @echo @PACKAGE@-@NEXT_CURRENT@.0.0 @sed -e's/^XBAE_CURRENT=@XBAE_CURRENT@/XBAE_CURRENT=@NEXT_CURRENT@/' -e's/^XBAE_REVISION=@XBAE_REVISION@/XBAE_REVISION=0/' -e's/^XBAE_AGE=@XBAE_AGE@/XBAE_AGE=0/' configure.in >$$ && mv $$ configure.in @$(MAKE) dist @cvs -Q commit -m "change-release @XBAE_CURRENT@.@XBAE_REVISION@.@XBAE_AGE@ -> @NEXT_CURRENT@.0.0" configure.in ChangeLog @cvs -Q tag -f @PACKAGE@-@NEXT_CURRENT@_0_0 else changelog: @echo "Only available when configured with --enable-maintainer-mode" UpdateCheck: changelog change-release: UpdateCheck changelog interface-add-release: UpdateCheck changelog interface-remove-release: UpdateCheck changelog endif # # Some convenient targets for users of Exuberant ctags # if Have_Exctags # Specify options # - for recursive search # - to prevent to follow symbolic links # - to avoid picking up Makefiles, etc. # (selecting C++ support picks up the .h files, etc.) CTAGS_CMD=ctags -R --links=no --languages=c,c++ # One target for each version and an unified one ctags: $(CTAGS_CMD) \ include src ctags-all: $(CTAGS_CMD) \ include src examples endif xbae-4.60.4/ac_find_xbae.m40000664000076400007640000001276210021720752012307 00000000000000dnl dnl dnl AC_FIND_XBAE : find libXbae, and provide variables dnl to easily use them in a Makefile. dnl dnl Adapted from a macro by Andreas Zeller. dnl dnl The variables provided are : dnl link_xbae (e.g. -L/usr/lesstif/lib -lXm) dnl include_xbae (e.g. -I/usr/lesstif/lib) dnl xbae_libraries (e.g. /usr/lesstif/lib) dnl xbae_includes (e.g. /usr/lesstif/include) dnl dnl The link_xbae and include_xbae variables should be fit to put on dnl your application's link line in your Makefile. dnl AC_DEFUN([AC_FIND_XBAE], [ AC_REQUIRE([AC_FIND_MOTIF]) xbae_includes= xbae_libraries= AC_ARG_WITH(xbae, [ --without-xbae do not use Xbae widgets]) dnl Treat --without-xbae like dnl --without-xbae-includes --without-xbae-libraries. if test "$with_xbae" = "no" then xbae_includes=no xbae_libraries=no fi AC_ARG_WITH(xbae-includes, [ --with-xbae-includes=DIR Xbae include files are in DIR], xbae_includes="$withval") AC_ARG_WITH(xbae-libraries, [ --with-xbae-libraries=DIR Xbae libraries are in DIR], xbae_libraries="$withval") if test "$xbae_includes" = "no" && test "$xbae_libraries" = "no" then with_xbae="no" fi AC_MSG_CHECKING([for Xbae]) if test "$with_xbae" != "no" then # # # Search the include files. # if test "$xbae_includes" = "" then AC_CACHE_VAL(ac_cv_xbae_includes, [ ac_xbae_save_CFLAGS="$CFLAGS" ac_xbae_save_CPPFLAGS="$CPPFLAGS" # CFLAGS="$MOTIF_CFLAGS $X_CFLAGS $CFLAGS" CPPFLAGS="$MOTIF_CFLAGS $X_CFLAGS $CPPFLAGS" # AC_TRY_COMPILE([#include ],[int a;], [ # Xbae/Matrix.h is in the standard search path. ac_cv_xbae_includes= ], [ # Xbae/Matrix.h is not in the standard search path. # Locate it and put its directory in `xbae_includes' # # Other directories are just guesses. for dir in "$x_includes" "${prefix}/include" /usr/include /usr/local/include \ /usr/include/Motif2.0 /usr/include/Motif1.2 /usr/include/Motif1.1 \ /usr/include/X11R6 /usr/include/X11R5 /usr/include/X11R4 \ /usr/dt/include /usr/openwin/include \ /usr/dt/*/include /opt/*/include /usr/include/Xbae* \ "${prefix}"/*/include /usr/*/include /usr/local/*/include \ "${prefix}"/include/* /usr/include/* /usr/local/include/* \ "${HOME}"/include do if test -f "$dir/Xbae/Matrix.h" then ac_cv_xbae_includes="$dir" break fi done ]) # CFLAGS="$ac_xbae_save_CFLAGS" CPPFLAGS="$ac_xbae_save_CPPFLAGS" ]) xbae_includes="$ac_cv_xbae_includes" fi if test -z "$xbae_includes" then xbae_includes_result="default path" XBAE_CFLAGS="" else if test "$xbae_includes" = "no" then xbae_includes_result="told not to use them" XBAE_CFLAGS="" else xbae_includes_result="$xbae_includes" XBAE_CFLAGS="-I$xbae_includes" fi fi # # # Now for the libraries. # if test "$xbae_libraries" = "" then AC_CACHE_VAL(ac_cv_xbae_libraries, [ ac_xbae_save_LIBS="$LIBS" ac_xbae_save_CFLAGS="$CFLAGS" ac_xbae_save_CPPFLAGS="$CPPFLAGS" # LIBS="-lXbae -lm $MOTIF_LIBS $X_LIBS $X_PRE_LIBS -lXt -lX11 $X_EXTRA_LIBS $LIBS" CFLAGS="$XBAE_CFLAGS $MOTIF_CFLAGS $X_CFLAGS $CFLAGS" CPPFLAGS="$XBAE_CFLAGS $MOTIF_CFLAGS $X_CFLAGS $CPPFLAGS" # AC_TRY_LINK([#include ],[Widget w; XbaeMatrixDeselectAll(w);], [ # libXbae.a is in the standard search path. ac_cv_xbae_libraries= ], [ # libXbae.a is not in the standard search path. # Locate it and put its directory in `xbae_libraries' # # Other directories are just guesses. for dir in "$x_libraries" "${prefix}/lib" /usr/lib /usr/local/lib \ /usr/lib/Xbae \ /usr/lib/X11R6 /usr/lib/X11R5 /usr/lib/X11R4 /usr/lib/X11 \ /usr/dt/lib /usr/openwin/lib \ /usr/dt/*/lib /opt/*/lib /usr/lib/Xbae* \ /usr/lesstif*/lib /usr/lib/Lesstif* \ "${prefix}"/*/lib /usr/*/lib /usr/local/*/lib \ "${prefix}"/lib/* /usr/lib/* /usr/local/lib/* \ "${HOME}"/lib do for ext in "sl" "so" "a" "lib"; do if test -d "$dir" && test -f "$dir/libXbae.$ext"; then ac_cv_xbae_libraries="$dir" break 2 fi done done ]) # LIBS="$ac_xbae_save_LIBS" CFLAGS="$ac_xbae_save_CFLAGS" CPPFLAGS="$ac_xbae_save_CPPFLAGS" ]) # xbae_libraries="$ac_cv_xbae_libraries" fi if test -z "$xbae_libraries" then xbae_libraries_result="default path" XBAE_LIBS="-lXbae" else if test "$xbae_libraries" = "no" then xbae_libraries_result="told not to use it" XBAE_LIBS="" else xbae_libraries_result="$xbae_libraries" XBAE_LIBS="-L$xbae_libraries -lXbae" fi fi # # Make sure, whatever we found out, we can link. # ac_xbae_save_LIBS="$LIBS" ac_xbae_save_CFLAGS="$CFLAGS" ac_xbae_save_CPPFLAGS="$CPPFLAGS" # LIBS="$XBAE_LIBS -lm $MOTIF_LIBS $X_LIBS $X_PRE_LIBS -lXt -lX11 $X_EXTRA_LIBS $LIBS" CFLAGS="$XBAE_CFLAGS $MOTIF_CFLAGS $X_CFLAGS $CFLAGS" CPPFLAGS="$XBAE_CFLAGS $MOTIF_CFLAGS $X_CFLAGS $CPPFLAGS" AC_TRY_LINK([#include ],[Widget w; XbaeMatrixDeselectAll(w);], [ # # link passed # AC_DEFINE(HAVE_XBAE) ], [ # # link failed # xbae_libraries_result="test link failed" xbae_includes_result="test link failed" with_xbae="no" XBAE_CFLAGS="" XBAE_LIBS="" ]) dnl AC_TRY_LINK LIBS="$ac_xbae_save_LIBS" CFLAGS="$ac_xbae_save_CFLAGS" CPPFLAGS="$ac_xbae_save_CPPFLAGS" else xbae_libraries_result="told not to use it" xbae_includes_result="told not to use them" XBAE_CFLAGS="" XBAE_LIBS="" fi AC_MSG_RESULT([libraries $xbae_libraries_result, headers $xbae_includes_result]) AC_SUBST(XBAE_CFLAGS) AC_SUBST(XBAE_LIBS) ])dnl AC_DEFN xbae-4.60.4/doc/0000777000076400007640000000000010436577411010316 500000000000000xbae-4.60.4/doc/users.html0000664000076400007640000001143507656252202012265 00000000000000 Users of Xbae Matrix/Table Widget

Quotes from satisfied customers

These are unsolicited comments from Xbae users:

  • I do subcontract work for NASA JSC here in Houston. I have used the widget in an FAO shuttle application (United Space Alliance) and it is in an ISS PPL editor application currently under development (Lockheed Martin). Although my use is primarily as a super XmList widget, I have found it extremely flexible and a valuable addition to our tools at hand; 'course the free part helped some too... :) - Paul Roebuck

  • I've recently downloaded XbaeMatrix version 4.6.2 and am very impressed with it. I used XRT/Table before and, in my opinion, XbaeMatrix offers almost the same set of features and similar performance at a MUCH BETTER PRICE :-) Even though some bells and whistles are missing, XbaeMatrix is a beautiful tool and is a "must have" for any Motif developer. - Marat Grichener

  • This is an excellent table widget available in public domain. Thanks for your hard work - Eric Shiau

  • I was looking for a faster redraw when the data is refreshed. 4.6 looks much faster at than 4.5 - it looks great! - Thomas Palmer

  • the top software guy said "it's the best one out there" - the top software guy

  • I've been using 4.6 for a while and its great - my code still works which must be a testiment to YOUR coding not mine - Adam Kerrison

  • It's always a pleasure to hack into some nicely written code - John Roll

  • I'm replacing our use of XRT with XbaeMatrix in an attempt to improve performance. I've got the new code in and it is working and is much faster - Tim Friest

  • I demo'd a mockup of what I want to do with your widget and they (my "bosses") loved it, especially the speed. It is very easy to use too. - Todd M. Grimm


Screenshots from users of the matrix widget

Warsaw Tram Monitoring System, and its voice communication control application - Robert Trawinski (robert.trawinski@softax.com.pl)

Real time stock market analysis - Donato Petrino (dp@rtsffm.com)

A directory browser / file manager - Dirk Vangestel (gesteld@se.bel.alcatel.be)

Options risk analysis - Andrew Reid (andrew.reid@aus.db.com)

A disk organiser - Alexander Ivanov (avi@eaglesoft.com)

Trading system - (Andrew Lister)

Display of tree-like structure - (Andrew Lister)

Screen for hedging short end bond positions - (Andrew Lister)

A free version of a popular finance program that runs on an infamous operating system. - (Rob Clark)

Yield curve construction - (Andrew Lister)

Option portfolio display - (Andrew Lister)

Total Airspace and Airport Modeller - A product that will sit on the desktops of employees at NASA, Continental, Lockheed Martin, FedEx and many more! - Shane Arnott (sda@preston.net)

A regression test optimisation tool - Tessela employee, Jonathon Tilbury (Jonathan.Tilbury@tessella.co.uk) helped (or did it all himself, I dunno) add the GUI to a powerful analysis library developed by TransEDA

Oleo The old GNU spreadsheet with a "gnew" look on it. (Danny Backx).

Please help this list to grow - send us a your screenshot and a note on what the application does. xbae-4.60.4/doc/coverplus.html0000664000076400007640000000425007530755343013150 00000000000000 CoverPlus

CUSTOMER: TransEDA

PROJECT: CoverPlus User Interface

TransEDA produce code coverage tools for simulators using High Level Definition Languages (HDLs) to simulate silicon designs. These measure the percentage of an HDL model exercised by a testbench during a simulation highlighting the untested parts of the model carrying the biggest risk of defects. This enables you to save time, optimise the simulation and improve the quality of your model.

CoverPlus is a regression test optimisation tool. It allows users to compare the relative coverage of all testcases within a test case suite. This allows users to identify those tests that are critical and those that add less to the test. This allows tests to be run in the right order allowing errors to be found more quickly.

TransEDA have developed a complex and powerful analysis library written in C++. Tessella added a graphical user interface to this to allow users to easily view the results, order the tests and view and analyse the code of the test. Easy of use facilities such as drag and drop, mouse column resizing and user colour selection have beed added.

An example window is shown below:

CoverPlus Screenshot

This GUI was written using C++ and Motif and runs on a variety of Unix platforms (Sun, RS6000, HP). To minimise costs, various shareware packages were used that proved high quality and flexible. Costs were also kept down further by re-using some utility Motif classes from Tessella's other Motif projects.

TransEDA were enhancing their processing classes at the same time as Tessella were developing the GUI. This demanded a close and flexible working relationship to ensure smooth progress. xbae-4.60.4/doc/main.html0000664000076400007640000001375307530755343012062 00000000000000 Xbae Matrix/Table Widget Home Page

XbaeMatrix is a free Motif® table widget (also compatible with the free LessTif) which presents an editable array of string data to the user in a scrollable table similar to a spreadsheet. The rows and columns of the Matrix may optionally be labelled. A number of "fixed" and "trailing fixed" rows or columns may be specified.

While XbaeMatrix looks and acts like a grid of XmTextField widgets, it actually contains only one XmTextField. This means that XbaeMatrix widgets with hundreds or thousands of rows have much less overhead than they would if they used an XmTextField for each cell.
XbaeMatrix has callbacks for doing field validation and customizing traversal. It allows cells to be assigned independent colors. It allows rows, columns and regions of cells to be selected or highlighted. The matrix can be dynamically grown or shrunk by adding and deleting rows and columns at any position.
The widget has many resources to allow individual customisation and can be made to look and behave like an extended list widget with added functionality. Pixmaps (both colour xpm and standard bitmaps) can be displayed in individual cells with the callbacks available in the widget.

The file that is downloaded also contains the XbaeCaption widget which is a simple Motif manager widget that associates a label with a child.

In addition the XbaeInput widget is being distributed, a text input field that provides generic customised data entry and formatting for strings.

All those widgets are compatible with version 1.2 of Motif and above. They won't be supported for versions lower than X11R6 (please...) or any Motif release below 1.2.


Documentation

You can view the man pages converted to HTML for all three widgets:


Screenshots of the demos included with XbaeMatrix

  • add - dynamically adds and deletes rows or columns
  • caption - Demonstrate XbaeCaption Widget
  • choice - change the way the matrix looks on the fly
  • colors - different foregrounds and backgrounds for cells
  • draw - use of the draw cell callback for pixmaps and very large matrices
  • fifteen - a working clone of the old puzzle game
  • input - Demonstrate XbaeInput Widget
  • list - how XbaeMatrix can be used to emulate an enhanced XmList widget
  • matrix - displays variations of the labels
  • multifixed - fixed and trailing fixed rows and columns
  • select-push - what can be achieved with different shadows

Current objectives

Below is a list of things that crossed the mind as possible enhancements. Some of these range from the "doable" to useless to insane. Mentally, and now via this page, I keep a track of what is worth doing and what is not.

  • Smooth vertical scrolling (more...)
  • Cells with more than one line of text (more...)
  • Different fonts in different cells (more...)
  • Spannable cells (more...)


Download Xbae

You can download from the Xbae project page at SourceFORGE.net : http://sourceforge.net/project/showfiles.php?group_id=31337.


CVS

The sources for Xbae are kept in a CVS repository at SourceForge. The according page explains how to access those sources. There's also a browsable version available.


Join the mailing lists

Previously we used the LessTif mailing list for discussing Xbae. Now we make a new mailinglist available at http://sourceforge.net/mail/?group_id=31337. Please subscribe to it if you want to discuss usage and development of Xbae!

If you want to follow development in "real-time" you may want to subscribe to the Xbae-commits list which carries information about all changes applied to our public source repository.


If you have comments or suggestions, send us E-mail at xbae-discuss@lists.sourceforge.net

Latest change to this document : $Date: 2002/08/21 18:24:35 $ xbae-4.60.4/doc/contents.html0000664000076400007640000000255107530755343012765 00000000000000 Contents

Contents

What is it?
Demos
Documentation
FAQ
Download
CVS
Objectives
Quotes
Screenshots
Commercial sites
Mailing lists
Feedback

SourceForge.net Logo xbae-4.60.4/doc/title.html0000664000076400007640000000046207443115655012247 00000000000000 Title

Xbae Matrix Widget

xbae-4.60.4/doc/sites.html0000664000076400007640000000540307745703216012256 00000000000000 Commercial sites using Xbae Matrix/Table Widget

Links to commercial sites that use XbaeMatrix

Eagle Software EAGLE Software provides automated backup solutions and system performance utilities for UNIX and AOS/VS.

GSE Systems GSE Systems designs, develops and delivers business and technology solutions by applying process control, information, simulation, client/server and business software, systems and services to the energy, process and manufacturing industries worldwide.

Tessella Support Services plc Tessella Support Services plc is a software services company specializing in the support of scientific, technical and engineering establishments.

Holometric Technologies GmbH Holometric Technologies offers:

  • Development and services for measurement and digitization of free-form surfaces and CAGD (Computer Aided Geometric Design).
  • Development and technical consultation for the UNIX operating system and X-windows

Keane (former Parallax Group plc).
The company's services include Business Consulting; Application Development and Integration (including high ROI solutions for e-business, customer relationship management and workflow) and Application Development and Management Outsourcing

The Preston Group has developed the most advanced simulation, scheduling, optimisation and visualisation technology for the global aviation industry.

They're the only ones who have given the permission to put a link to their site. If you would like your site to appear on this list, send us some mail.

Other sites using XbaeMatrix

  • ATS Aerospace, Canada
  • Alcatel, Belgium
  • Concord Communications, USA
  • Deutsche Morgan Grenfell, Australia
  • Ford, USA
  • McDonnell Douglas, Kennedy Space Center, USA
  • Merrill Lynch, Tokyo
  • NASA, USA
  • Rover Cars, UK
  • Science Applications International Corp, Alaska USA
  • Shell Oil, USA
  • Silicon Graphics Incorporated, USA
  • Sony Pictures Imageworks, USA
  • Sungard Security Systems, USA
  • Swiss Bank, USA

To name but a few. xbae-4.60.4/doc/Makefile.in0000664000076400007640000004607310436577336012321 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ # # $Header: /cvsroot/xbae/Xbae/doc/Makefile.am,v 1.21 2004/08/19 19:57:39 dannybackx Exp $ # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = doc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = depcomp = am__depfiles_maybe = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive 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 = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(docdir)" docDATA_INSTALL = $(INSTALL_DATA) DATA = $(doc_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ MAINTAINERCLEANFILES = Makefile.in CLEANFILES = $(XBAE_HTML_MANPAGES) EXTRA_DIST = $(DATA) SUBDIRS = images # # Install some information files # # Lets put the informational stuff in a sub directory to avoid # polluting /usr/local for default installs. # docdir = $(datadir)/Xbae doc_DATA = \ contents.html coverplus.html difffonts.html \ index.html main.html morelines.html \ psdriver.html scrolling.html \ sites.html spancells.html title.html users.html \ FAQ.html $(XBAE_HTML_MANPAGES) # # Only do this when in maintainer mode. # # # The distribution contains manual pages in src/*.3.in, # they're processed into src/*.3 by configure, # now we can process them into HTML here. # # Please note that the man2html that we require is *not* the version # in other distributions. A -f option was added for filter mode. # The LessTif distribution has the modified sources. # (http://lesstif.sourceforge.net) # @MAINTAINER_MODE_TRUE@XBAE_HTML_MANPAGES = XbaeMatrix.html XbaeCaption.html XbaeInput.html all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps doc/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-docDATA: $(doc_DATA) @$(NORMAL_INSTALL) test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" @list='$(doc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ done uninstall-docDATA: @$(NORMAL_UNINSTALL) @list='$(doc_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ rm -f "$(DESTDIR)$(docdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(docdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-docDATA install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-docDATA uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-recursive distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-docDATA install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-docDATA \ uninstall-info-am # We don't have those sources, i.e. if our man2html is missing # just try groff instead @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@XbaeMatrix.ps: $(top_builddir)/src/XbaeMatrix.3 @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@ groff -t -man -Tps <$(top_builddir)/src/$? >$@ @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@XbaeInput.ps: $(top_builddir)/src/XbaeInput.3 @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@ groff -t -man -Tps <$(top_builddir)/src/$? >$@ @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@XbaeCaption.ps: $(top_builddir)/src/XbaeCaption.3 @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@ groff -t -man -Tps <$(top_builddir)/src/$? >$@ @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@XbaeMatrix.html: $(top_builddir)/src/XbaeMatrix.3 @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@ groff -P -Dimages -P -Igrohtml-XbaeMatrix -t -man -Thtml <$(top_builddir)/src/$? >$@ @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@XbaeInput.html: $(top_builddir)/src/XbaeInput.3 @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@ groff -P -Dimages -P -Igrohtml-XbaeInput -t -man -Thtml <$(top_builddir)/src/$? >$@ @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@XbaeCaption.html: $(top_builddir)/src/XbaeCaption.3 @LT_BUILD_MAN2HTML_TRUE@@MAINTAINER_MODE_TRUE@ groff -P -Dimages -P -Igrohtml-XbaeCaption -t -man -Thtml <$(top_builddir)/src/$? >$@ @LT_BUILD_MAN2HTML_FALSE@@MAINTAINER_MODE_TRUE@XbaeMatrix.html: $(top_builddir)/src/XbaeMatrix.3 @LT_BUILD_MAN2HTML_FALSE@@MAINTAINER_MODE_TRUE@ man2html -f -w <$(top_builddir)/src/$? >$@ @LT_BUILD_MAN2HTML_FALSE@@MAINTAINER_MODE_TRUE@XbaeInput.html: $(top_builddir)/src/XbaeInput.3 @LT_BUILD_MAN2HTML_FALSE@@MAINTAINER_MODE_TRUE@ man2html -f -w <$(top_builddir)/src/$? >$@ @LT_BUILD_MAN2HTML_FALSE@@MAINTAINER_MODE_TRUE@XbaeCaption.html: $(top_builddir)/src/XbaeCaption.3 @LT_BUILD_MAN2HTML_FALSE@@MAINTAINER_MODE_TRUE@ man2html -f -w <$(top_builddir)/src/$? >$@ # 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: xbae-4.60.4/doc/images/0000777000076400007640000000000010436577411011563 500000000000000xbae-4.60.4/doc/images/grohtml-XbaeMatrix66.png0000664000076400007640000000235510140707073016075 00000000000000PNG  IHDR-%ptRNS["bKGD̿IDATxYۑ8l]]Kl!pC0GEK.0t#-W0^8=AEYH"N:Ztd@oyP Il5B12ےz)II@NY1F w )F)]uȰDm69t9f"Z P./}YZ𣵫 "nfh[rtrBK) 5E$)s{u$+K{yނH-dBaZOQ#S蹶BC#1,' Ũ5E /Dk0̹ $..v,(1 ͤLZp|T-%&#ChѠ檢fu\ URc ӘHRź[Hh4'ZeF5EjohG&pYSmCzK;Ӓ s@&,a1R5bY*V!VjтuaڼTWLF79 ^hR⻑`)/T^T?H/,Zh eZCkg߀2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w|;aއG_)|!VՓȓ|msIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix72.png0000664000076400007640000000270110140707073016065 00000000000000PNG  IHDR>LtRNS["bKGD̿lIDATxq8OOmwC@ ! vp!!P!!y )іC&> ]YL"*'Ao ښ1 ɁDk`šap KEY V^+GlijF5ﲂ[;v iI9Ƃ?)$YD+z7Ҋ Q&@EC̀ZLinT$2"6(0J*DI b(Z-TX:#3H֙,-/͍^`GgFJo6;?|>u=6ӟ^-Z! s3;Ɠv=SWv g˳/ߙu9+IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix65.png0000664000076400007640000000240110140707073016064 00000000000000PNG  IHDR-ltRNS["bKGD̿IDATxYq9}!@!!Uw(VPuop`0!=ß(Kr˯g~@'/`|![@WO$Ykd82EБF($YϢp*h5H@'>ʬzퟝͺ 2LHt`vc k[D,AΈ$ɻgYZO܏s$р=q q*>wHeBR$a$6n*ǡ y 2#0e8G`4}#i+ #(=n䴑ƩR Ewf}%_wPf!d2кkȔڑ,od$ Q8I2*Ehnl9۟Jl5kW2TC~{Mx}8Wf C,5H/'\"x'0Yd.$ȯH;-F5^XiD&@ƼW{ ɺ|,ѢR,9Y9@zWY҆͏SEBjfB&{ bTGfrx?NӛЕ,DY݁[ ՜A_gvmZsZ2?'` ` l͒W2 IH,ʹg]N.WpJ2:_tCVH~o&4M>r[Mw$Rt ?~sX̩I[?}iڥXur.qeuipӘ=Vx[cz_ߔK_l'W_Fݏ/R^/b= x] & gz<)Zjin`B% )$ Zj)Pr K2 ċԧ^>MGҿ~aIIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix29.png0000664000076400007640000000735210140707073016076 00000000000000PNG  IHDR7'tRNS["bKGD̿IDATxAr0օ KP,A7@&=Y2^X깼 lpm*m.`ǽjtJEO.d(cFH x 'E[ٙ %`m"wd(>]XUb+d5A$Yòq sQs )|iC+ 'OR2+OTKT=Hn9\b~?3]I{0vQYPd!!ͮdH "'KM0-Ѐ)QfIhr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s!O4X}&R՝ԽcE`E'ų-y=xYuVS8d~]OM ;wm窀HAt9}Vg/2pF.ݡFC>F\^|B l4ڤ]aes+atH2%(f^EXVv&Q-K2KעCN"1cdr'lVe?C6>RqsNi9ћjcZnr/9;~sq>gcG C,X\δPZjmV%Z9^Mn4n:["$}N҃,jcryvF?{e.IIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix54.png0000664000076400007640000000202010140707073016057 00000000000000PNG  IHDRXtRNS["bKGD̿IDATxWq8l_s! np^&(888*(a%5׮b (4@D!;zu/{zg$Z:#ZƛhT4*LS`/"TܚV`,K۲[ 9e j_"XW @:l9I!<ה -( 2Ga`B+L ̗a_]ug &Ih]dR H%L<>M^ {TCtO -`_y .ֿm) RI90LLX0yd.Th;(#17NL,_BNneNBkӈX R($h)De Q&@E-b#<< > Q#v:LB*\q%1 : ֲD+S7P ӻ+X;'-?T?N8/>O|اN*gkYW'As_'ҍd*mI\aNڮWd/x B bZ%Vm !q!0&' 9~\lWֳj~Ӎ=_QOڳq<~wt$WճB#>w~S.b=˾EɡU]?p<,(zy4ҟS+#>N=;IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix79.png0000664000076400007640000000221110140707074016071 00000000000000PNG  IHDR-OtRNS["bKGD̿4IDATxё6EfRZ`JKR]\]T5*,ݕ-Җ$wFC{<HjzY3MRvֺE} DPǗ H::y>)_rr&4uxԪl7CݘseU79_U\Ug%T׶X֨epX'EΕ71 /f W&nb ^nFN+) ZC,i B5f-S7@`BQ&o{ՠ[0+!HdS[Am^r2eJ6˜IXXz#;5E%TXaVQ5%S[,.'t(ĴD9FuiJWDKv|9YCp'D4".,#\cZ0g1TkUϖg' r2u"݂2FP"LDњV]\205V.3%f1kX0_3 4ʩԠP% ;+TS饾Bu$VȦ4e %\{9O`rFPRrAdJ0h Comp=~UՖC aO441uұ8YlmO`ΟqO1׻tw%iǑ=M,zW|?mǜP o=ԩbe18'[\|8{w`ZqCiKݕܬ>a2,JwΨOnY5ؐ|!(~;c~N杷?7u1?Y;RK'wU*(Z{0CR/ԅXIlU6 nq9Ӈw !ҵ)ޥumTR|Կsq?ItqGgs!Wn`Tr1_QGݷ۟BKۤ}~+]|g;0s6͒5{i'nHINk.:kP8޷ț1ʠ~9a$~E~#E~#g۷"fuIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix45.png0000664000076400007640000000204610140707073016067 00000000000000PNG  IHDR2 )tRNS["bKGD̿IDATxݍ#7k¤0ܳx!t x!Z!|~gV 0S"[d=ԻGϯq^.+JwQb3gI$'iiG /' <+(ɶ-LN3c0@nDpJ}(sC`=ݚS;Z`0?.WCհgT/4 lӛVAU JDɆj-PfͰH# JDl(YQM b,#G*(R 8ӛ5JoX'+]:ӶbuQKS (#Åə;bs 'Xx^7:|#;Z t)u`vRh]nIl/Eki]my룑1GrΉ$8цS C8<9:asYEMyVD2G s 89!u]ж\t45+˳JH5iKך@FhDs \u`62N)4ւ|3,s÷2N[&a]Ԕ{SY `7͍EZ`a`ɰN3գ#*WɚroSEq5 )*QssSo p"VS Rv؍[ӱ޽>PO<_"[5h?IY5 pބ5~/OO{i}. xtN4S5G5j0-Pکq:ͫf==%Y}+k ۑ¦_4/z}r?@ϭƣX J"My4mr?ϭƣ0k5^}<|N˷1I?}Zûݲ~U ı7j];Qqx5MQ3kɷ`#zh{ww:{yaw٧-IZ>M{)LbCߋIENDB`xbae-4.60.4/doc/images/add.jpg0000664000076400007640000007600307267361155012745 00000000000000JFIFGCREATOR: XV Version 3.10 Rev: 12/16/94 Quality = 75, Smoothing = 0 C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222&" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?ټ.|O6OmH߿^1<{?_MѧF%vH֭mVy_, Mkg;vE%si4]ňnۥ kIvֺ ?.!;4k4s u^G'8#կ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ȋBay 4ch[㩝msv'Mn !6Ϊ<.Eq[ɎEP_JF;nĚ0YaENֱY(LqgMr~d+%hC} k0Xar .{`֞Ut,! RG u&:{MNJXa٘:YjqF%pşV Bsfa}d)O48,ˊ$D\FH%AĖU^iH\A1f36X%9W{nC䝗 FS Md{ }J< UVrJ`sCW J(4y]ZƆf~'A^ +ȋ|UMh49AR( / Eh8n?HpG{{=z5=G?ӺR7S ~}oGj8הï6qt k|-"Oqw$qR L<8$] GG8nEnĊ=ٙw=Xgw/ڕ2qs8 E(V G[ BcjpAjJIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix48.png0000664000076400007640000000305710140707073016075 00000000000000PNG  IHDR>StRNS["bKGD̿IDATxZq8}lH p H yvfoP ` d ` ` oH*7E| >-7ykmJR,tFX8F\k$Y.\m9+)z,E݊G"/auIOI8 Xe׆lvK^Om ɺlƊ@ؘ\ $[1ޜ-$V2A65y:d2ڒ82YZ_ڈ@ ?ٞ"XP nlHFz" [ ղ#9 ڱGG")(ZEX2hA. ZׂBdRL ic V|W H,1|4 IYh*jx} y8FGI3+:Lpl@5;EtJ 5xxVSy$Iy4vЩ%papKK"\jyA8xا~\:cD8e9ѼW-Gx|ő0=sߔ]Z sxrpj8%elu0heQ-]dkIZ'IxI#AFKNV-3ɷĔHWO^t%"HD%3[IijD<[$\fqPuEC&Gp#Ʌ# ` pBjGؠ#sh2h@hE O:0J9g2k@E*,jii[rN44^`WfR'by) F?;C-4F^tvql4p8anb齚 liH_hH!P蛿[ywɵՂSWiI:S?֑ԉVQz] c? 3W$)Z27ʭv&0Xfd ›̟[_\? ơQ;=F1TFxYku6d:)HI $\y~'lxn}e|/7IENDB`xbae-4.60.4/doc/images/grohtml-XbaeCaption4.png0000664000076400007640000002577110140707073016145 00000000000000PNG  IHDRX ?tRNS["bKGD̿ IDATx흻0_iT 8M  N&ܕNE_\ .iZhmKR>`Q^ Ke=z}XXXQ 7i-Σ××[=}9|?A猈G%}KsRs>oa3J׻^ս_:w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'u&P_l5Z& ތˍN|snվODJ .$)FXԣ<0JO\C6`ݸVf\"=.~酪àw-旐笏J=_a'8wۄaDJOlc*9lN[aB 2ឧ:d'o9L.蝹2jj߉'ۮLJu;Vs﻽?@~{u)~'$\T#σ=O^@C#8 C>^'mFOwr,ebYq f-&`VbYq f-&`VbYq+yfbVŊYlE̊[L0+n1̚P;N8FCbKKnn^uvpG5\L0kT. *nXtBˊ`82 _'삡q s;J9 f`n:ۗf}iř 8}nSݤfd%`<$Ud`CS {K)3 -RT.ьܭ&mqvWL0kT0'G)Q6Fb>f6*#r'n&1;HV̤Uf#TIEBVbYU-eA k\ nD`:) 6[8=QerKS`z&5*tKiyes}Iuo qLpw1֧$jƱ`HH iUK'lh̸>gYs ﬈OZ48|V݄qMNX5PI0AΉ`v t(h&Z3`̊[~o&`VbYq|x1tIME,/d}IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix26.png0000664000076400007640000000413310140707073016065 00000000000000PNG  IHDR+?X0PLTEwwwUUU333fffDDD"""!tRNS@fbKGDHIDATx]UOfg?4+ؾCӥuR/ M+RF/+.(B}Ţ,U,5T* i{Ә_N-Bke-RK!+{ΝL٬d+ܹsOd~{aG0v#ej[ɪ7<0Di:t$͓[! <_WDApٵ?DxAZFqP4֨CŽl垰Z2k/r%ӶUzHesg]^)|52Aw :%hODEM;V?KuV դ,t~",0,Z(qE8.%Ŷ?ŰhҊLWzQuy`Gdð~Om:Wü0= 41X4)ANE2ǥy!M\zQtB|[A? ~-ԯ&VY~Bl8DgR?zS-<ؙցQꖼxF(85j/K8,(!M!v (]C(h`=m44˾fF]-Ky4D^-GŖS3+N~m)su4a|ʹ4?^;Q)״5_ڏ:cma i‚DY9pF YpUeڏ H8 u4a0&09^m@T#A_i?- Oj47 *e-g'SK1 LADI YLE7Q^^T-s~:yyVf` i³|.)'p ~i#KK@⧇R"n770ڪIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix28.png0000664000076400007640000000355510140707073016076 00000000000000PN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o+XzdX#P>Y[JKA9#DHS}H$Do Y]9RJe?$GƇBk{#K|6|6fhg 7]7̕Kx4~ 'hz1M{1*? 0ɝޞbtʹx*_N`Mv0{FGڎk=0/!0I eHL'Ǟi:6NgO\(b;?mw l G{8:h_w4T!:B4$O4[&Y<34)tx>FLOW sqH Gige`$IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix30.png0000664000076400007640000000434010140707073016060 00000000000000PNG  IHDRpSXOtRNS["bKGD̿IDATxq:&8vUͬnU7 %~|\ANjKS*yKwߵ o Yof/YW[K8/dh[(\8oҾt8jlN*$;%ӵWO{f@{R(rX6,2PyYr #3Fm.vxn76$yJuO/h+O;5e:Z54˨#^.GyN`\qV"xLp2qFO1 q"J!L:#~)gqDq)^V̼H TrDcAdP-fl(q,Oz6zqAS9rUX€X(-vFR;68zD0 7,xмـ<ŝË¢,6кa"2ԉ2v RDtܡy82)^ ?rqdz1}#(^JYD#5jg&gDɰL2u,ͩJON@_TGoЪ-Ê!#x['`yiSTlܠ?S}#~cj_IZsN6pQ߮k~9^}Cd쨵f y^"ݯyMkڜst T NM0"Vu87d4v6>_^, }p[9ﺻwuIo_ؽWrxUD?Hɮ9_h}殺8G^ttTe$l!'KRlSr͌  .\uansCO Ǥ˙K ;ׂu,aޚa6Ӝ%u7<7d'勉W:,']߮"Dp?.A;[[_FEt~Nk"$\ yF6pc껋Q>` hh<{C:~B/sC~CJ Bo;. u`ѠJqhAc6%+ꔛ pK 1[TJ\[~hD+ u7 U~x<6T_Xj<n݇3{_:Wq s\9VgYi"ɃnI[nCl#/8/=IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix77.png0000664000076400007640000000262310140707074016076 00000000000000PNG  IHDR>btRNS["bKGD̿>IDATxqל pC &&>1!pBC!!u#@! ?RԩYU]ECxN-_S=RX-/^J#^]K=9NH4 $tYhSblgDΟ=3ȧ4=M,-=xҨGI5>PRl9+ev,&aJS ` +_HkbW1ZQYS^LALED~RxB,_TJF0Cص}F Rz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09ҁZ%vme iIE_&plk2@Rʓ)\t/ߴo`gf&wdckmfR*!gn z7A<$I(#`Mha=tx0GVeu[":xδFox*q{U# AsC 8ѥAt+$'s%?;k-YC!ng|?d| ҠNH;Dѕ+x\q"kR;Ɛ @\6!@BxWOgHHN)D'4N8 2c@;ޕ%4lĻ}:C{◝YBƉ. +%=.^`'Whw( m)C:-1F6.vА*TGIɤf yhPta m9F@nFCƹ\0 t220# nBR" >p2Pz#yaϑuYW}h.x*cw]GmxeM;1yiء]+x1lNgtχIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix36.png0000664000076400007640000000271110140707073016066 00000000000000PNG  IHDR>AtRNS["bKGD̿tIDATxq8E60!`B9 |U)Q19WUBg(KiOZ{k"d uǓXאqvvthjzG:d)˜*ڹCqAƳԩ!á!}eg`;v 9Ju'T Kz@ Q%э-,)҉? S[*g%C@L<28H+Ր#0VT1k 1UNQ4υgՒ SKɳ*`AXP.FSGYcCLT&1XcY*s%gK`*r&< Ŭ=Bƶ=ǝzF Sv~ y"2H2fOf閺@2R Q+%$cA8b^ rAYqVa7g Ej:%!I7 iI:ʌ$E fzWҊ- QF@YM4):`BGR!J:832jR-.C2&O4VaU qi|@z ;1z,8>[جllJLJO/ 4v]+`ȌtUro_kwȤd't1M`gQ)fD#:@_LCj2f'o⸑E$xh!=gULҿL3rEY9ˮjNl=m{з#J65o{B4$DkF] I*+w\dSȌ - +eVEfǯ#`g4zqAi2}Ї͆7%EoGuur{޿Z[a@hotV:i9O?c7==?=s|YV~ӌ/;la*6afp(aP Luo^@ktA?B!Z_84z2K2 |LvpsG?x~]8u{C9L'÷3%|j5;>ѷ)2(\&{d4PvtTj; e-j 6xM4PC['7u+rF0Wu D`I0Z4'B:2H:,1P@Ǜ~>02fEpC?~Zoкʮʛ=&"h>2;RbEʿ=mǼ%ʿhףּ.TM`IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix24.png0000664000076400007640000000467310140707073016074 00000000000000PNG  IHDRpRtRN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fӧи koNFU.5G𦃏8uX}PB/~=I#XW߭ghT ,,'U?IKl]5/{45$[Z=UOwڌw2nAO?(K]9<旱Vk(M?|}e6W^A?zFIv7[V.j{ٷFOAiYcut)^wn>:%#ttn`pj# ȭG+ArW!޵w"7jN:qx'f3@U%CܼwscѵM0NVs|'z=6?Fg3>?j؟k)qLe â[;7y'rMJć}YWο69/5IENDB`xbae-4.60.4/doc/images/bg.png0000664000076400007640000000032407267361155012602 00000000000000PNG  IHDRVjxgAMA a PLTE&3f$-GP p8tEXtSoftwareXV Version 3.10a Rev: 12/29/94 (PNG patch 1.2).IIDATxc` zP, 5a64',tIME( cIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix102.png0000664000076400007640000000236410142440403016135 00000000000000PNG  IHDR-? tRNS["bKGD̿IDATxq8[W6n!p UwE֮*3pzEq %Z:=j8yOs#m>qiJ`ޓ 灂[KP<3t -s#wI>vGˤD&4`p35ށJ$rh)+]?TIab<`'C'-$:7 )^m^%$~ BNM*,d+=$BVu0xE ف@HWHч`3m%H܃WQs_Ӟ:21[x~8Hw}[H݉%k ༱~|  ֨}|W˰hC$Y&I&Wp7|( Іg,Lل<;R,Ox sY0齝da'}|#Md;3VҸtm{g-Z4@,YtɓЛb~C(H LJ;Cl'%a4;AE쯾ƶ}_3iwK oGN =~tXXAijv2}nՓ^cڮ6ߟuk鯛;y9¿ϼFp^SݔTt;^z;-TKa2(4mIGsYDIF]^SAR}~wT%էvy 4IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix90.png0000664000076400007640000000315710142440403016064 00000000000000PNG  IHDR?tRNS["bKGD̿IDATxqۺO޼J-)~%l t H t P D%bv33Eb{BB_n{{buvy%jk}9P~%IMY߬$E;UV+۫(fj#|7%6^7n] u]@w@zeQ d_c K@.q{I0\솫RQT M =rgNM]vXPFr.AǠ@,KDiȊ(nAdtN\R?]#RJ ,pLb,*a@sK;+ՋͪYUUi*:1hù]CˮY.TAYtmuVvκ 򩹒b33eȍS|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H. ]/F&ۊd6#%T.I,PϻJTN "unGfHlGsp]$?0)7̑4c_:؃%8g,xZZv3fHR haZ1=̑iA7 /N7g{QS maB/d(fHѹVRg%a+ Ŵ=!R9ڜjOȲJVEz̚\&4PSJ7K̑ hTA 7xep`8zwz'rSdt< ^}޴|_weiV>KZIEZ֙~AcCm?9-.*iIENDB`xbae-4.60.4/doc/images/colors.jpg0000664000076400007640000006521507267361155013521 00000000000000JFIFGCREATOR: XV Version 3.10 Rev: 12/16/94 Quality = 75, Smoothing = 0 C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?ټ.|O6OmH߿^1<{?_MѧF%vH֭mVy_, Mkg;vE%si4]ňnۥ kIvֺ ?.!;4k4s u^G'8#կ{Yf p[xp6ɟ*F(Y!.;eAMo"SE15O٨ݟl/gmXMv͟rxܿ|Ѓ4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}u=nH{x&q-ydڈ S3ր2eAMo"SE>-/쮙RYWc-d`pk#~2ڎ<7H7]27t8=J_6(4_Ϳ|M.-p2D"6 O*h൑ue*='_6(4_Ϳ1Хoyg[UGRݶ06`q+^;dfT|M rs2G?)mWƧnݺv\}U埱j>F}ۧeyLLmo^Yg/ hc/Eqj>F}ۧeyLLmo^YƧnݺv\}U埱v2G?)mWƧnݺv\}U埱j>F}ۧe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bae-4.60.4/doc/images/grohtml-XbaeMatrix59.png0000664000076400007640000000252510140707073016076 00000000000000PNG  IHDR.AũtRNS["bKGD̿IDATx6ESC= 67NPT9(0(h4Kv=U*FDJ 7b6"oG+@% e/eb,N%HTZZIގ\^8%$3c6'qOvkw^лuW(} R.zg%Lh%M:sK2Xd]\]"&A>ס%쓼tQ;2 B#woPW֪NrCK5 t5;'Cd'K״:'/oNƠC3:{A[=WDꈦBs$I3+C *GW3jZG[msY9fc͢fCE/R?"Z2◉Z^=*AotPZp.k3"z ZpI(rKc{oYC&53ѵ2;=лЃJ%FcRt^bu9,R<^<txBRIYD'uZg&gDɰL2 0HrjRGS,cRȴj}_BBN ˆWk6J S4HeИsP"1}iӃhuh6u=c=fG)WQ^bpl S B. 3Zdf >#tj~rG%l:}o':'u G8E#v:&Sn[vHnېov[33M:Hv?N,+Q/V%=Ncу\1nkg:e$n7H_WZvMo?$JX[yzDBd17|25ahOV7 ]$de-a}f|-־Z~:L9:k߸Iz :LM  tE#'W_n{}2;IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix84.png0000664000076400007640000000347710140707074016104 00000000000000PNG  IHDROztRNS["bKGD̿IDATx[q#+=x!C@j#@!!џKf˧J%}- ^B ċ׭Cm^>Pk_~ɷ l HESב($Yu6SQKgM`eS$j.d$kǀ!;)]_P$;]hK qyWkdV̭T;ZjJR=NSYRgy$',/PM;޺xѾy,+!%`ѐ2k PS"\:")t*DU P` ? t l,w<PRheFz*%e~zIO#4}O < ^?7c5G<'Wޞg5'B,Eބ<2,zn 7c=jlP)Vj=щUHEaFU))?-EFEŒt_̣ xz YF՞=I.nэذjdOvm^8nZqksP$uCषeNڇ*eB)$Re`K IHSȢ3GttQ;o:eMgoj4Nŷ/|/K{Ů~܊u'lе o?_?# ?x٢{~W?ixQL }cC{븙+vϝO9@\k~7n^h G^~q(j~K( *zdPp];]qV*wcf< <]>uhOLsu[;Q{k 2"(x߭#Y6VYT*&}a8_fp}x _P֪Μ~kI:?i pܛM EZ5Tf<ςB=?nxVZAkp:ӛSh:֞pbEN$B LT@Bmu~{pU_V78Wp~v|/~+vf﹌p8<px{9?݃Yq9Oc"Ih|Ñddݸ%c!2acgG6AITx:2 dGZePCԑl11+mr#pfYPJH`E$*\'"h2‘d--):1Z{ˠu0 MUcTg)iYuɤu\'^G1FMaŞ‘D:CV!rO+^,UׯZ-^ܓ8IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix64.png0000664000076400007640000000260110140707073016065 00000000000000PNG  IHDR- tRNS["bKGD̿,IDATxYq8lmm!`BWmep!!׽!!!!!@R,b{g%( 4jܼ7r@",xWWVq.D-dK(Wsb5$sMd47D1QAیSDZX$*=9QIH&WঊmqR>c-;+~gG3L ~/9S[ާbl_oW46\V{_svƻ7mtyrwxxxړڇ/'brܿOtǧWm,P7mh1bhvܠ#m?ܣAא.[ .'!qunW"JG6$9eBf<cjdG^jk1nF7VBo2h݀X4{VUw  f4$jBs)!WH= .}x}4)KIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix108.png0000664000076400007640000000120410142440546016143 00000000000000PNG  IHDR tRNS["bKGD̿/IDATx͔a6 DgZP J lA)[ Sm t p o}$Cb# 1j,$?Hڣ>S٤m1I hZ6 |Q/yl٤fKG)>1޻ \ 7WKY]rYJ6:v$Ir(tTQ͞M!XTS4Zb$Yfں+ԆCAn 3 |"Is mSǘ(z '4Sm>٫F)o^l8yqƝr+J[%,Kۿ5COe|WIoZ9U#p|c _?)[(wE@XW\>^ύ \9fiC/ҝoƱ)i{Uc5oߙlpMڂ.s$#Nä$I)h*}Wå6mi)Ɵ_1zo|\/_]u~o9(m5mIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix55.png0000664000076400007640000000230610140707073016067 00000000000000PNG  IHDR.[ltRNS["bKGD̿qIDATxm8M 8%h)M t J t T >HZ0l^^}HH\RwA)cRۣ8/YW[:H PmL}pR,Ʌ`U(- (-<Úz%Wq:jnum g!DuN6п.9,3yd@u32Gq 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o&8gm7v5 N5/:Y8k;ň QcuK`g;!@ç  Nssz8@(h{QID㎃7oqm~\ѝR#kq? M{ u2idH G'ip齄#iph w(}`O> {tWG={>~E"j 8,W}\~0c ۥDz֝DtdfGB㈃$Cy"=Aأ!ヲm8nS 5 "=Eu(\1Ĭ 1ě"B葆˚; ĀG )1&@} ؾ#l#8Z=7䝖+@Mw/S0||)#]1 ;D#kXl\3@s# 0ZOO(O3I?x_@ I ׀$k@2ADTK BrMC@QD" D@Ok$ADA"6UAD @QD_ zkD|`Л"⇅{Mu ^8OYCk &AT @QD" D@ *AT @QE RQm_D" D@ *Fvrҗ%OQ쓈AŠ$ID@/ =A*W׀bAв%ViytIME) zIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix73.png0000664000076400007640000000247710140707074016101 00000000000000PNG  IHDR-٘tRNS["bKGD̿IDATxё۸E6^p~!t p0!@!P"BC8Ʀ<޵|X"F_"pIq =)7@WoH/zQR$J 5$9xuҼyI6T^SXVW7tqn,Kۭͼֺ2,]WF_+ޟywg- 'Sznen(Pz^Z,0-K,_I.Wg[+V%; ?1 whkyy%Pwr@ Aץj)HY%$:2'"䂠 &Q9E)°*n;1 2l[(tl"K!Lk2}B~l魠Τ+ \ΗVkDSLYݸVtAYļswVpz)eܼKj9rM9C ٵbT0!Ataa4<`˳Etٜ.rrqۿn(!QG`@tK%zUZAMqݻ.H@m9rcVgr4QoR+izPT :kt;s%TT$J )CR&gLIH&gsUjEK>_0 uUEESUnITו^L篇l=8Fibץ  Sǿ7Ma=p'}${/4?}A};l'qrk%n[¤ ^dYT} vQ`L^[䪎JpNh W\`C8淰BrݚKm=oAךfƌ0#r$i:rFךfj W q?=TsP<8çq<4'XqF8[S|MA;c>= zs0%_ 7A)M1#M {It i0菇q!t}ՎJmBS܇id@W%d}.1?1ovAꉟ8vz2uFIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix27.png0000664000076400007640000001055210140707073016070 00000000000000PNG  IHDR8Z=0PLTEwwwUU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.CHlHjHHߵ wfDfIC6*&'kJH5+R,æ" IrDEъFv򍭔$1%%8=C.x(rģE:h3"ikȹ6YyYi22lLfW#͠KmG "3DvH"C.xx6#<ِēB";$d"f+Djyr$RW%񤸮$h9d/r6$=unbkHڳxI<"Lʏ^>cCOMoZKymOܵh] "S,R_/$L 8+2OnSD6\gRI2ͽ/G}Iخ5GF!> vt"Ս>˃/3;g?E:u|_jktrf:"ݨ6w>\J"̎rNZQHiѲ[ٙÏ|jMWt p4VsS-Z7Z::}R)+kOCdr"K"]Zdr"o"O0u]0DW-*Uo%Ȫ]"07ս`SUY|úӘ<'("LH&@$ dD2;Y 3X;VdOO`Eľ rŌD>|yk"% 4;b~tIME)5qp(IENDB`xbae-4.60.4/doc/images/lesstif.png0000664000076400007640000000564107267361155013672 00000000000000PNG  IHDRy=6gAMA apPLTEPHT@h`X H8` X80h$ld$,XpX p P0H((`8pxhlh@,PL08А ؘx00 8( H h hD@XH pt` 8<00 0(   ((̠ X 0`H ``LX0 (`$x( hX ؠ h@ D@0بD@ ЈLаpH0h` А@8Dd p Ш hhh`4 t ̘0pPhH0P L`L `xhH( x0`$H8l pȌhP ذ p p@, М 8H080xX `@ X 80  Դ0̬T(X$0(h$ p(,8P8 H0 t$( X ШHL$,H  ` xp`8(а xP ((   0ؐ`\`tH $h0p(@8 X\T $`8 PD ,  tl 8x080dT0и Ƞ ظ @08< mG8tEXtSoftwareXV Version 3.10a Rev: 12/29/94 (PNG patch 1.2).IVIDATx홏WSu2!ڸ6lYu1mtZ)!hTҥD,R&N4K~}/`9=;gpy7~ǽ߬qag $kE,k:Uq rZ P MMɧx"-8 xB5'h})q o e'P{<$/=N8 D\д$~/ }nw]&쯷 kN} MEqA&Y.\[oTv"𥐯sȩp.w6t_BɓQ$9ܣq@2E@qA`ѾPa,r9Ӿ$+K؟Z%0-߯WX?bXF.u&;?P%٩a1nk.7#;~VͩɇFʹ'\E )(T5uωuq;8/QG"v|w*&/r/*uM@ޠr͒1؍$" |5H+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;$IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix40.png0000664000076400007640000000252310140707073016062 00000000000000PNG  IHDR>tRNS["bKGD̿IDATxq6ˤ[gW6;jRTX—HIlregc "YR`!A0,c0Xlu%׋rPLVL h(z8\m%[2,Vcn5y:JVbe3^Ɩ(IR$r԰V8\e$ڲfl(!K} zGQm [ -ciI;+pV^ӧ[cqv|o_~&I=]YBYÁs6{>c2tR>_{,=0F* EFy!]F0`7Me! HWAnƊR t+HuGbN-p k_߾|y-;w+!뗞Y)2V׈7 TO~]Uc5}VօPӕ#F4aclڡ޼P(3@M7Mfrf,u*o'(ުOcjGh]Kgcܞx>*7 %UR˞Ҥ>#1 nnT9jGIs\{F+mMCP0lƲJ|_bdC7r.a~|G}ح4volݟv_Mqw۞6 [_C.tY t\+7O@%e'Z t=9.`&urO@Q!>ֱM[l1jܼ^;}ujbS߇Lj dUGDv`R )Ej?< PshNfIENDB`xbae-4.60.4/doc/images/risk.jpg0000664000076400007640000024116607267361155013171 00000000000000JFIFGCREATOR: XV Version 3.10 Rev: 12/16/94 Quality = 75, Smoothing = 0 C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?MST])#f2#JGֳ?/xTx=_.;iv*[OOI.k\aV&Qokk=?KEG%[K&Eq8ؤ>ޟf4w%  qwUNEi-cQ |%;;y@ '4^r#+315/xT_h[V\9rom]IbG\B}i6йWV1PL%K-sqB#ՒêpFth4nI^ s1(%K-aGG%>$G̼^2YZO$KE$c OK-n7ͳf06L{RQWч'7Ii70 ֑$^@ÿ[6=Ooy[JVJ(h>>rݢU2NBOQC wxybCazv7r  ffʝ:ݤ"%| F@0:7$Trlz V$WФ!]C ??zϥ+<ŹY?lC֔]݀T k*tX_k},?'zϥ{4Yn=܀dswc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!|Pc ]֩2[Mx_#~X>uЫöP*zW?׫|/>t2BՓs'C(H~N'$(͏kb[CdR(eCg!ŝܮ6B b5Ia{x5]S%WEL0Wm}}RKqyq(}kGJy/>6x#e}ġc>PzޏP:R7yT5vDIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix21.png0000664000076400007640000000274210140707073016064 00000000000000PNG  IHDRA.tRNS["bKGD̿IDATxq6uhIL {.\\]T4** Jڻ4ٵ0O':?=B'/Q{P _[UYձӼ9#á `8YO!?:AÒC0q٥N] e$Di4,###R{;k: 2E ?&`QHϞЙ.q˩\2ҟNe>p07B2,-]cb|ӿp]s]=Ĩt]\qЫ41OŤLJ.N#238qlbQ.? $+ q1X ! daDe4ρb:rXjzؘ[dȩa)=;616)*Ql,c+ݙnzuOJI:=p\9n՝nm;U;7)zfDXCgKʹ/\%uf:XTOM8En\%u.gWg~3y]kRu)h Wz%\75]%yrBdAzfm"ψu -%[.+MfL"ǾO7lumoWIn!s9 Mkv]k|Rs U`g9|~te8NJOhdIj5}Ջr WWoլm5WR3bm_j[&fal5kaOW[;Z'k 5h5IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix22.png0000664000076400007640000000734410140707073016070 00000000000000PNG  IHDR;0tRNS["bKGD̿IDATx]ݑ=l4! A& ~oLrM@A 166c{[>UR߄EDuzix TcαJ{A$eD I7# 16ҧT PczO2TBUBHs:iH#*M`X{rN23 PuB 'Y,8L2TJi ufeG3Bcpnս1MdZHrթfOHhLU켾½yTmb9ad{:c4`DtF@L$Y`#0 RýFm )@.jsA<Ie 8D\PhǗCr1c*辘m.4P13.>HE&h{$s{~ O 3!=sl׿ slEI B[,,-Hww/2C 2=k !d2IB˴ml2Rѱ J9N>=ks,YaƐ!6H<$ I#C ų6=+JԤ7d@PBm6Ue@SU ,!De֨+(>GCy \+j5@͘&m 26̘ QYaF ̴IxPe $|,~y2}q E],:Wm_²BS9GP K.(Ҝ*¾-~+r韺ooW+xn=[v_c Pxj<$ >kitn~cZ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3Tڢ!Dkl? '~ުЉ~թF(N\\]ypzr .j:d11c_'n~Z_I.bJS ߈LW[Π;c{ܮ) l08Uю?5 I8!;Ky10Z` 95h|8zF0Dy_)&u7rɂ{;)}PdMPן"Uw3$6-J1cT:UnHu3mF`trI]{\,h{I(abX5ږ!'" K IvI6ٚ]y:Q^I/DoUhxͦY@12)_j35oDmާ{l^Toi@z,h$h@~>T@e2 YLL|u mz@S]t62_ʽ,hIH q$GWӆ8j;3JŹ TןƷYςh3nm+F sqvґv/{( ?%l5TK֚ v;S`vdA$AcڱlAJB@(j u ۴nm+O l2q6#]߷UA|ovt)ЎWm{6eGg!FU7'4.~(IENDB`xbae-4.60.4/doc/images/Makefile.in0000664000076400007640000003653510436577336013570 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ # # $Header: /cvsroot/xbae/Xbae/doc/images/Makefile.am,v 1.8 2004/11/04 14:47:31 dannybackx Exp $ # # MAINTAINERCLEANFILES = srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = doc/images DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac_find_motif.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/XbaeConfig.h CONFIG_CLEAN_FILES = depcomp = am__depfiles_maybe = SOURCES = DIST_SOURCES = 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 = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(imagedir)" imageDATA_INSTALL = $(INSTALL_DATA) DATA = $(image_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCALDIR = @ACLOCALDIR@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ Aclocal_FALSE = @Aclocal_FALSE@ Aclocal_TRUE = @Aclocal_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ HaveWcl_FALSE = @HaveWcl_FALSE@ HaveWcl_TRUE = @HaveWcl_TRUE@ HaveXpm_FALSE = @HaveXpm_FALSE@ HaveXpm_TRUE = @HaveXpm_TRUE@ Have_Exctags_FALSE = @Have_Exctags_FALSE@ Have_Exctags_TRUE = @Have_Exctags_TRUE@ Have_Libxp_FALSE = @Have_Libxp_FALSE@ Have_Libxp_TRUE = @Have_Libxp_TRUE@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_BUILD_MAN2HTML_FALSE = @LT_BUILD_MAN2HTML_FALSE@ LT_BUILD_MAN2HTML_TRUE = @LT_BUILD_MAN2HTML_TRUE@ LT_HAVELIBXP = @LT_HAVELIBXP@ LT_HAVE_XP = @LT_HAVE_XP@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAN2HTML = @MAN2HTML@ MOTIF_CFLAGS = @MOTIF_CFLAGS@ MOTIF_LIBS = @MOTIF_LIBS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ THE_DATE = @THE_DATE@ UseEditres_FALSE = @UseEditres_FALSE@ UseEditres_TRUE = @UseEditres_TRUE@ VERSION = @VERSION@ XBAE_AGE = @XBAE_AGE@ XBAE_CURRENT = @XBAE_CURRENT@ XBAE_MAJOR = @XBAE_MAJOR@ XBAE_MINOR = @XBAE_MINOR@ XBAE_PICO = @XBAE_PICO@ XBAE_REVISION = @XBAE_REVISION@ XPLIB = @XPLIB@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ ac_have_ctags = @ac_have_ctags@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ include_motif = @include_motif@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ link_motif = @link_motif@ localstatedir = @localstatedir@ man2html_cmd = @man2html_cmd@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ # # Install some information files # # Lets put the informational stuff in a sub directory to avoid # polluting /usr/local for default installs. # imagedir = $(datadir)/Xbae/images # # Cut the distribution size, don't distribute these in a source # distribution # #image_DATA= \ # LDO.jpg add.jpg bg.png capfloor1.png capfloor3.png cba.png \ # cell.png choice.jpg choice.png colors.jpg constr.png coverplus.png \ # csfb.png cv.png db.png draw.jpg draw.png fifteen.jpg guestbook.png \ # jwlogo-140.png lesstif.png linux.png list.jpg macquarie.png mail.png \ # mailbox.png matrix.jpg multifixed.jpg nclogo-140.png new.png \ # organize.jpg pricing.jpg risk.jpg select-push.jpg taam.png \ # traffic.jpg updated.png visit.png visitmini.png x2tog.png \ # xbasket.png xbill2-2.png xbill3-2.png xbum1-2.png \ # tramtable.jpg voicecontrol.jpg # image_DATA = \ lesstif.png new.png \ bg.png updated.png coverplus.png add.jpg \ caption.png choice.png colors.jpg draw.png fifteen.jpg \ input.png list.jpg matrix.jpg multifixed.jpg select-push.jpg \ mailbox.png bg.png pricing.jpg LDO.jpg risk.jpg \ organize.jpg xbasket.png xbum1-2.png xbill2-2.png capfloor1.png \ capfloor3.png taam.png \ grohtml-XbaeCaption1.png \ grohtml-XbaeCaption2.png \ grohtml-XbaeCaption3.png \ grohtml-XbaeCaption4.png \ grohtml-XbaeCaption5.png \ grohtml-XbaeInput1.png \ grohtml-XbaeInput2.png \ grohtml-XbaeInput3.png \ grohtml-XbaeInput4.png \ grohtml-XbaeInput5.png \ grohtml-XbaeInput6.png \ grohtml-XbaeInput7.png \ grohtml-XbaeInput8.png \ grohtml-XbaeMatrix1.png \ grohtml-XbaeMatrix2.png \ grohtml-XbaeMatrix3.png \ grohtml-XbaeMatrix4.png \ grohtml-XbaeMatrix5.png \ grohtml-XbaeMatrix6.png \ grohtml-XbaeMatrix7.png \ grohtml-XbaeMatrix8.png \ grohtml-XbaeMatrix9.png \ grohtml-XbaeMatrix10.png \ grohtml-XbaeMatrix11.png \ grohtml-XbaeMatrix12.png \ grohtml-XbaeMatrix13.png \ grohtml-XbaeMatrix14.png \ grohtml-XbaeMatrix15.png \ grohtml-XbaeMatrix16.png \ grohtml-XbaeMatrix17.png \ grohtml-XbaeMatrix18.png \ grohtml-XbaeMatrix19.png \ grohtml-XbaeMatrix20.png \ grohtml-XbaeMatrix21.png \ grohtml-XbaeMatrix22.png \ grohtml-XbaeMatrix23.png \ grohtml-XbaeMatrix24.png \ grohtml-XbaeMatrix25.png \ grohtml-XbaeMatrix26.png \ grohtml-XbaeMatrix27.png \ grohtml-XbaeMatrix28.png \ grohtml-XbaeMatrix29.png \ grohtml-XbaeMatrix30.png \ grohtml-XbaeMatrix31.png \ grohtml-XbaeMatrix32.png \ grohtml-XbaeMatrix33.png \ grohtml-XbaeMatrix34.png \ grohtml-XbaeMatrix35.png \ grohtml-XbaeMatrix36.png \ grohtml-XbaeMatrix37.png \ grohtml-XbaeMatrix38.png \ grohtml-XbaeMatrix39.png \ grohtml-XbaeMatrix40.png \ grohtml-XbaeMatrix41.png \ grohtml-XbaeMatrix42.png \ grohtml-XbaeMatrix43.png \ grohtml-XbaeMatrix44.png \ grohtml-XbaeMatrix45.png \ grohtml-XbaeMatrix46.png \ grohtml-XbaeMatrix47.png \ grohtml-XbaeMatrix48.png \ grohtml-XbaeMatrix49.png \ grohtml-XbaeMatrix50.png \ grohtml-XbaeMatrix51.png \ grohtml-XbaeMatrix52.png \ grohtml-XbaeMatrix53.png \ grohtml-XbaeMatrix54.png \ grohtml-XbaeMatrix55.png \ grohtml-XbaeMatrix56.png \ grohtml-XbaeMatrix57.png \ grohtml-XbaeMatrix58.png \ grohtml-XbaeMatrix59.png \ grohtml-XbaeMatrix60.png \ grohtml-XbaeMatrix61.png \ grohtml-XbaeMatrix62.png \ grohtml-XbaeMatrix63.png \ grohtml-XbaeMatrix64.png \ grohtml-XbaeMatrix65.png \ grohtml-XbaeMatrix66.png \ grohtml-XbaeMatrix67.png \ grohtml-XbaeMatrix68.png \ grohtml-XbaeMatrix69.png \ grohtml-XbaeMatrix70.png \ grohtml-XbaeMatrix71.png \ grohtml-XbaeMatrix72.png \ grohtml-XbaeMatrix73.png \ grohtml-XbaeMatrix74.png \ grohtml-XbaeMatrix75.png \ grohtml-XbaeMatrix76.png \ grohtml-XbaeMatrix77.png \ grohtml-XbaeMatrix78.png \ grohtml-XbaeMatrix79.png \ grohtml-XbaeMatrix80.png \ grohtml-XbaeMatrix81.png \ grohtml-XbaeMatrix82.png \ grohtml-XbaeMatrix83.png \ grohtml-XbaeMatrix84.png \ grohtml-XbaeMatrix85.png \ grohtml-XbaeMatrix86.png \ grohtml-XbaeMatrix87.png \ grohtml-XbaeMatrix88.png \ grohtml-XbaeMatrix89.png \ grohtml-XbaeMatrix90.png \ grohtml-XbaeMatrix91.png \ grohtml-XbaeMatrix92.png \ grohtml-XbaeMatrix93.png \ grohtml-XbaeMatrix94.png \ grohtml-XbaeMatrix95.png \ grohtml-XbaeMatrix96.png \ grohtml-XbaeMatrix97.png \ grohtml-XbaeMatrix98.png \ grohtml-XbaeMatrix99.png \ grohtml-XbaeMatrix100.png \ grohtml-XbaeMatrix101.png \ grohtml-XbaeMatrix102.png \ grohtml-XbaeMatrix103.png \ grohtml-XbaeMatrix104.png \ grohtml-XbaeMatrix105.png \ grohtml-XbaeMatrix106.png \ grohtml-XbaeMatrix107.png \ grohtml-XbaeMatrix108.png EXTRA_DIST = $(image_DATA) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps doc/images/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign --ignore-deps doc/images/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-imageDATA: $(image_DATA) @$(NORMAL_INSTALL) test -z "$(imagedir)" || $(mkdir_p) "$(DESTDIR)$(imagedir)" @list='$(image_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(imageDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(imagedir)/$$f'"; \ $(imageDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(imagedir)/$$f"; \ done uninstall-imageDATA: @$(NORMAL_UNINSTALL) @list='$(image_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(imagedir)/$$f'"; \ rm -f "$(DESTDIR)$(imagedir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(imagedir)"; 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-imageDATA install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-imageDATA uninstall-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-imageDATA install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ uninstall uninstall-am uninstall-imageDATA uninstall-info-am # 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: xbae-4.60.4/doc/images/grohtml-XbaeMatrix58.png0000664000076400007640000000272510140707073016077 00000000000000PNG  IHDR>xmtRNS["bKGD̿IDATxqnm8!pCyOpptpt`TmP`>hϨTL5a&%KKZLކ7H9b׋r(f+6w/@6^ǫ*BT77mмkM}-#kMk&s4U&d@kmKkdgOM즛zE'g- T0ECYsŘgk|Ό$i),.ʪ&3TA[ɜtjtkH&l:5ʝ5Fy#>3Zii⢚5Y:, U  ^8u)*y @4͋eh,8Mur_r@$Jy>f2dAA0\6>d)JpNI"xeNCczF ՞CU 灌[47h6ht&[A ,kl IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix82.png0000664000076400007640000000330210140707074016065 00000000000000PNG  IHDROjstRNS["bKGD̿mIDATxZˑ*z1&pM@@gE@26LY T[tF(8 4?~uHus93ĉY7$/f M~Ifus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rPK2 Y[_֟M05iHO8W~'UoIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix69.png0000664000076400007640000000167710140707073016106 00000000000000PNG  IHDR9tRNS["bKGD̿jIDATxq6RZ`JK}\¶@@*eDz}'pq ܕx MgЏtHӅ)I64yU$u)):`mlz+ θk0[N3. 2t5p?P`ϫ3x^nq`=IKb;Z`~d!h r.uXٱ5 iTL)Wj l:$jH AM \0))Y`f7X$rYQh`ưu,B^Ɨd3tjX'\V鎺_dq|JۗܽHÏ*m%>x7FP5pa G nԁ(YlS0X =7X_lvF]]X.=Mu ]^ڏ[(Qg'(aIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix98.png0000664000076400007640000000234210142440403016067 00000000000000PNG  IHDR/ABtRNS["bKGD̿IDATxq868-NppyOp0!`BCj#BB@ǒdOUFw?$ҩ%_ ֦@4d#AC˧ H9gaा \\(va"\`߅uv@zks@7;+1A MWӾY\ ZQrRabQ}cGFC6qC/bvɒrG\ 0Oo@`no*VNF70"o:7lXD$C"fǴ,mn @d"beo@U5U4o\?$bęNJ:nbhvH;̧1tT_hv+Tfh  h &[ JLGGûb7ŷKX)=<`@tA 5}t@T/0vGQijsTFvK/(% @qVi&_襾w|59#IU)ACh+WhIݸ˟%#hM  mC+|rZp8~ Ƴsc4"+[b틹ߕ6oKp~5gq+/>\=aHW=HxvXrl^G-K`QRy+i1Я"tѫaK5Hq" ͦ>U7I$wua>a !0w-Lf%G#,;f)(n^;Iuc6u֦ڷaZ6 52CdPjYo2l %ar-y@ugYoZm*h릏4%-~غ 7-}/!uRggq;%7|x>!Y׍)1Vp{28C%V/VowNz^YYQ9X̧M.5kψyT Nb`2vQ&I: DsS);˪4avao9BoF|&.-(bWA$x 2vaM]؛`*HN}L] c*꛹\O+k֟X~Xx;#;EZIENDB`xbae-4.60.4/doc/images/caption.png0000664000076400007640000002506307444435361013654 00000000000000PNG  IHDRC'PLTEtttUUUk GIhISTFI$? o `N>>lq7W pHYsO%)IDATx흿9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k?QɟlH'ƴ- >O"O ?- #g~ di.r]?`?oq-$BJ',m'ǿi4οuIh?#e3*gI'oKx|VR>#{>?T'1~k~I.^E8\M~F~R!;0~OKdοV1Ź/hOU{K_A/I'OlO&dvs'M'H_~LqFǙoM']ugwşD< IUV'q'!;xl'Oda;}h'ŭ>[IbzcO>2q/QOw\WoY8$Y辪GX̿113rÚ?;Ty*'l׭D',kZ5OJxg{84ܱ$Rq.O!3_$o?)>#>H'p2I/?'E&o͟ %zQE^ߚ?)13rq[y^Il~}'ORq^)?Sq^)(~J+?O)(~J+?O)(~J+?4eIENDB`xbae-4.60.4/doc/images/list.jpg0000664000076400007640000007157407267361155013200 00000000000000JFIFGCREATOR: XV Version 3.10 Rev: 12/16/94 Quality = 75, Smoothing = 0 C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222,Z" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?ټ.|O6OmH߿^1<{?_MѧF%vH֭mVy_, Mkg;vE%si4]ňnۥ kIvֺ ?.!;4k4s u^G'8#կ{Yf p[xp6ɟ*F(Y!.;eAMo"SE15O٨ݟl/gmXMv͟rxܿ|Ѓ4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}ΕIX-M!R<9ܿ34_Ϳ?eAMo"5__\%}:4ke͙ch]׉t]B[kUZXm&1Z@$h?_6(4_Ϳ|. 5&gBE# …Cɝi0!{Yf ·m&|!4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~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Uޯ8~MwrܼkQcLK3rj06hx x><֟sxG3xΙPPi:LXxtp9IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix46.png0000664000076400007640000000254710140707073016076 00000000000000PNG  IHDR>0wtRNS["bKGD̿IDATxq6E3i)- %`K~ [Rl t ` T P ` ' %ٖ 2x (k];չlZH>ki' -hz6#yJrqv4a4ltL6]%G?d@NkɊ.%fI.='Z=j%)*@)jfc鑿\_"e& /d`phA.^^2U 9dq8ɪLqR<_h-U/:źxkfZ~UbIjg؂yNΣh-FA0.1 AԔ!-RMY N"U=DjxPt) ꪿IrkOG%dTZEWVλ(zfctLYVA22ڴ C.ی (ZXmHN Ŭd+ce]@6PlK5B$) 9jXK2\$'ZCMKQ;w_8wHY]as4Mg5ݲvU$dzJ|- lo6Ֆ_($٢)t5 x Yhߤ 4'`ÆrFU%.w2:~ejWMe6AR t}cҪm(<{bs DZkc}yߓx~~!~6SOlxrLE 5}R^ϕ#䭪z)̆it2ggYcޞދ ?u:5$0_9m<7w6]BRxnە/]k? ; gYRwAs' [m~я(VUw/b>/Sonb-ە;(<HF~&V~U?cӧ5ΚçΚ|ߎO[ u[lƧd/OT7hjTnVWeѿ|Hqӷ]d3=72r8Kz]{:xW~oo.,t=b qw'3_4דU|" 4}Aƨxpqv{o4zaFwԣwSV|JTW@@='OX1Ū<[Ŀ1?MIENDB`xbae-4.60.4/doc/images/grohtml-XbaeInput8.png0000664000076400007640000000350610140707073015643 00000000000000PNG  IHDRPӗtRNS["bKGD̿IDATxq8ۛ'LC@ ?:(o )zDJ^U*$v՞QJBٴ8i&\NN +%XI.\IHII)xntkȠDV"NyC5akS>m{7aA1adB,AQi z@A`eA3Өޏk4zE#O7&RY5)$3% ބ@okӘJ {Q],Pk;ZlA1AnӦAQsPYlxXٵgKj{'|h$Iǃ$I殗%5Q|#}^S}^m?]svg tʹ6QDy!R4&CKݮI 7.VntBL 0PlcDR`X۝z)Fn&5 n퓎G!8Iyw>J.cezʇ@l6IV0u9k}p@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ȧ߿ nWӼH#A B Hb`E+yCԼAԼ!j ^ #A B Hb`E0=!6Cw;PJ߳;P?5|U{@^.EtЧKS?ccqW+2඾ϋ>E.C),`;QNc& {KH{aa-@bcSttܭT Չ;v 4bw9ޕqᄉN#ܪ2tMqw +yc04{WL}ȁF8\J 3 A:xٸb:Fګ4\'4%CAnMq72%m xӭz=~={4kgMV:v`]+w N$1"A o ]rwm5R\IENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix91.png0000664000076400007640000000332410142440403016061 00000000000000PNG  IHDR>AtRNS["bKGD̿IDATxq0[[&NӞ0׽!@!P@!!|{ ERl/)͏hy xJx/0J@_Uev_A"HC/ 6#4D@1>Jm`r9=\wCk TrSlxc3+ (6*ZX#UxN-x+ٰpRT[%Npa%O%UMjGlFEҰCZꟼ#XI+Nǯ_v7a_uݓ$mzl*HHs[b=N BT՝JJb=;Ϊ6$/?4|( obMy|]ԫPOftIOq x[ذ"TSsW~?䦧}[;kl`jT'P4ԫMA,N6a 6CR(vkR^f&}\mJ#z{P7 Zs[3zlndMf|56}w*G zW?olݠ~&-ERF+r{%I[ '/=Ǎ^?~w/}{;;<~wo}(YVSJG*=ޙ52rGKz_F^uv PwG% UKp%<}d7e'A[y u 4deB&2-F{{w|+Qդ?*mxU`TG(RJ@|>.7z}ؽcB}ϰގ>/lvOþמE~wwAw^RJ_w'mEh ddxa'|Me!g[/rtXF)P5,"sǠXk}XEh4&WVnR1x[@F6 cc"a Mb)r E0WXtvJxۙسHU#&Ou0ۖ2LvxT8]׫\:eM2crmz::ۏK&v]FU'_UW1U@Y-ߗE|V_QȢIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix41.png0000664000076400007640000000270210140707073016062 00000000000000PNG  IHDR.ytRNS["bKGD̿mIDATxYە(,otL8:~!?9::n33sv,E t0~Xz3:]˼+UJRuE;TT FotG L8Q+**HR#yRG'³҆]8ovZ$#0KcNF_.OB9=Hwe@FFdzDH \ J:#U&@(Y0Nq$#lE`8Ṋbˈ#,DFD؜+=\",|md}_y1B"Nȶ;a ׈_ycGtlG~~s?&22ۇ',8vou4;7K3[XfdcSFl^,B2V2#n,|=Y,$7M'm߇{Mܭ<{v~fW>p+?kx.O-zB<``.+{$rq (" ݕҝgE`E# eC{IjxZvxY|y{X-ؼm6_֛G`k,^7}<X,\.)CaT,}Kd5yJBZ8CHq- eڅ3X,"z-pXd E9d$H'!8zx+["I4*`6+J6D˽['K< z|x*X 2{2(STf+C5g"qC! -|OF,@(}@H BJ;*[hk' /Gl\btޒdss`k,ޝl/x:>PZIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix107.png0000664000076400007640000000120410142440546016142 00000000000000PNG  IHDR tRNS["bKGD̿/IDATx͔a6 DgZP J lA)[ Sm t p o}$Cb# 1j,$?Hڣ>S٤m1I hZ6 |Q/yl٤fKG)>1޻ \ 7WKY]rYJ6:v$Ir(tTQ͞M!XTS4Zb$Yfں+ԆCAn 3 |"Is mSǘ(z '4Sm>٫F)o^l8yqƝr+J[%,Kۿ5COe|WIoZ9U#p|c _?)[(wE@XW\>^ύ \9fiC/ҝoƱ)i{Uc5oߙlpMڂ.s$#Nä$I)h*}Wå6mi)Ɵ_1zo|\/_]u~o9(m5mIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix96.png0000664000076400007640000000323310142440403016065 00000000000000PNG  IHDR>O {tRNS["bKGD̿FIDATx*Ooml4/uprm8·?$K~#==[s\Ƃ˽dWB^I7mCyvj]j/;)8u5}TQUHm^{dd:eoiog]S0]ΦvS<[n2@L mZ;NVLe@X[>SC뀃&ˬ,By@ByE%邁G>pm|K%am3_lrmXv@gd,L%7܂hmN zx3(B.x8&$I>Hj|T5+$˓󇠿Z>5_xj-_Nt3gēT??&v*|I:7I޿cbJu3I+CB̋7z_iTh+VR+_?E{̾!Px'X ȝ >hs;7@h-e#Z 4"*0=${>t]Fkו'Nt:Xn8 Z6:FT>#v}Yy}yחA~_|q$ك-){S]kiQs}!g7uNٻkwż8-R>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]Q GOc4B]hoN>n/K(բgƵ5>Է02|TuUln~I||Tu^EzܬZ|Az]Yգt"O'oGW`j h}4Om}y<O ČyaLvt_bLfS aҿ!X|8y8m\!9j șv"cdcgQnͭ@ `η\H7v ٗ4vw%}~gzL7 ߽;txIENDB`xbae-4.60.4/doc/images/grohtml-XbaeInput7.png0000664000076400007640000000145210140707073015640 00000000000000PNG  IHDR F 0PLTEwwwUUU333fffDDD"""!tRNS@fbKGDHIDATxUkSQl&JqФiAb݂t)- unAC `Wy"Iՙ {o? i$z@?7*Q 'Pݻmf{a{?;OI(d;C|ld( VzK45 L*J{jVkFlJviӍMVaRs'+9g?ᇦt49їvFa(m@'pJ=\~us L6 S 3bT8-8,&sֺ(+XAvM5r˨$~"sVЕZlC|" ID^_s^9!hdqukd̀Tг0P?@PPT^: a'Tį1!s8I#L'`{KvGe1>!z8qzƽMGSHθޝPU}pP5n&S Ugz.Zӥ҇;d ߘ=C!'io@;*xeRC1[n|$6pKU~ Vd<=pˏPb獵? !)OZIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix104.png0000664000076400007640000000177510142440403016144 00000000000000PNG  IHDR[tRNS["bKGD̿IDATxݭ6ML lA).A~]´ 7)A).AT-[RҽG5̯Zoy:ZYڦ0]d ASu3/H:,3BPMte6H *] d+ٸ6E)zc O@t ZWPc{٭fg%$S|lj|ulw#ݵm[lll[B-*f-Y)Yc: 6hQrU!D7ɒ XBѩ:V}װ 5sQmvhxפWC$PzLiXYme޼?"W*1鬥Zm4-3t`ɍUAMI_iuc\{TF֬,OĴ{;MȚ At/\K~\T&wNưf[;s[ Ğs*˔-uNړEZDJ*[6|+BB~Nz ]2*k*YLM@vV!3JcI2Mjfɲ}@1 k* _!A ͂ggkS7$rg>:qԞtgstt_P~__qDp|чϒ.|q=d۽n oqH ~Cu EGAk7 U{M0+>jMկZU`ƄCHS:3jKC0sxxOAK._hqΒ.ύxٿXp !SV$U0R_pPz5`*@( B*-ߌl0opZ>Mu;a>\\.H\o:7琼4 PLIENDB`xbae-4.60.4/doc/images/pricing.jpg0000664000076400007640000101041707267361155013646 00000000000000JFIFGCREATOR: XV Version 3.10 Rev: 12/16/94 Quality = 75, Smoothing = 0 C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?u[mMܐOʠ q$Y1 M sQ 8~6&% L V~*[6<IĐFJCg [f$~[:dqUB?D+oa/\mY"upH$p 'ͷugW=q2 M=^=^FG|u]޴ gW;p[ tThem$>nx:ή $SF9{(v_q{gW=q2 M=FG|u]޵F9{(_qxk:ۀrGzO[inzI7;mjKuH9<|TeA#I>m:yg:nTheu|6qwY<2>7;(a}[inzImQf^\c̃=qwOz?u|6qwQf=^ήvAAޓkV[AJE=;/u\ Im>wh\c̃=qwOzE={/䌎;뎻hήvAAިG3e.mjKuH9<|Ju\ Im>wjs0Pίzd뎛{䌎;뎻js0Qus2 NZ@x7nx:ή $SwW!%՗ry8sJKʼ9>ʦFc'8 ߦsN)l1A黧:H㿛o֟u,1eC$V2D:uNN3DZ-+Jc$$AJ1| Zj^C-yd}~n:wնsxҦHTﺍ\++Ϡnx:ή $SF9{(v_q{gW=q2 M=FG|u]޵F9{(_qxk:ۀrGzO[inzI7;mjKuH9<|TeA#I>m:yg:nTheu|6qwY<2>7;(a}[inzImQf^\c̃=qwOz?u|6qwQf=^ήvAAޓkV[AJE=;/u\ Im>wh\c̃=qwOzE={/䌎;뎻hήvAAިG3e.mjKuH9<|Ju\ Im>wjs0Pίzd뎛{䌎;뎻js0Qus2 N*YHyO;s3ިTyV#>Q(el##m:ZUg9IdC޹kg0]Izdx]yj8Bn8"upH$p 'ͷugW=q2 M=3Col",KDIé«]_΋eF J.*,Z6SJcڭt394U]C@-AZ(${"~?5gD]SPD8WuhD%E紒3&~3=8υhY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[ʊ`[o~!*ݿvTW xE-獷Q"RGeEq-獷Q xE!*ݿvTW xE-獷Q"RGeEq-獷Q xE!*ݿvTW xE-獷Q"RGeEq-獷Q xE!*ݿvTW xE-獷Q"RGeEq-獷Q xE!*ݿvTW xE-獷Q"RGeEq-獷Q xE!*ݿvTW xE-獷Q"RGeEq-獷Q xE!*ݿvTW xE-獷Q"RGeEq-獷SSCvʑ \ix:[~( 6Ahm"inߊ{Ebxpkv 2DꪒݑEa-[h/gN1xbae-4.60.4/doc/images/grohtml-XbaeMatrix31.png0000664000076400007640000000250410140707073016061 00000000000000PNG  IHDR. tRNS["bKGD̿IDATxq8['('LPt0!P@!!|{dYcQOkkB x? "OjIW֢9ڿ]Njz.IƺS`%OA$IaNPD'L4L;]Dc?j:OZm&q?M^Ʋa\) r^k`!z^,LSYN]#%ube+ d CtiI!*8rF XY`dhf}G38;j[DPNkH ⸝DPŎ$-WV8μ y!v(|VD+1יρ$$>S}Hn07nӿ\;-GKɥɯM|! ZAoF2ɃjdJB=E~XN. 遒f @xh&ZSyg UZ)4 PA6Jmk%.I!+ɵ`%'K\LL +}d<+8utyځIYPolЧJS0tҧ':Z߉>m&z>a9Jw=Hƶ=sT+/k+ݡPd&VwQRyۧ:;tql2oV#IldGIRsS.;LIENDB`xbae-4.60.4/doc/images/grohtml-XbaeMatrix74.png0000664000076400007640000000227010140707074016071 00000000000000PNG  IHDR.{tRNS["bKGD̿cIDATxݑ62i....~%pK.*T]IvgF!pR_tޠlgo)^ d@(ql%ՖuR(NY_; +uxе(9朗9¸v[/}&J.bJeE3R^T(rX7b@Wm2ü.ӗ5 i"BRB_􂶒:5esFr ֈ, jWL;SR-)Eu"ɐ9*tdJ,SMj/E(+7"J!LS8Ae.8*dNIsȩH*>BO,zEVE ܋蚩J"i&,8+)iue9YWa>q#A0[og$SG qcK^4)iᝎ[ViŅU*Yl^\*!O)@p#S@C=YsR]ʧ'{:Z3Y*g@=PjՅF*$gbFj xgg3dX&SG,ͩJQݛ"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wJ&' RmE`[8NE=}E59w-9-?o 냌7?97V5{V5OpUA7x4_ oۻ%5:|So[,B D 8݉$j fGdTu刬WUu8 XxB% j:x\Q+UiJfը Ø ]uŋ)ҫYx9EMH$ KHl,! $QDMR($A6XBdc I%$ak`B乳:C>67ȕ6Ƙ4y?8 z|G: ix4a.6yZfCz|_ǝ3m=^+2 n;(aZq93]]|0P EiH]%W,zPd1M,uqץ/ @#ݘ^wbXM,uܙӖ@Go}65[Us|n~N*C]: iu8v/vDwp/e=i(SqR! $ KHl,! Aq { IxCuLu<)źIENDB`xbae-4.60.4/doc/images/select-push.jpg0000664000076400007640000014407607267361155014457 00000000000000JFIFGCREATOR: XV Version 3.10 Rev: 12/16/94 Quality = 75, Smoothing = 0 C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222P" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?ټ.|O6OmH߿^1<{?_MѧF%vH֭mVy_, Mkg;vE%si4]ňnۥ kIvֺ ?.!;4k4s u^G'8#կ{Yf p[xp6ɟ*F(Y!.;eAMo"SE15O٨ݟl/gmXMv͟rxܿ|Ѓ4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}McS6j7g;6~1Yr@;?SE_6+McS6j7g;6~1YrD5?fv~ݳgc>w/0}4_Ϳ?eAMo"5?fv~ݳgc>w/0}ѯAiO,w$fQ7XN?J4_Ϳ?e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wڿQLp_4ci{LڿWϿ>Z>Ѯ4ƒh(]8Fz~j{G1ǿxkJ-[LTrXHկ@?ڿQLgQ@?ڿQLgQ@?ڿQLgQ@?ڿVuPT575wgn1qsǢxbxqݵԠS-(xFKh3?uW |Az/$mՠ0$x<:c둉1'ߘ`vtW A=CV.潒}Rmc1p"|#ob=ZwW A=C A=CgEq?M?MvtW A=C A=CgYŤע(T.ј'ҹLt ?&Lt ?&7DžC-oi)ەάYizCamqfwy%ms1 A=C A=CMOƉ}Gm.m`S#<#=z{' A=C A=CY1z\홾bv$w$zS A=C A=CgEq?M?MvtW A=C A=CgEq?M?MvtW y;ddH / w0ɬA=zg4=K=Lt ?&[ɴK_ȪL(*AP!_/멢֮na$+RF(3xbae-4.60.4/doc/images/grohtml-XbaeMatrix60.png0000664000076400007640000000232310140707073016062 00000000000000PNG  IHDR.Q{tRNS["bKGD̿~IDATxq#)6&zB`By'C Ю@Dzd5U;J%ӗ[QS(O-t@tXi+ P~` Pma7OPL5ڤîi?E 22iJxtOtmx[B$r%( 쒏óBEebuLU7:P)"DDF/EJ0O– `,f]. =@ .$3ūO P7x5n(S ;yBBWo]I yTJ 9)g$VaJEv2Rq4}I&a~43';Pb,pYIENDB`xbae-4.60.4/doc/images/new.png0000664000076400007640000000054407267361155013007 00000000000000PNG  IHDR 炎gAMA a PLTE8tEXtSoftwareXV Version 3.10a Rev: 12/29/94 (PNG patch 1.2).IXIDATxM1 PǞ2K{ M>UfzDGpF DM.,IMĖ+kUVɋ97QU.ہztIME+(FA~sKtEXtCommentFor more FREE animated GIFs go to http://intergalactinet.com/html/ IIENDB`xbae-4.60.4/doc/images/Makefile.am0000664000076400007640000001114710142440403013521 00000000000000# # $Header: /cvsroot/xbae/Xbae/doc/images/Makefile.am,v 1.8 2004/11/04 14:47:31 dannybackx Exp $ # # MAINTAINERCLEANFILES = # # Install some information files # # Lets put the informational stuff in a sub directory to avoid # polluting /usr/local for default installs. # imagedir= $(datadir)/Xbae/images # # Cut the distribution size, don't distribute these in a source # distribution # #image_DATA= \ # LDO.jpg add.jpg bg.png capfloor1.png capfloor3.png cba.png \ # cell.png choice.jpg choice.png colors.jpg constr.png coverplus.png \ # csfb.png cv.png db.png draw.jpg draw.png fifteen.jpg guestbook.png \ # jwlogo-140.png lesstif.png linux.png list.jpg macquarie.png mail.png \ # mailbox.png matrix.jpg multifixed.jpg nclogo-140.png new.png \ # organize.jpg pricing.jpg risk.jpg select-push.jpg taam.png \ # traffic.jpg updated.png visit.png visitmini.png x2tog.png \ # xbasket.png xbill2-2.png xbill3-2.png xbum1-2.png \ # tramtable.jpg voicecontrol.jpg # image_DATA= \ lesstif.png new.png \ bg.png updated.png coverplus.png add.jpg \ caption.png choice.png colors.jpg draw.png fifteen.jpg \ input.png list.jpg matrix.jpg multifixed.jpg select-push.jpg \ mailbox.png bg.png pricing.jpg LDO.jpg risk.jpg \ organize.jpg xbasket.png xbum1-2.png xbill2-2.png capfloor1.png \ capfloor3.png taam.png \ grohtml-XbaeCaption1.png \ grohtml-XbaeCaption2.png \ grohtml-XbaeCaption3.png \ grohtml-XbaeCaption4.png \ grohtml-XbaeCaption5.png \ grohtml-XbaeInput1.png \ grohtml-XbaeInput2.png \ grohtml-XbaeInput3.png \ grohtml-XbaeInput4.png \ grohtml-XbaeInput5.png \ grohtml-XbaeInput6.png \ grohtml-XbaeInput7.png \ grohtml-XbaeInput8.png \ grohtml-XbaeMatrix1.png \ grohtml-XbaeMatrix2.png \ grohtml-XbaeMatrix3.png \ grohtml-XbaeMatrix4.png \ grohtml-XbaeMatrix5.png \ grohtml-XbaeMatrix6.png \ grohtml-XbaeMatrix7.png \ grohtml-XbaeMatrix8.png \ grohtml-XbaeMatrix9.png \ grohtml-XbaeMatrix10.png \ grohtml-XbaeMatrix11.png \ grohtml-XbaeMatrix12.png \ grohtml-XbaeMatrix13.png \ grohtml-XbaeMatrix14.png \ grohtml-XbaeMatrix15.png \ grohtml-XbaeMatrix16.png \ grohtml-XbaeMatrix17.png \ grohtml-XbaeMatrix18.png \ grohtml-XbaeMatrix19.png \ grohtml-XbaeMatrix20.png \ grohtml-XbaeMatrix21.png \ grohtml-XbaeMatrix22.png \ grohtml-XbaeMatrix23.png \ grohtml-XbaeMatrix24.png \ grohtml-XbaeMatrix25.png \ grohtml-XbaeMatrix26.png \ grohtml-XbaeMatrix27.png \ grohtml-XbaeMatrix28.png \ grohtml-XbaeMatrix29.png \ grohtml-XbaeMatrix30.png \ grohtml-XbaeMatrix31.png \ grohtml-XbaeMatrix32.png \ grohtml-XbaeMatrix33.png \ grohtml-XbaeMatrix34.png \ grohtml-XbaeMatrix35.png \ grohtml-XbaeMatrix36.png \ grohtml-XbaeMatrix37.png \ grohtml-XbaeMatrix38.png \ grohtml-XbaeMatrix39.png \ grohtml-XbaeMatrix40.png \ grohtml-XbaeMatrix41.png \ grohtml-XbaeMatrix42.png \ grohtml-XbaeMatrix43.png \ grohtml-XbaeMatrix44.png \ grohtml-XbaeMatrix45.png \ grohtml-XbaeMatrix46.png \ grohtml-XbaeMatrix47.png \ grohtml-XbaeMatrix48.png \ grohtml-XbaeMatrix49.png \ grohtml-XbaeMatrix50.png \ grohtml-XbaeMatrix51.png \ grohtml-XbaeMatrix52.png \ grohtml-XbaeMatrix53.png \ grohtml-XbaeMatrix54.png \ grohtml-XbaeMatrix55.png \ grohtml-XbaeMatrix56.png \ grohtml-XbaeMatrix57.png \ grohtml-XbaeMatrix58.png \ grohtml-XbaeMatrix59.png \ grohtml-XbaeMatrix60.png \ grohtml-XbaeMatrix61.png \ grohtml-XbaeMatrix62.png \ grohtml-XbaeMatrix63.png \ grohtml-XbaeMatrix64.png \ grohtml-XbaeMatrix65.png \ grohtml-XbaeMatrix66.png \ grohtml-XbaeMatrix67.png \ grohtml-XbaeMatrix68.png \ grohtml-XbaeMatrix69.png \ grohtml-XbaeMatrix70.png \ grohtml-XbaeMatrix71.png \ grohtml-XbaeMatrix72.png \ grohtml-XbaeMatrix73.png \ grohtml-XbaeMatrix74.png \ grohtml-XbaeMatrix75.png \ grohtml-XbaeMatrix76.png \ grohtml-XbaeMatrix77.png \ grohtml-XbaeMatrix78.png \ grohtml-XbaeMatrix79.png \ grohtml-XbaeMatrix80.png \ grohtml-XbaeMatrix81.png \ grohtml-XbaeMatrix82.png \ grohtml-XbaeMatrix83.png \ grohtml-XbaeMatrix84.png \ grohtml-XbaeMatrix85.png \ grohtml-XbaeMatrix86.png \ grohtml-XbaeMatrix87.png \ grohtml-XbaeMatrix88.png \ grohtml-XbaeMatrix89.png \ grohtml-XbaeMatrix90.png \ grohtml-XbaeMatrix91.png \ grohtml-XbaeMatrix92.png \ grohtml-XbaeMatrix93.png \ grohtml-XbaeMatrix94.png \ grohtml-XbaeMatrix95.png \ grohtml-XbaeMatrix96.png \ grohtml-XbaeMatrix97.png \ grohtml-XbaeMatrix98.png \ grohtml-XbaeMatrix99.png \ grohtml-XbaeMatrix100.png \ grohtml-XbaeMatrix101.png \ grohtml-XbaeMatrix102.png \ grohtml-XbaeMatrix103.png \ grohtml-XbaeMatrix104.png \ grohtml-XbaeMatrix105.png \ grohtml-XbaeMatrix106.png \ grohtml-XbaeMatrix107.png \ grohtml-XbaeMatrix108.png EXTRA_DIST = $(image_DATA) xbae-4.60.4/doc/images/multifixed.jpg0000664000076400007640000007245307267361155014374 00000000000000JFIFGCREATOR: XV Version 3.10 Rev: 12/16/94 Quality = 75, Smoothing = 0 C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?ټ.|O6OmH߿^1<{?_MѧF%vH֭mVy_, Mkg;vE%si4]ňnۥ kIvֺ ?.!;4k4s u^G'8#կ{Yf p[xp6ɟ*F(Y!.;eAMo"SE15O٨ݟl/gmXMv͟rxܿ|Ѓ4_Ϳ?eAMo"5?fv~ݳgc>w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R%D+PcվBT /V ,U& sT6}ݨ=ea'TzKXW] {P$jϵ#ilhZPTD6l&Ee>$Ee xlJm_M|yTD>_Ԇ}x6a./aO8R(B)*gSTjjRT+*Sg{-8?OaAC%>^ڙki^l9![I-Q *XгmذSePhn?.6Qt|^.jz?*ĕL\U̜_X}I;0J>uh:AT6lאb )D)$}5QqTPo+M )Tt**"v~X^(6y**ڰD]^Y:P<̆&~xɻcV+`ASh5lz4WN5Wh/[x>*ԅlة|; @F%46l"BesP{PٰP@K-y*8fQM̆ tJʩGCJo\ tw$*x|K@ mW_#'" (u.WaTRTU}J۰=*'oCi Oڑ4aʳ?cc~RRI8IDATYf_Q9<*C=66yT$QTnT<*}sɲr_O;dJxaie)9]\e WIsOX5RT>p= |aYT*fYBԺ,*@kxUQz!EE%JQQ RTTB)**~?~`:tIME)6ńIENDB`xbae-4.60.4/doc/scrolling.html0000664000076400007640000000067707443223462013126 00000000000000 Scrolling

Smooth vertical scrolling involves extending the use of the clip widgets within the matrix. Currently, partial rows are not displayed as they do not fall onto the clip widget.

Estimated completion: April, 1997

Completed in release 4.6.1

xbae-4.60.4/doc/index.html0000664000076400007640000000124407457257135012241 00000000000000 Xbae Matrix Widget Home Page xbae-4.60.4/doc/FAQ.html0000664000076400007640000005105610133272270011525 00000000000000 Frequently Asked Questions about the XbaeMatrix Widget

Answers to Frequently Asked Questions
about the XbaeMatrix Widget

Table of contents


General Information

What is the XbaeMatrix Widget?

The XbaeMatrix is a Motif-based widget which displays a grid of cells in the same manner as a spreadsheet. The cell array is scrollable, editable, and otherwise reasonably configurable in appearance. Each cell usually displays text, but pixmaps can also be displayed (not editable). The XbaeMatrix looks to some extent like a grid of XmTextField widgets, but is actually implemented with a single XmTextField. This means a big performance improvement due to less overhead.

Who wrote the XbaeMatrix Widget?

The Matrix was originally developed by Andrew Wason of Bellcore. (Bellcore has changed its name to 'Telcordia Technologies'.) The widget was subsequently released on the 'net (version 3.5 seems to be the first), the last version from Andrew Wason was version 3.8. Kevin Brannen became the maintainer briefly and released version 4.0 of the widget (then seemed to lose his net connection). Since then Andrew Lister has been the maintainer of the widget, he has contributed many changes as well as integrating changes contributed by many other people. People who have contributed code to XbaeMatrix include:
  • Philip Aston (philipa@parallax.co.uk)
  • Danny Backx (dannybackx@users.sf.net)
  • Tim Bomgardner (timbo@apdev.cs.mci.com)
  • Kevin Brannen (kbrannen@metronet.com)
  • Eric Bruno (bruno@nsipo.arc.nasa.gov)
  • Matthew Francey (mdf@angoss.com)
  • Martin Helmling (mh@c3i.sel.de)
  • Callum Gibson (callum.gibson@aus.deuba.com)
  • Alexander Ivanov (avi@elais.physics.ox.ac.uk)
  • Adam Kerrison (adam@micromuse.co.uk)
  • Vince Li (vli@mpr.ca)
  • Andrew Lister (lister@db.com)
  • Earl Revett (erevett@kokomo.bmc.com)
  • Jay Schmidgall (jay.schmidgall@spdbump.sungardss.com)
  • Jason Smith (js81736@internet.sbi.com)
  • Mark Steckel (msteckel@aracada.com)
  • Daiji Takamori (daijit@std.teradyne.com)
  • Dirk Vangestel (gesteld@sebb.bel.alcatel.be)
  • Andy Warburton (andyw@parallax.co.uk)
  • Andrew Wason (aw@bae.bellcore.com)
  • Neil Weber (neilw@pyramid.com)
  • D. Craig Wilson (cwilson@mpr.ca)
  • Q. Frank Xia (qx@math.columbia.edu)
Sorry, if you have been left out - it was not intentional.

The last version released by Andrew was 4.7 - in July 1999. After that he transferred maintenance, it is now with the LessTif maintainers.

Where do I get it?

Best is to look at it's homepage for updated version about this.
ftp.x.org, has older releases, but may not carry recent versions.

What are the terms of usage of the XbaeMatrix Widget?

The COPYING file describes the terms an conditions but if you (like me) have trouble understanding legalese here it is in English:
  • Nobody promises that this software works.
  • You can use this software for whatever you want.
  • You may not pretend that you wrote this software.
  • If you use it in a commercial program, you have to acknowledge that you've used the Xbae code in your documentation and include the copyright notice in the COPYING file of the distribution being used.

Where can I find out more?

There's a mailinglist dedicated to Xbae. For more details on it check out the homepage at http://xbae.sourceforge.net.

Where do I mail suggestions/comments for this FAQ?

If you ask or answer a question on the mailing list, you may find it is incorporated into the FAQ. Other general comments or suggestions can be mailed to the maintainers at mailto:xbae-discuss@lists.sourceforge.net .

Aaargh, I found a bug - what do I do?

Best is to submit a bug report at our website's bug tracker facility at: http://sourceforge.net/tracker/?group_id=31337&atid=401980.
As an alternative you may send mail to the mailing list (see above.) If you have a patch for the bug then please send it along in your message. It will probably be included in the next release.

In any case, please include details as to the version you are using, the circumstances under which the problem occurred (which operating system, which Motif library, etc.) and (if you can) a patch.

Does the XbaeMatrix Widget have a home page?

Yes, of course! It can be found at http://xbae.sf.net.
The old home page was at http://www.xbae.syd.net.au.

I love it! How can I contribute?

Submitting patches and suggestions enable your own special place in the README file.

Programming Questions

How do I change the behavior of the XbaeMatrix so that.... ?

You might want to read the section on Translations and Action Routines... It describes how to modify many parts of the XbaeMatrix behavior. You also might take a look at the various examples' resource files; some have special translations that are useful. This is useful for:
  • changing when the TextField widget is mapped/unmapped;
  • changing how selections/edits are performed;
  • changing how cursor movement is performed;
  • changing when edits are allowed;
  • installing select-drag behaviour;
  • installing interactive column resize;
  • installing drag-n-drop related callbacks.

If you want to change the reaction to various actions (as in Action routines), several are affected by the behavior of the various callbacks associated with the XbaeMatrix. These reactions would include:

  • making a cell read only;
  • having the data be looked up by a function rather than stored in the XmNcells resource;
  • confirming that cell edits should be accepted using a function;
  • confirming that cell modifications should be accepted using a function;
  • changing column widths when the entire matrix is resized;
  • changing what is selected when a cell is selected;
  • changing how traversals are made.
supplied by Daiji Takamori.

Although more specific answers to changing widget behaviour follow, some may not be covered by this FAQ. In this case, it is important to follow the advice above and carefully read the manpage. More than likely the answer is in there.

How do I make a cell non-editable?

To make a cell non editable you need to install an XmNenterCellCallback. In the callback, you should set the doit member of the callback struct to False. For example:
void enterCB( Widget w, XtPointer cd, XtPointer cb )
{
    XbaeMatrixEnterCellCallbackStruct *cbs =
        (XbaeMatrixEnterCellCallbackStruct *)cb;

    switch(cbs->column)
    {
    case 2:
	/*
	 * Make all of column 2 non editable except for row 4
	 */
	if(cbs->row != 4)
	    cbs->doit = False;
	break;
    default:
	cbs->doit = True;	/* Default behaviour */
	break;
    }
}
It really is as easy as that!

Can I display 2-byte characters (e.g. kanji)?

Technically no. The code currently exists in the widget to achieve *some* of the steps to display 2-byte characters but is incomplete in the respect that a two byte character string is represented as a wchar_t *.

Anybody who uses two byte characters and is willing to come up with an effective patch is hereby granted the opportunity!

How do I stop the matrix from scrolling back to the selected cell?

Use XmNselectScrollVisible. Setting this to False should prevent any non desirable scrolling.

How do I stop the matrix from flickering when it redraws?

By using the function XbaeMatrixDisableRedisplay() you are able to stop the matrix from redrawing during lengthy updates. At the end of the update, XbaeMatrixEnableRedisplay() will redraw the matrix.

Another option is to unmanage the widget via XtUnmanageChild() and manage it again once the redraw is complete.

Can I resize the row height in my matrix?

Yes, starting of version 4.9.0 this is possible.

How do I make the matrix emulate a list?

Documentation for an enhanced list widget does not and will not exist. Use of the documentation and example program named "list" is highly recommended.

Can I change the behaviour of the text field in the matrix?

The text field (or, to be entirely correct, the XbaeInput widget, which is pretty much the same as an XmText widget) is available from the XmNtextField resource. If you wish to change the behaviour of the text field, obtain the widget id via this resource and use XtSetValues to set the text field's resource.

How can I edit a cell in a fixed column or fixed row?

By setting the resource XmNtraverseFixedCells, fixed rows and columns act exactly the same way as non-fixed cells.

Can I select a fixed row or column?

Yes you can. To do this, however, you need to override the translations on the matrix widget either with resources or using XtOverrideTranslations(). With the former, something along the lines of
*mw*translations: #override\n\
	<Btn1Down>: SelectCell()
and the latter, an
    XtOverrideTranslations(mw, XtParseTranslationTable(
			":<Btn1Down>: SelectCell()"));
will do the trick.

In the selectCellCallback, you then need to select the row/column as indicated in the callback struct.

Also, refer to the choice example program which demonstrates this ability.

How do I select a row or column without the text field being visible?

Normally this is required when a matrix is non editable. The text field is mapped as a result of the EditCell action being called which is the default behaviour of the widget. You need to replace the default action with the SelectCell action (see "How can I edit a cell in a fixed column or fixed row") which does not map the text field. By adding an XmNselectCellCallback you can select a row/column/cell without editing the cell that was clicked. Setting XmNtraversalOn to False will also help, depending on your application.

How do I redraw just a single cell?

Use XbaeMatrixRefreshCell(Widget w, int row, int column). This function uses the internal drawing routines of the widget to explicitly redraw a single cell.

How can I save the current cell when the matrix loses focus?

The best way is to obtain the widget id of the matrix's text field and add an XmNlosingFocusCallback to it which calls XbaeMatrixCommitEdit(). Similarly, you can add a call to XbaeMatrixCommitEdit() in other callbacks as necessary.

How can I popup a menu in a cell using the right mouse button?

Firstly, you need to change the translations so <Btn3Down> calls the SelectCell routine. Something like:

*mw*translations: #override\n\ <Btn3Down>: SelectCell(menu)

The "menu" parameter then gets passed to the selectCellCallback in the callback struct as params[0] so a simple strcmp() should suffice in detecting the parameter.

The menu needs to be created using XmCreatePopupMenu() so see your trusty manual page on how to do this.

To position the menu, you should use XmMenuPosition(). Once again, you should refer to the manual page. The event structure is passed through in the XmNselectCellCallbackStruct.

I am having trouble using the configure script.

It has been built using the GNU standard tools automake, autoconf, and libtool. (Note: you don't require these tools, only the maintainers do.) These tools support all platforms known to mankind (with the possible exception of microwave ovens), so it is very likely that they configuration will just work for you.

In a few specific circumstances, the configure command needs a little help. Please ask us and we'll try to help you.

If all that fails, an alternative build method for Xbae exists : Imake. Use "xmkmf -a; make" and things *should* build as well.

How do I work with drag and drop?

Question : I am trying to use drag and drop to move an item from an XmList to a XbaeMatrix. I need to know the Matrix row for the drop, but the Event that I get is NULL, so I can't use the Event to RowColumn public routine.
The same question applies when dragging within a matrix.

When you register your drop site you also add a drop callback, ie

XtSetArg(args[n],XmNdropProc,ddDrop);
And in this drop function you can do this:
	void ddDrop(Widget w,XtPointer clientData,XtPointer callData)
	{
        	XmDropProcCallback dropData = (XmDropProcCallback) callData;
        	int x = dropData->x;                    // drop x coord
        	int y = dropData->y;                    // drop y coord
	....
However since I wanted to use
	XbaeMatrixGetEventRowColumn(Widget, event, &row, &col);
to get my row/column position I needed an event structure, so I made a copy of one I got before I started the drag, and then I adjusted the x and y value and passed it to the XbaeMatrix function.. and it all works fine!

Keyboard translations don't always work

Question : We want to have the Home key move you to the top of the list and select the first item. We are not able to get the keyboard traversals to work for the matrix. We can get them to work for the TextField widget if it has the focus. We don't want to make the customer click in an editable field before hitting "Home".

You'll find that things won't work until the text field has been mapped. We've been trying to get Page Up/Down going but until the text field has been mapped (even if it is then subsequently unmapped) the actions don't work.

This seems to be because the initial focus goes to the clip child (not the matrix itself) which doesn't know what to do with the key events. I haven't found any way around this yet, except that you could manage then unmanage the text field programmatically and see if that works.

Doing :

	XbaeMatrixEditCell(mw, 0, 0);
	XbaeMatrixCommitEdit(mw, True); /* unmap it again */
when you first create the matrix should be virtually undetectable.

How can I convert an XEvent message on a button label to row/column positions ?

Use the XbaeMatrixGetEventRowColumn() function. This function takes the XEvent structure and then sets the row and column parameters to the required positions for all cells on the table (including label buttons).

A -1 for row position indicates the header row, and a -1 for a col position indicates the header column. If the cell is a normal table cell (ie not a header label) the function also returns True. Note that even when the function returns a False the values 'row' and 'col' are still set with correct positions (assuming the XEvent position is within the table of course). This is apparently an undocumented feature, according to the source code. Not any more ;-)

More questions ?

If you have more questions, or if you would be able to answer some of the currently addressed questions better, then please send us mail.

Latest change to this document : $Date: 2004/10/13 18:32:24 $ xbae-4.60.4/doc/difffonts.html0000664000076400007640000000066207443223462013106 00000000000000 Different Fonts

Different fonts in different cells will be implemented in much the same way as the current row/column/cell user data has been done (thanks to Jay Schmidgall).

Provided as an as needed resource, there should be little impact on existing applications. xbae-4.60.4/doc/psdriver.html0000664000076400007640000000137307530755662012773 00000000000000 Postscript Driver

Although I feel that a hardcopy of the data displayed should be application driven, I have had quite a few requests for PostScript output of the displayed table.

With a good working knowledge of PostScript (and the help of a big book!) I know that the implementation is quite feasible but am not sure it's warranted.

An alternative exists, and should be superior : use the X Printing system. In combination with the Motif printing API's, it should not be hard to print copies of Xbae to any type of printer, if the X Print Server has been correctly set up. xbae-4.60.4/doc/spancells.html0000664000076400007640000000217207443223462013106 00000000000000 Spannable Cells

Spannable cells is an interesting one. What is meant by spannable cells is the ability for a cell to flow over into another and not have the vertical cell border drawn. After this hurdle is overcome, there is absolutely no reason why somebody (not me, though - I'm to busy making the changes) can't write a package that will emulate Exc*l and an end to the pathetic existence of spreadsheets on Unix.

In essence, it can be done already by obtaining the widget ID of the XmTextField and setting resizeWidth to True. Problem is, though, after committing the changes to a cell, it pops back to it's usual size.

The changes made to the drawing of the row shadow should also facilitate the implementation as it is now drawn on a per cell basis.

Again, there will be significant changes to the code but, provided as a resource on an as need basis, there shouldn't be a significant change on performance nor memory consumption.

xbae-4.60.4/doc/Makefile.am0000664000076400007640000000430110111203063012241 00000000000000# # $Header: /cvsroot/xbae/Xbae/doc/Makefile.am,v 1.21 2004/08/19 19:57:39 dannybackx Exp $ # MAINTAINERCLEANFILES=Makefile.in CLEANFILES= $(XBAE_HTML_MANPAGES) EXTRA_DIST = $(DATA) SUBDIRS= images # # Install some information files # # Lets put the informational stuff in a sub directory to avoid # polluting /usr/local for default installs. # docdir= $(datadir)/Xbae doc_DATA= \ contents.html coverplus.html difffonts.html \ index.html main.html morelines.html \ psdriver.html scrolling.html \ sites.html spancells.html title.html users.html \ FAQ.html $(XBAE_HTML_MANPAGES) # # Only do this when in maintainer mode. # if MAINTAINER_MODE # # The distribution contains manual pages in src/*.3.in, # they're processed into src/*.3 by configure, # now we can process them into HTML here. # # Please note that the man2html that we require is *not* the version # in other distributions. A -f option was added for filter mode. # The LessTif distribution has the modified sources. # (http://lesstif.sourceforge.net) # XBAE_HTML_MANPAGES= XbaeMatrix.html XbaeCaption.html XbaeInput.html # We don't have those sources, i.e. if our man2html is missing # just try groff instead if LT_BUILD_MAN2HTML XbaeMatrix.ps: $(top_builddir)/src/XbaeMatrix.3 groff -t -man -Tps <$(top_builddir)/src/$? >$@ XbaeInput.ps: $(top_builddir)/src/XbaeInput.3 groff -t -man -Tps <$(top_builddir)/src/$? >$@ XbaeCaption.ps: $(top_builddir)/src/XbaeCaption.3 groff -t -man -Tps <$(top_builddir)/src/$? >$@ XbaeMatrix.html: $(top_builddir)/src/XbaeMatrix.3 groff -P -Dimages -P -Igrohtml-XbaeMatrix -t -man -Thtml <$(top_builddir)/src/$? >$@ XbaeInput.html: $(top_builddir)/src/XbaeInput.3 groff -P -Dimages -P -Igrohtml-XbaeInput -t -man -Thtml <$(top_builddir)/src/$? >$@ XbaeCaption.html: $(top_builddir)/src/XbaeCaption.3 groff -P -Dimages -P -Igrohtml-XbaeCaption -t -man -Thtml <$(top_builddir)/src/$? >$@ else XbaeMatrix.html: $(top_builddir)/src/XbaeMatrix.3 man2html -f -w <$(top_builddir)/src/$? >$@ XbaeInput.html: $(top_builddir)/src/XbaeInput.3 man2html -f -w <$(top_builddir)/src/$? >$@ XbaeCaption.html: $(top_builddir)/src/XbaeCaption.3 man2html -f -w <$(top_builddir)/src/$? >$@ endif endif xbae-4.60.4/doc/morelines.html0000664000076400007640000000074207443223462013120 00000000000000 More Lines

More than one line of text in the existing text field widget simply requires replacing the XmTextField widget with an XmText widget and adjusting translations accordingly.

I have tried doing this and have run into some problems with the implementation but feel it is not really a big deal.