2003-09-03 Marcus Brinkmann <marcus@g10code.de>

* gpgme-config.in: Use $libdir, not @libdir@, for the echo
	command.
This commit is contained in:
Marcus Brinkmann 2003-09-03 20:58:38 +00:00
parent 543f958169
commit e4045aa72f
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2003-09-03 Marcus Brinkmann <marcus@g10code.de> 2003-09-03 Marcus Brinkmann <marcus@g10code.de>
* gpgme-config.in: Use $libdir, not @libdir@, for the echo
command.
* gpgme-config.in: Rewritten. * gpgme-config.in: Rewritten.
* gpgme.m4: Rewritten. * gpgme.m4: Rewritten.

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# Copyright (C) 1999, 2002 Free Software Foundation, Inc. # Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc.
# #
# This file is free software; as a special exception the author gives # This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without # unlimited permission to copy and/or distribute it, with or without
@ -36,12 +36,12 @@ usage()
cat <<EOF cat <<EOF
Usage: gpgme-config [OPTIONS] Usage: gpgme-config [OPTIONS]
Options: Options:
[--thread={${thread_modules}}]
[--prefix] [--prefix]
[--exec-prefix] [--exec-prefix]
[--version] [--version]
[--libs] [--libs]
[--cflags] [--cflags]
[--thread={${thread_modules}}]
EOF EOF
exit $1 exit $1
} }
@ -84,7 +84,7 @@ while test $# -gt 0; do
output="$output $gpg_error_cflags" output="$output $gpg_error_cflags"
;; ;;
--libs) --libs)
output="$output -L@libdir@" output="$output -L$libdir"
case "$thread_module" in case "$thread_module" in
pthread) pthread)
output="$output -lgpgme-pthread $libs_pthread" output="$output -lgpgme-pthread $libs_pthread"