From: mdw Date: Sun, 21 Nov 1999 13:47:30 +0000 (+0000) Subject: Configuration script for mgLib clients. X-Git-Tag: 1.1.0^0 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mgLib/commitdiff_plain/f5917fcb7f92d10f6bd9d12476f38c2db65117f9 Configuration script for mgLib clients. --- diff --git a/mgLib-config.in b/mgLib-config.in new file mode 100755 index 0000000..e7d339f --- /dev/null +++ b/mgLib-config.in @@ -0,0 +1,105 @@ +#! /bin/sh +# +# $Id: mgLib-config.in,v 1.1 1999/11/21 13:47:30 mdw Exp $ +# +# Provide configuration information for mgLib clients +# +# (c) 1999 Straylight/Edgeware +# + +#----- Licensing notice ----------------------------------------------------- +# +# This file is part of mgLib. +# +# mgLib 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. +# +# mgLib 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 mgLib; if not, write to the Free +# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +# MA 02111-1307, USA. + +#----- Revision history ----------------------------------------------------- +# +# $Log: mgLib-config.in,v $ +# Revision 1.1 1999/11/21 13:47:30 mdw +# Configuration script for mgLib clients. +# + +#----- Configuration -------------------------------------------------------- + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +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 ----------------------------------------------------