| @@ -25,6 +25,8 @@ EOF | |||||
| exit $1 | exit $1 | ||||
| } | } | ||||
| libs="" | |||||
| if test $# -eq 0 | if test $# -eq 0 | ||||
| then | then | ||||
| usage 1 1>&2 | usage 1 1>&2 | ||||
| @@ -66,6 +68,12 @@ do | |||||
| --libs | --plugin-libs) | --libs | --plugin-libs) | ||||
| echo_libs=yes | echo_libs=yes | ||||
| ;; | ;; | ||||
| cucul) | |||||
| libs="$libs -lcucul @CUCUL_LIBS@" | |||||
| ;; | |||||
| caca) | |||||
| libs="$libs -lcaca @CACA_LIBS@ -lcucul @CUCUL_LIBS@" | |||||
| ;; | |||||
| *) | *) | ||||
| usage 1 1>&2 | usage 1 1>&2 | ||||
| ;; | ;; | ||||
| @@ -73,6 +81,11 @@ do | |||||
| shift | shift | ||||
| done | done | ||||
| if test "$libs" = "" | |||||
| then | |||||
| libs="-lcaca @CACA_LIBS@ -lcucul @CUCUL_LIBS@" | |||||
| fi | |||||
| if test "$local_prefix" = "yes" | if test "$local_prefix" = "yes" | ||||
| then | then | ||||
| if test "$exec_prefix_set" != "yes" | if test "$exec_prefix_set" != "yes" | ||||
| @@ -105,6 +118,6 @@ fi | |||||
| if test "$echo_libs" = "yes" | if test "$echo_libs" = "yes" | ||||
| then | then | ||||
| echo -L@libdir@ -lcucul -lcaca @CUCUL_LIBS@ @CACA_LIBS@ | |||||
| echo -L@libdir@ $libs | |||||
| fi | fi | ||||