head 1.15; access; symbols MM_1_4_2:1.14 MM_1_4_1:1.14 MM_1_4_0:1.12 MM_1_3_1:1.11 MM_1_3_0:1.10 MM_1_2_2:1.10 MM_1_2_1:1.8 MM_1_2_0:1.8 MM_1_1_3:1.6 MM_1_1_2:1.6 MM_1_1_1:1.6 MM_1_1_0:1.6 MM_1_0_12:1.5 MM_1_0_11:1.5 MM_1_0_10:1.4 MM_1_0_9:1.4 MM_1_0_8:1.4 MM_1_0_7:1.4 MM_1_0_6:1.4 MM_1_0_5:1.4 MM_1_0_4:1.3 MM_1_0_3:1.3 MM_1_0_1:1.3 MM_1_0_0:1.3 MM_1_0b6:1.2 MM_1_0b5:1.2 MM_1_0b4:1.2 MM_1_0b3:1.1.1.1 MM_1_0b2plus:1.1.1.1 RSE:1.1.1; locks; strict; comment @# @; 1.15 date 2007.01.01.18.26.34; author rse; state Exp; branches; next 1.14; commitid xbmVq17WhC8zJP0s; 1.14 date 2006.08.10.19.07.30; author rse; state Exp; branches; next 1.13; commitid ysRHT1ytUkzAAkIr; 1.13 date 2006.08.10.19.00.33; author rse; state Exp; branches; next 1.12; commitid zS8gipIRuG1bykIr; 1.12 date 2005.09.02.20.00.46; author rse; state Exp; branches; next 1.11; 1.11 date 2004.09.12.18.35.01; author rse; state Exp; branches; next 1.10; 1.10 date 2002.12.19.09.25.23; author rse; state Exp; branches; next 1.9; 1.9 date 2002.12.19.09.14.58; author rse; state Exp; branches; next 1.8; 1.8 date 2002.07.26.09.59.34; author rse; state Exp; branches; next 1.7; 1.7 date 2001.01.29.20.27.22; author rse; state Exp; branches; next 1.6; 1.6 date 2000.01.09.20.19.40; author rse; state Exp; branches; next 1.5; 1.5 date 99.09.06.11.33.43; author rse; state Exp; branches; next 1.4; 1.4 date 99.06.02.12.11.12; author rse; state Exp; branches; next 1.3; 1.3 date 99.03.28.11.45.32; author rse; state Exp; branches; next 1.2; 1.2 date 99.03.15.15.18.39; author rse; state Exp; branches; next 1.1; 1.1 date 99.03.15.11.12.50; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.03.15.11.12.50; author rse; state Exp; branches; next ; desc @@ 1.15 log @Updated all copyright messages for year 2007 @ text @#!/bin/sh ## ## mm-config -- MM library build configuration utility ## ## ==================================================================== ## Copyright (c) 1999-2007 Ralf S. Engelschall ## Copyright (c) 1999-2007 The OSSP Project ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions ## are met: ## ## 1. Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## ## 2. Redistributions in binary form must reproduce the above copyright ## notice, this list of conditions and the following disclaimer in ## the documentation and/or other materials provided with the ## distribution. ## ## 3. All advertising materials mentioning features or use of this ## software must display the following acknowledgment: ## "This product includes software developed by ## Ralf S. Engelschall ." ## ## 4. Redistributions of any form whatsoever must retain the following ## acknowledgment: ## "This product includes software developed by ## Ralf S. Engelschall ." ## ## THIS SOFTWARE IS PROVIDED BY RALF S. ENGELSCHALL ``AS IS'' AND ANY ## EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR ## PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RALF S. ENGELSCHALL OR ## ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ## NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ## LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, ## STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED ## OF THE POSSIBILITY OF SUCH DAMAGE. ## ==================================================================== DIFS=' ' prefix="@@prefix@@" exec_prefix="@@exec_prefix@@" datarootdir="@@datarootdir@@" mm_prefix="$prefix" mm_libdir="@@libdir@@" mm_includedir="@@includedir@@" mm_mandir="@@mandir@@" mm_cflags="@@CFLAGS@@" mm_ldflags="@@LDFLAGS@@" mm_libs="@@LIBS@@" mm_version="@@MM_VERSION_STR@@" help=no version=no usage="mm-config [--help] [--version] [--all] [--cflags] [--ldflags] [--libs]" if [ $# -eq 0 ]; then echo "mm-config:Error: Invalid option" 1>&2 echo "mm-config:Usage: $usage" 1>&2 exit 1 fi output="" output_extra="" all=no prev='' OIFS="$IFS" IFS="$DIFS" for option do if [ ".$prev" != . ]; then eval "$prev=\$option" prev="" continue fi case "$option" in -*=*) optarg=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg='' ;; esac case "$option" in --help|-h) echo "Usage: $usage" echo "Report bugs to rse@@engelschall.com" exit 0 ;; --version|-v) echo "MM $mm_version" exit 0 ;; --all) all=yes ;; --cflags) output="$output -I$mm_includedir" output_extra="$output_extra $mm_cflags" ;; --ldflags) output="$output -L$mm_libdir" output_extra="$output_extra $mm_ldflags" ;; --libs) output="$output -lmm" output_extra="$output_extra $mm_libs" ;; * ) echo "mm-config:Error: Invalid option" 1>&2 echo "mm-config:Usage: $usage" 1>&2 exit 1; ;; esac done IFS="$OIFS" if [ ".$prev" != . ]; then echo "mm-config:Error: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2 exit 1 fi if [ ".$output" != . ]; then if [ ".$all" = .yes ]; then output="$output $output_extra" fi echo $output fi @ 1.14 log @GNU autoconf 2.60 wishes datarootdir @ text @d6 2 a7 2 ## Copyright (c) 1999-2006 Ralf S. Engelschall ## Copyright (c) 1999-2006 The OSSP Project @ 1.13 log @bump copyright for year 2006 @ text @d50 1 @ 1.12 log @adjust copyright year @ text @d6 2 a7 2 ## Copyright (c) 1999-2005 Ralf S. Engelschall ## Copyright (c) 1999-2005 The OSSP Project @ 1.11 log @adjust year in copyright messages @ text @d6 2 a7 2 ## Copyright (c) 1999-2004 Ralf S. Engelschall ## Copyright (c) 1999-2004 The OSSP Project @ 1.10 log @Updated all copyright messages with forthcoming year 2003, added OSSP project as secondary copyright holder, added standard OSSP ASCII-art logo to documents, etc. @ text @d6 2 a7 2 ## Copyright (c) 1999-2003 Ralf S. Engelschall ## Copyright (c) 1999-2003 The OSSP Project @ 1.9 log @Stripped trailing whitespaces from all files in source tree. @ text @d6 2 a7 1 ## Copyright (c) 1999-2002 Ralf S. Engelschall. All rights reserved. @ 1.8 log @bump copyright year @ text @d13 1 a13 1 ## notice, this list of conditions and the following disclaimer. d44 1 a44 1 DIFS=' d85 1 a85 1 --help|-h) d109 1 a109 1 * ) @ 1.7 log @*** empty log message *** @ text @d6 1 a6 1 ## Copyright (c) 1999-2001 Ralf S. Engelschall. All rights reserved. @ 1.6 log @*** empty log message *** @ text @d6 1 a6 1 ## Copyright (c) 1999-2000 Ralf S. Engelschall. All rights reserved. @ 1.5 log @*** empty log message *** @ text @d6 1 a6 1 ## Copyright (c) 1999 Ralf S. Engelschall. All rights reserved. @ 1.4 log @*** empty log message *** @ text @d3 1 a3 2 ## mm-config -- MM library build configuration utility ## Copyright (c) 1999 Ralf S. Engelschall, All Rights Reserved. d5 39 d62 1 a62 1 usage="$0 [--help] [--version] [--cflags] [--ldflags] [--libs]" d64 2 a65 2 echo "$0:Error: Invalid option" 1>&2 echo "$0:Usage: $usage" 1>&2 d68 3 d86 3 a88 2 echo "$0:Usage: $usage" exit 1 d94 3 d98 2 a99 1 echo "-I$mm_includedir" d102 2 a103 1 echo "-L$mm_libdir" d106 2 a107 1 echo "-lmm" d110 2 a111 2 echo "$0:Error: Invalid option" 1>&2 echo "$0:Usage: $usage" 1>&2 d118 1 a118 1 echo "$0:Error: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2 d120 6 @ 1.3 log @*** empty log message *** @ text @d70 1 a70 1 echo "$-1:${T_MD}Error${T_ME}: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2 @ 1.2 log @*** empty log message *** @ text @d6 1 a6 1 DIFS=' d24 1 a24 1 usage="$0 [--help] [--version] [--cflags] [--ldflags]" d46 1 a46 1 exit -1; @ 1.1 log @Initial revision @ text @d56 4 a59 1 echo "-L$mm_libdir -lmm" @ 1.1.1.1 log @Import into CVS @ text @@