2
# Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc.
4
# This file is free software; as a special exception the author gives
5
# unlimited permission to copy and/or distribute it, with or without
6
# modifications, as long as this notice is preserved.
8
# This file is distributed in the hope that it will be useful, but
9
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
exec_prefix=@exec_prefix@
15
includedir=@includedir@
23
Usage: gpg-error-config [OPTIONS]
34
if test $# -eq 0; then
38
while test $# -gt 0; do
41
optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
50
output="$output $prefix"
53
output="$output $exec_prefix"
60
if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then
61
output="$output -I$includedir"
65
if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then
66
output="$output -L$libdir"
68
output="$output -lgpg-error"