projects
/
platform
/
upstream
/
libtasn1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
068a94b
)
Support --la-file and --help with proper exit code.
author
Simon Josefsson
<simon@josefsson.org>
Mon, 26 Jun 2006 21:51:14 +0000
(21:51 +0000)
committer
Simon Josefsson
<simon@josefsson.org>
Mon, 26 Jun 2006 21:51:14 +0000
(21:51 +0000)
lib/libtasn1-config.in
patch
|
blob
|
history
diff --git
a/lib/libtasn1-config.in
b/lib/libtasn1-config.in
index
f616afe
..
8caa25d
100755
(executable)
--- a/
lib/libtasn1-config.in
+++ b/
lib/libtasn1-config.in
@@
-6,6
+6,7
@@
exec_prefix_set=no
tasn1_libs="@LIBTASN1_LIBS@"
tasn1_cflags="@LIBTASN1_CFLAGS@"
+tasn1_la_file="@libdir@/libtasn1.la"
usage()
{
@@
-58,6
+59,12
@@
while test $# -gt 0; do
--libs)
echo_libs=yes
;;
+ --la-file)
+ echo_la_file=yes
+ ;;
+ --help)
+ usage 0
+ ;;
*)
usage 1 1>&2
;;
@@
-85,6
+92,10
@@
if test "$echo_cflags" = "yes"; then
echo $includes $tasn1_cflags
fi
+if test "$echo_la_file" = "yes"; then
+ echo ${tasn1_la_file}
+fi
+
if test "$echo_libs" = "yes"; then
echo ${tasn1_libs}
fi