瀏覽代碼

* Let us do "caca-config --libs cucul" to get only the libcucul dependencies.

tags/v0.99.beta14
Sam Hocevar sam 18 年之前
父節點
當前提交
43fb548c8b
共有 1 個檔案被更改,包括 14 行新增1 行删除
  1. +14
    -1
      caca-config.in

+ 14
- 1
caca-config.in 查看文件

@@ -25,6 +25,8 @@ EOF
exit $1
}

libs=""

if test $# -eq 0
then
usage 1 1>&2
@@ -66,6 +68,12 @@ do
--libs | --plugin-libs)
echo_libs=yes
;;
cucul)
libs="$libs -lcucul @CUCUL_LIBS@"
;;
caca)
libs="$libs -lcaca @CACA_LIBS@ -lcucul @CUCUL_LIBS@"
;;
*)
usage 1 1>&2
;;
@@ -73,6 +81,11 @@ do
shift
done

if test "$libs" = ""
then
libs="-lcaca @CACA_LIBS@ -lcucul @CUCUL_LIBS@"
fi

if test "$local_prefix" = "yes"
then
if test "$exec_prefix_set" != "yes"
@@ -105,6 +118,6 @@ fi

if test "$echo_libs" = "yes"
then
echo -L@libdir@ -lcucul -lcaca @CUCUL_LIBS@ @CACA_LIBS@
echo -L@libdir@ $libs
fi


Loading…
取消
儲存