summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS0
-rw-r--r--COPYING0
-rw-r--r--ChangeLog139
-rw-r--r--INSTALL229
-rw-r--r--Makefile.am25
-rw-r--r--NEWS0
-rw-r--r--README3
-rw-r--r--Xaw6/Makefile.am63
-rw-r--r--Xaw7/Makefile.am62
-rw-r--r--Xaw8/Makefile.am63
-rwxr-xr-xautogen.sh12
-rw-r--r--configure.ac93
-rw-r--r--include/Makefile.am79
-rw-r--r--man/Makefile.am1
-rw-r--r--xaw6.pc.in10
-rw-r--r--xaw7.pc.in10
-rw-r--r--xaw8.pc.in10
17 files changed, 799 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/AUTHORS
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/COPYING
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..5df90a9
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,139 @@
+2005-01-22 Daniel Stone <daniel@freedesktop.org>
+
+ * configure.ac:
+ Remove AC_CONFIG_AUX_DIR.
+
+2004-05-10 Eric Anholt <anholt@FreeBSD.org>
+
+ * Makefile.am:
+ * configure.ac:
+ Link to libXpm as well.
+ Bump to version 7.0.2.
+ Properly include LIBS/CFLAGS in .pc and linking.
+
+2004-04-13 Daniel Stone <daniel@freedesktop.org>
+
+ * TextSink.c:
+ * Vendor.c:
+ * Actions.c:
+ * Text.c:
+ * XawI18n.h:
+ * Xaw.man:
+ * include/X11/Xaw/XawInit.h:
+ Sync with X11R6.7, including fixing a wrong number of arguments to
+ XmuSnprintf, adding better Cygwin support, and cleaning up OLDXAW
+ semantics.
+
+ * Bump version to 7.0.1 for xlibs 1.0.1.
+
+2004-01-25 Eric Anholt <anholt@FreeBSD.org>
+
+ * Makefile.am:
+ Fix Xaw manpage section.
+
+2004-01-25 Eric Anholt <anholt@FreeBSD.org>
+
+ * Makefile.am:
+ Change an XT_CFLAGS to XAW_CFLAGS, which should fix the FreeBSD
+ build.
+
+2004-01-25 Eric Anholt <anholt@FreeBSD.org>
+
+ * CHANGES:
+ * Changelog:
+ Remove some very dated changelogs.
+
+2004-01-25 Eric Anholt <anholt@FreeBSD.org>
+
+ * CHANGES:
+ * Changelog:
+ * Makefile.am:
+
+2004-01-24 Eric Anholt <anholt@FreeBSD.org>
+
+ reviewed by: daniel
+
+ * CHANGES:
+ * Changelog:
+ Remove old changelogs, which are a bit dated.
+
+2004-01-24 Eric Anholt <anholt@FreeBSD.org>
+
+ * Makefile.am:
+ Fix distcheck (missing header files).
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * ChangeLog
+ Catch up on all my changes for Dec. 23, 2003 UTC. (Also
+ notice that older CHANGES and Changelog also exist.)
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * .cvsignore
+ Add ltcf-c.sh and ltconfig to list of files for CVS to ignore.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * COPYING
+ * INSTALL
+ Add INSTALL and COPYING documents. (COPYING is empty and
+ needs licenses added to it.)
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * README
+ Start README.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * Makefile.am
+ Install Xaw man page.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * configure.ac
+ * xaw.pc.in
+ Make sure CFLAGS and LIBS are right for pkgconfig file.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * Makefile.am
+ * configure.ac
+ Use 7.0.0 for version for libtool version-info and for
+ autoconf AC_INIT.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * Makefile.am
+ * configure.ac
+ * include/Makefile.am
+ Added Makefile.am for include headers. Added support for
+ include headers. (I moved header files to include/X11/Xaw/
+ on CVS server itself.) Add more pkg-config files to use.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * include/.cvsignore
+ Add list of files for CVS to ignore.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+ * AUTHORS
+ * ChangeLog
+ * Makefile.am
+ * NEWS
+ * README
+ * autogen.sh
+ * configure.ac
+ * xaw.pc.in
+ Add initial files for automake/autoconf support.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * .cvsignore
+ Fix .pc (pkg-config) files to ignore.
+
+2003-12-23 Jeremy C. Reed <reed@reedmedia.net>
+
+ * .cvsignore
+ Add list of files for CVS to ignore.
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..54caf7c
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,229 @@
+Copyright (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.
+
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..6ecf7e7
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,25 @@
+SUBDIRS = include Xaw6 Xaw7 Xaw8 man
+
+pkgconfigdir = $(libdir)/pkgconfig
+
+pkgconfig_DATA =
+
+if BUILD_XAW6
+
+pkgconfig_DATA += xaw6.pc
+
+endif
+
+if BUILD_XAW7
+
+pkgconfig_DATA += xaw7.pc
+
+endif
+
+if BUILD_XAW8
+
+pkgconfig_DATA += xaw8.pc
+
+endif
+
+EXTRA_DIST = $(man3_MANS) xaw6.pc.in xaw7.pc.in xaw8.pc.in autogen.sh
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/README b/README
new file mode 100644
index 0000000..011e3fb
--- /dev/null
+++ b/README
@@ -0,0 +1,3 @@
+Xaw is the X Athena Widget Set.
+
+Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library.
diff --git a/Xaw6/Makefile.am b/Xaw6/Makefile.am
new file mode 100644
index 0000000..30f2f29
--- /dev/null
+++ b/Xaw6/Makefile.am
@@ -0,0 +1,63 @@
+if BUILD_XAW6
+
+lib_LTLIBRARIES = libXaw.la
+
+AM_CFLAGS = \
+ -I${top_srcdir}/include \
+ -I${top_srcdir}/include/X11/Xaw \
+ $(XAW6_CFLAGS)
+
+libXaw_la_SOURCES = \
+ $(top_srcdir)/src/Actions.c \
+ $(top_srcdir)/src/AllWidgets.c \
+ $(top_srcdir)/src/AsciiSink.c \
+ $(top_srcdir)/src/AsciiSrc.c \
+ $(top_srcdir)/src/AsciiText.c \
+ $(top_srcdir)/src/Box.c \
+ $(top_srcdir)/src/Command.c \
+ $(top_srcdir)/src/Converters.c \
+ $(top_srcdir)/src/Dialog.c \
+ $(top_srcdir)/src/DisplayList.c \
+ $(top_srcdir)/src/Form.c \
+ $(top_srcdir)/src/Grip.c \
+ $(top_srcdir)/src/Label.c \
+ $(top_srcdir)/src/List.c \
+ $(top_srcdir)/src/MenuButton.c \
+ $(top_srcdir)/src/MultiSrc.c \
+ $(top_srcdir)/src/MultiSink.c \
+ $(top_srcdir)/src/OS.c \
+ $(top_srcdir)/src/Paned.c \
+ $(top_srcdir)/src/Panner.c \
+ $(top_srcdir)/src/Pixmap.c \
+ $(top_srcdir)/src/Porthole.c \
+ $(top_srcdir)/src/PrintShell.c \
+ $(top_srcdir)/src/Private.h \
+ $(top_srcdir)/src/Repeater.c \
+ $(top_srcdir)/src/Scrollbar.c \
+ $(top_srcdir)/src/Simple.c \
+ $(top_srcdir)/src/SimpleMenu.c \
+ $(top_srcdir)/src/Sme.c \
+ $(top_srcdir)/src/SmeBSB.c \
+ $(top_srcdir)/src/SmeLine.c \
+ $(top_srcdir)/src/StripChart.c \
+ $(top_srcdir)/src/Text.c \
+ $(top_srcdir)/src/TextSink.c \
+ $(top_srcdir)/src/TextSrc.c \
+ $(top_srcdir)/src/TextAction.c \
+ $(top_srcdir)/src/TextPop.c \
+ $(top_srcdir)/src/TextTr.c \
+ $(top_srcdir)/src/Tip.c \
+ $(top_srcdir)/src/Toggle.c \
+ $(top_srcdir)/src/Tree.c \
+ $(top_srcdir)/src/Vendor.c \
+ $(top_srcdir)/src/Viewport.c \
+ $(top_srcdir)/src/XawIm.c \
+ $(top_srcdir)/src/XawInit.c \
+ $(top_srcdir)/src/XawI18n.c \
+ $(top_srcdir)/src/XawI18n.h \
+ $(top_srcdir)/src/sharedlib.c
+
+libXaw_la_LDFLAGS = -version-info 6:1:0
+libXaw_la_LIBADD = $(XAW6_LIBS)
+
+endif
diff --git a/Xaw7/Makefile.am b/Xaw7/Makefile.am
new file mode 100644
index 0000000..1d46887
--- /dev/null
+++ b/Xaw7/Makefile.am
@@ -0,0 +1,62 @@
+if BUILD_XAW7
+
+lib_LTLIBRARIES = libXaw.la
+
+AM_CFLAGS = \
+ -I${top_srcdir}/include \
+ -I${top_srcdir}/include/X11/Xaw \
+ $(XAW7_CFLAGS)
+
+libXaw_la_SOURCES = \
+ $(top_srcdir)/src/Actions.c \
+ $(top_srcdir)/src/AllWidgets.c \
+ $(top_srcdir)/src/AsciiSink.c \
+ $(top_srcdir)/src/AsciiSrc.c \
+ $(top_srcdir)/src/AsciiText.c \
+ $(top_srcdir)/src/Box.c \
+ $(top_srcdir)/src/Command.c \
+ $(top_srcdir)/src/Converters.c \
+ $(top_srcdir)/src/Dialog.c \
+ $(top_srcdir)/src/DisplayList.c \
+ $(top_srcdir)/src/Form.c \
+ $(top_srcdir)/src/Grip.c \
+ $(top_srcdir)/src/Label.c \
+ $(top_srcdir)/src/List.c \
+ $(top_srcdir)/src/MenuButton.c \
+ $(top_srcdir)/src/MultiSrc.c \
+ $(top_srcdir)/src/MultiSink.c \
+ $(top_srcdir)/src/OS.c \
+ $(top_srcdir)/src/Paned.c \
+ $(top_srcdir)/src/Panner.c \
+ $(top_srcdir)/src/Pixmap.c \
+ $(top_srcdir)/src/Porthole.c \
+ $(top_srcdir)/src/Private.h \
+ $(top_srcdir)/src/Repeater.c \
+ $(top_srcdir)/src/Scrollbar.c \
+ $(top_srcdir)/src/Simple.c \
+ $(top_srcdir)/src/SimpleMenu.c \
+ $(top_srcdir)/src/Sme.c \
+ $(top_srcdir)/src/SmeBSB.c \
+ $(top_srcdir)/src/SmeLine.c \
+ $(top_srcdir)/src/StripChart.c \
+ $(top_srcdir)/src/Text.c \
+ $(top_srcdir)/src/TextSink.c \
+ $(top_srcdir)/src/TextSrc.c \
+ $(top_srcdir)/src/TextAction.c \
+ $(top_srcdir)/src/TextPop.c \
+ $(top_srcdir)/src/TextTr.c \
+ $(top_srcdir)/src/Tip.c \
+ $(top_srcdir)/src/Toggle.c \
+ $(top_srcdir)/src/Tree.c \
+ $(top_srcdir)/src/Vendor.c \
+ $(top_srcdir)/src/Viewport.c \
+ $(top_srcdir)/src/XawIm.c \
+ $(top_srcdir)/src/XawInit.c \
+ $(top_srcdir)/src/XawI18n.c \
+ $(top_srcdir)/src/XawI18n.h \
+ $(top_srcdir)/src/sharedlib.c
+
+libXaw_la_LDFLAGS = -version-info 7:0:0
+libXaw_la_LIBADD = $(XAW7_LIBS)
+
+endif
diff --git a/Xaw8/Makefile.am b/Xaw8/Makefile.am
new file mode 100644
index 0000000..5b6964f
--- /dev/null
+++ b/Xaw8/Makefile.am
@@ -0,0 +1,63 @@
+if BUILD_XAW8
+
+lib_LTLIBRARIES = libXaw.la
+
+AM_CFLAGS = \
+ -I${top_srcdir}/include \
+ -I${top_srcdir}/include/X11/Xaw \
+ $(XAW_CFLAGS)
+
+libXaw_la_SOURCES = \
+ $(top_srcdir)/src/Actions.c \
+ $(top_srcdir)/src/AllWidgets.c \
+ $(top_srcdir)/src/AsciiSink.c \
+ $(top_srcdir)/src/AsciiSrc.c \
+ $(top_srcdir)/src/AsciiText.c \
+ $(top_srcdir)/src/Box.c \
+ $(top_srcdir)/src/Command.c \
+ $(top_srcdir)/src/Converters.c \
+ $(top_srcdir)/src/Dialog.c \
+ $(top_srcdir)/src/DisplayList.c \
+ $(top_srcdir)/src/Form.c \
+ $(top_srcdir)/src/Grip.c \
+ $(top_srcdir)/src/Label.c \
+ $(top_srcdir)/src/List.c \
+ $(top_srcdir)/src/MenuButton.c \
+ $(top_srcdir)/src/MultiSrc.c \
+ $(top_srcdir)/src/MultiSink.c \
+ $(top_srcdir)/src/OS.c \
+ $(top_srcdir)/src/Paned.c \
+ $(top_srcdir)/src/Panner.c \
+ $(top_srcdir)/src/Pixmap.c \
+ $(top_srcdir)/src/Porthole.c \
+ $(top_srcdir)/src/PrintShell.c \
+ $(top_srcdir)/src/Private.h \
+ $(top_srcdir)/src/Repeater.c \
+ $(top_srcdir)/src/Scrollbar.c \
+ $(top_srcdir)/src/Simple.c \
+ $(top_srcdir)/src/SimpleMenu.c \
+ $(top_srcdir)/src/Sme.c \
+ $(top_srcdir)/src/SmeBSB.c \
+ $(top_srcdir)/src/SmeLine.c \
+ $(top_srcdir)/src/StripChart.c \
+ $(top_srcdir)/src/Text.c \
+ $(top_srcdir)/src/TextSink.c \
+ $(top_srcdir)/src/TextSrc.c \
+ $(top_srcdir)/src/TextAction.c \
+ $(top_srcdir)/src/TextPop.c \
+ $(top_srcdir)/src/TextTr.c \
+ $(top_srcdir)/src/Tip.c \
+ $(top_srcdir)/src/Toggle.c \
+ $(top_srcdir)/src/Tree.c \
+ $(top_srcdir)/src/Vendor.c \
+ $(top_srcdir)/src/Viewport.c \
+ $(top_srcdir)/src/XawIm.c \
+ $(top_srcdir)/src/XawInit.c \
+ $(top_srcdir)/src/XawI18n.c \
+ $(top_srcdir)/src/XawI18n.h \
+ $(top_srcdir)/src/sharedlib.c
+
+libXaw_la_LDFLAGS = -version-info 8:0:0
+libXaw_la_LIBADD = $(XAW8_LIBS)
+
+endif
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..904cd67
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..37fb4e4
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,93 @@
+dnl Process this file with autoconf to create configure.
+
+AC_PREREQ([2.57])
+
+AC_INIT([libXaw],
+ 7.0.2,
+ [reed@reedmedia.net],
+ libXaw)
+
+AM_INIT_AUTOMAKE([dist-bzip2])
+
+AM_CONFIG_HEADER(config.h)
+
+# Check for progs
+AC_PROG_CC
+AC_PROG_LIBTOOL
+
+
+# Whether to build Xaw6
+
+AC_ARG_ENABLE(xaw6, AC_HELP_STRING([--disable-xaw6],
+ [Disable building of libXaw.so.6]),
+ [build_v6=$enableval], [build_v6=yes])
+
+if test "x$build_v6" = xyes; then
+ PKG_CHECK_MODULES(XAW6, xproto x11 xt xmu xpm)
+
+ AC_SUBST(XAW6_CFLAGS)
+ AC_SUBST(XAW6_LIBS)
+fi
+
+
+# Whether to build Xaw7
+
+AC_ARG_ENABLE(xaw7, AC_HELP_STRING([--disable-xaw7],
+ [Disable building of libXaw.so.7]),
+ [build_v7=$enableval], [build_v7=yes])
+
+if test "x$build_v7" = xyes; then
+ PKG_CHECK_MODULES(XAW7, xproto x11 xt xmu xpm)
+
+ AC_SUBST(XAW7_CFLAGS)
+ AC_SUBST(XAW7_LIBS)
+fi
+
+
+# Whether to build Xaw8
+
+AC_ARG_ENABLE(xaw8, AC_HELP_STRING([--disable-xaw8],
+ [Disable building of libXaw.so.8]),
+ [build_v8=$enableval], [build_v8=yes])
+
+if test "x$build_v8" = xyes; then
+ PKG_CHECK_MODULES(XPRINT, xp, xprint_found=yes, xprint_found=no)
+
+ if test x$xprint_found = xno ; then
+ AC_ERROR([
+ Xprint is required to build libXaw.so.8. You can disable
+ building of libXaw.so.8 by passing --disable-xaw8 to
+ configure])
+ fi
+
+ PKG_CHECK_MODULES(XAW8, xproto x11 xt xmu xpm xp)
+
+ AC_SUBST(XAW8_CFLAGS)
+ AC_SUBST(XAW8_LIBS)
+fi
+
+AM_CONDITIONAL(BUILD_XAW6, [test x$build_v6 = xyes])
+AM_CONDITIONAL(BUILD_XAW7, [test x$build_v7 = xyes])
+AM_CONDITIONAL(BUILD_XAW8, [test x$build_v8 = xyes])
+
+# Checks for header files.
+AC_HEADER_STDC
+
+AC_OUTPUT([Makefile
+ include/Makefile
+ man/Makefile
+ Xaw6/Makefile
+ Xaw7/Makefile
+ Xaw8/Makefile])
+
+if test "x$build_v6" = xyes; then
+ AC_OUTPUT(xaw6.pc)
+fi
+
+if test "x$build_v7" = xyes; then
+ AC_OUTPUT(xaw7.pc)
+fi
+
+if test "x$build_v8" = xyes; then
+ AC_OUTPUT(xaw8.pc)
+fi
diff --git a/include/Makefile.am b/include/Makefile.am
new file mode 100644
index 0000000..a3bdc1f
--- /dev/null
+++ b/include/Makefile.am
@@ -0,0 +1,79 @@
+xawincludedir=${includedir}/X11/Xaw
+
+xawinclude_HEADERS = \
+ X11/Xaw/AllWidgets.h \
+ X11/Xaw/AsciiSink.h \
+ X11/Xaw/AsciiSinkP.h \
+ X11/Xaw/AsciiSrc.h \
+ X11/Xaw/AsciiSrcP.h \
+ X11/Xaw/AsciiText.h \
+ X11/Xaw/AsciiTextP.h \
+ X11/Xaw/Box.h \
+ X11/Xaw/BoxP.h \
+ X11/Xaw/Cardinals.h \
+ X11/Xaw/Command.h \
+ X11/Xaw/CommandP.h \
+ X11/Xaw/Dialog.h \
+ X11/Xaw/DialogP.h \
+ X11/Xaw/Form.h \
+ X11/Xaw/FormP.h \
+ X11/Xaw/Grip.h \
+ X11/Xaw/GripP.h \
+ X11/Xaw/Label.h \
+ X11/Xaw/LabelP.h \
+ X11/Xaw/List.h \
+ X11/Xaw/ListP.h \
+ X11/Xaw/MenuButton.h \
+ X11/Xaw/MenuButtoP.h \
+ X11/Xaw/MultiSrc.h \
+ X11/Xaw/MultiSrcP.h \
+ X11/Xaw/MultiSink.h \
+ X11/Xaw/MultiSinkP.h \
+ X11/Xaw/Paned.h \
+ X11/Xaw/PanedP.h \
+ X11/Xaw/Panner.h \
+ X11/Xaw/PannerP.h \
+ X11/Xaw/Porthole.h \
+ X11/Xaw/PortholeP.h \
+ X11/Xaw/Repeater.h \
+ X11/Xaw/RepeaterP.h \
+ X11/Xaw/Reports.h \
+ X11/Xaw/Scrollbar.h \
+ X11/Xaw/ScrollbarP.h \
+ X11/Xaw/Simple.h \
+ X11/Xaw/SimpleP.h \
+ X11/Xaw/SimpleMenu.h \
+ X11/Xaw/SimpleMenP.h \
+ X11/Xaw/Sme.h \
+ X11/Xaw/SmeP.h \
+ X11/Xaw/SmeBSB.h \
+ X11/Xaw/SmeBSBP.h \
+ X11/Xaw/SmeLine.h \
+ X11/Xaw/SmeLineP.h \
+ X11/Xaw/StripChart.h \
+ X11/Xaw/StripCharP.h \
+ X11/Xaw/Template.h \
+ X11/Xaw/TemplateP.h \
+ X11/Xaw/Text.h \
+ X11/Xaw/TextP.h \
+ X11/Xaw/TextSink.h \
+ X11/Xaw/TextSinkP.h \
+ X11/Xaw/TextSrc.h \
+ X11/Xaw/TextSrcP.h \
+ X11/Xaw/Tip.h \
+ X11/Xaw/TipP.h \
+ X11/Xaw/Toggle.h \
+ X11/Xaw/ToggleP.h \
+ X11/Xaw/Tree.h \
+ X11/Xaw/TreeP.h \
+ X11/Xaw/VendorEP.h \
+ X11/Xaw/Viewport.h \
+ X11/Xaw/ViewportP.h \
+ X11/Xaw/XawImP.h \
+ X11/Xaw/XawInit.h
+
+if BUILD_XAW8
+xawinclude_HEADERS += \
+ X11/Xaw/Print.h \
+ X11/Xaw/PrintSP.h
+endif
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 0000000..a678c80
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1 @@
+man3_MANS = Xaw.man
diff --git a/xaw6.pc.in b/xaw6.pc.in
new file mode 100644
index 0000000..71f3d96
--- /dev/null
+++ b/xaw6.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Xaw
+Description: X Athena Widgets Library, version 6
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lXaw @XAW6_LIBS@
+Cflags: -I${includedir} @XAW6_CFLAGS@
diff --git a/xaw7.pc.in b/xaw7.pc.in
new file mode 100644
index 0000000..6d659e9
--- /dev/null
+++ b/xaw7.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Xaw
+Description: X Athena Widgets Library, version 7
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lXaw @XAW7_LIBS@
+Cflags: -I${includedir} @XAW7_CFLAGS@
diff --git a/xaw8.pc.in b/xaw8.pc.in
new file mode 100644
index 0000000..265fe12
--- /dev/null
+++ b/xaw8.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Xaw
+Description: X Athena Widgets Library
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lXaw @XAW8_LIBS@
+Cflags: -I${includedir} @XAW8_CFLAGS@