From c7082a1fca869f4b5e3710beb8cdf1c2153d9303 Mon Sep 17 00:00:00 2001 From: mdw Date: Thu, 11 Nov 1999 17:38:31 +0000 Subject: [PATCH] New library configuration system. --- catacomb-config.in | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100755 catacomb-config.in diff --git a/catacomb-config.in b/catacomb-config.in new file mode 100755 index 0000000..dbcd691 --- /dev/null +++ b/catacomb-config.in @@ -0,0 +1,106 @@ +#! /bin/sh +# +# $Id: catacomb-config.in,v 1.1 1999/11/11 17:38:31 mdw Exp $ +# +# Provide configuration information for Catacomb clients +# +# (c) 1999 Straylight/Edgeware +# + +#----- Licensing notice ----------------------------------------------------- +# +# This file is part of Catacomb. +# +# Catacomb 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. +# +# Catacomb 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 Catacomb; if not, write to the Free +# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +# MA 02111-1307, USA. + +#----- Revision history ----------------------------------------------------- +# +# $Log: catacomb-config.in,v $ +# Revision 1.1 1999/11/11 17:38:31 mdw +# New library configuration system. +# + +#----- Configuration -------------------------------------------------------- + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ +archincludedir=${libdir}/catacomb/include + +VERSION=@VERSION@ + +#----- Command-line parsing and output -------------------------------------- + +ego=`echo "$0" | sed 's:.*/::'` + +if [ -z "${1+x}" ]; then + echo >&2 "Usage: $ego OPTION" + echo >&2 "Run \`$ego --help' for more information." + exit 1 +fi + +case "$1" in + --help) + cat <&2 "$ego: unrecognized option \`$1'" + exit 1 +esac + +#----- That's all, folks ---------------------------------------------------- -- 2.11.0