Changeset 547


Ignore:
Timestamp:
Mar 8, 2006, 10:26:46 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Let us do "caca-config --libs cucul" to get only the libcucul dependencies.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-config.in

    r527 r547  
    2525  exit $1
    2626}
     27
     28libs=""
    2729
    2830if test $# -eq 0
     
    6769      echo_libs=yes
    6870      ;;
     71    cucul)
     72      libs="$libs -lcucul @CUCUL_LIBS@"
     73      ;;
     74    caca)
     75      libs="$libs -lcaca @CACA_LIBS@ -lcucul @CUCUL_LIBS@"
     76      ;;
    6977    *)
    7078      usage 1 1>&2
     
    7381  shift
    7482done
     83
     84if test "$libs" = ""
     85then
     86  libs="-lcaca @CACA_LIBS@ -lcucul @CUCUL_LIBS@"
     87fi
    7588
    7689if test "$local_prefix" = "yes"
     
    106119if test "$echo_libs" = "yes"
    107120then
    108   echo -L@libdir@ -lcucul -lcaca @CUCUL_LIBS@ @CACA_LIBS@
     121  echo -L@libdir@ $libs
    109122fi
    110123
Note: See TracChangeset for help on using the changeset viewer.