#! /bin/sh # # $Id: lib-config.in,v 1.3 2004/04/08 01:36:24 mdw Exp $ # # Provide configuration information for library clients # # (c) 1999 Straylight/Edgeware # #----- Licensing notice ----------------------------------------------------- # # This file is part of the Common Files Distribution (`common'). # # `Common' 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. # # `Common' 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 `common'; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #----- Configuration -------------------------------------------------------- prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ archincludedir=${libdir}/@LIBRARY@/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 ----------------------------------------------------