Name Date Size #Lines LOC

..--

autoopts/H26-Jul-2015-1,334624

compat/H26-Jul-2015-933526

m4/H26-Jul-2015-553480

COPYING.lgplHD26-Jul-201525.8 KiB503418

COPYING.mbsdHD26-Jul-20151.3 KiB2722

MakeDefs.incHD26-Jul-20150

Makefile.amHD26-Jul-20151.2 KiB2523

Makefile.inHD26-Jul-201519.2 KiB580501

READMEHD26-Jul-20153.1 KiB9466

autoopts.cHD26-Jul-201533.2 KiB1,121509

autoopts.hHD26-Jul-201510.8 KiB388172

boolean.cHD26-Jul-20153.6 KiB10730

configfile.cHD26-Jul-201534.2 KiB1,291715

cook.cHD26-Jul-201511.1 KiB355146

enumeration.cHD26-Jul-201514 KiB499270

environment.cHD26-Jul-20158.6 KiB280119

genshell.cHD26-Jul-201511.4 KiB355242

genshell.hHD26-Jul-20155.2 KiB15066

libopts.cHD26-Jul-2015665 3130

load.cHD26-Jul-201515.7 KiB564273

makeshell.cHD26-Jul-201529.4 KiB1,123712

nested.cHD26-Jul-201519.1 KiB734458

numeric.cHD26-Jul-20153.2 KiB9418

pgusage.cHD26-Jul-20155 KiB15847

proto.hHD26-Jul-20151.9 KiB9260

putshell.cHD26-Jul-201512.1 KiB336154

restore.cHD26-Jul-20158.3 KiB251112

save.cHD26-Jul-201515.1 KiB522259

sort.cHD26-Jul-201511.2 KiB360176

stack.cHD26-Jul-20158.1 KiB270107

streqvcmp.cHD26-Jul-20159 KiB29098

text_mmap.cHD26-Jul-201510.2 KiB364180

tokenize.cHD26-Jul-20158.9 KiB322167

usage.cHD26-Jul-201521.4 KiB741389

version.cHD26-Jul-20155.4 KiB17969

README

1        THIS TARBALL IS NOT A FULL DISTRIBUTION.
2
3The contents of this tarball is designed to be incorporated into
4software packages that utilize the AutoOpts option automation
5package and are intended to be installed on systems that may not
6have libopts installed.  It is redistributable under the terms
7of either the LGPL (see COPYING.lgpl) or under the terms of
8the advertising clause free BSD license (see COPYING.mbsd).
9
10Usage Instructions for autoconf/automake/libtoolized projects:
11
121. Install the unrolled tarball into your package source tree,
13   copying ``libopts.m4'' to your autoconf macro directory.
14
15   In your bootstrap (pre-configure) script, you can do this:
16
17      rm -rf libopts libopts-*
18      gunzip -c `autoopts-config libsrc` | tar -xvf -
19      mv -f libopts-*.*.* libopts
20      cp -fp libopts/m4/*.m4 m4/.
21
22   I tend to put my configure auxiliary files in "m4".
23   Whatever directory you choose, if it is not ".", then
24   be sure to tell autoconf about it with:
25
26      AC_CONFIG_AUX_DIR(m4)
27
28   This is one macro where you *MUST* remember to *NOT* quote
29   the argument.  If you do, automake will get lost.
30
312. Add the following to your ``configure.ac'' file:
32
33      LIBOPTS_CHECK
34
35   or:
36
37      LIBOPTS_CHECK([relative/path/to/libopts])
38
39   This macro will automatically invoke
40
41      AC_CONFIG_FILES( [relative/path/to/libopts/Makefile] )
42
43   The default ``relative/path/to/libopts'' is simply
44   ``libopts''.
45
463. Add the following to your top level ``Makefile.am'' file:
47
48      if NEED_LIBOPTS
49         SUBDIRS += $(LIBOPTS_DIR)
50      endif
51
52   where ``<...>'' can be whatever other files or directories
53   you may need.  The SUBDIRS must be properly ordered.
54   *PLEASE NOTE* it is crucial that the SUBDIRS be set under the
55   control of an automake conditional.  To work correctly,
56   automake has to know the range of possible values of SUBDIRS.
57   It's a magical name with magical properties.  ``NEED_LIBOPTS''
58   will be correctly set by the ``LIBOPTS_CHECK'' macro, above.
59
604. Add ``$(LIBOPTS_CFLAGS)'' to relevant compiler flags and
61   ``$(LIBOPTS_LDADD)'' to relevant link options whereever
62   you need them in your build tree.
63
645. Make sure your object files explicitly depend upon the
65   generated options header file.  e.g.:
66
67     $(prog_OBJECTS) : prog-opts.h
68     prog-opts.h : prog-opts.c
69     prog-opts.c : prog-opts.def
70         autogen prog-opts.def
71
726. *OPTIONAL* --
73   If you are creating man pages and texi documentation from
74   the program options, you will need these rules somewhere, too:
75
76     man_MANS = prog.1
77     prog.1 : prog-opts.def
78         autogen -Tagman1.tpl -bprog prog-opts.def
79
80     prog-invoke.texi : prog-opts.def
81         autogen -Taginfo.tpl -bprog-invoke prog-opts.def
82
83If your package does not utilize the auto* tools, then you
84will need to hand craft the rules for building the library.
85
86LICENSING:
87
88This material is copyright 1993-2007 by Bruce Korb.
89You are licensed to use this under the terms of either
90the GNU Lesser General Public License (see: COPYING.lgpl), or,
91at your option, the modified Berkeley Software Distribution
92License (see:  COPYING.mbsd).  Both of these files should be
93included with this tarball.
94