Changeset 1356


Ignore:
Timestamp:
Nov 12, 2006, 11:32:38 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Mention caca-config being deprecated in its manpage, and removed mention of --plugin-libs from it. The option is still here but does the same as --libs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/doc/caca-config.1

    r208 r1356  
    88[ --exec-prefix=
    99.IR DIR ]
    10 [ --version ] [ --libs | --plugin-libs ] [ --cflags ]
     10[ --version ] [ --libs ] [ --cflags ]
    1111.SH DESCRIPTION
    1212.B caca-config
     
    1414flags that should be used to compile and link progams, libraries, and
    1515plugins that use libcaca.
     16
     17The use of
     18.B caca-config
     19is deprecated. The more generic tool
     20.B pkg-config
     21should be used instead.
    1622.SH OPTIONS
    1723.TP
     
    2430.I DIR
    2531instead of the installation exec prefix that libcaca was build with when
    26 computing the output for the --cflags, --libs, and --plugin-libs options.
    27 This option must be specified before any of the --cflags, --libs, and
    28 --plugin-libs options.
     32computing the output for the --cflags and --libs options.
     33This option must be specified before any of the --cflags and --libs options.
    2934.TP
    3035.B --libs
    31 Print the linker flags that are necessary to link a program that uses
    32 libcaca.
    33 .TP
    34 .B --plugin-libs
    35 Print the linker flags that are necessary to link a libcaca-using object that
    36 is to be accessed via
    37 .IR dlopen (3).
    38 This may include static objects with PIC symbol information.  This option
    39 should
    40 .B not
    41 be used for standalone applications.
     36Print the linker flags that are necessary to link a program or library
     37that uses libcaca.
    4238.TP
    4339.BI --prefix= DIR
    4440If specified, use PREFIX instead of the installation prefix that libcaca
    45 was built with when computing the output for the --cflags, --libs,
    46 and --plugin-libs options.  This option is also used for the exec prefix
    47 if --exec-prefix was not specified.  This option must be specified before
    48 any of the --cflags, --libs, and --plugin-libs options.
     41was built with when computing the output for the --cflags and --libs
     42options.  This option is also used for the exec prefix if --exec-prefix
     43was not specified.  This option must be specified before any of the --cflags
     44and --libs options.
    4945.TP
    5046.B --version
     
    6157.B caca-config
    6258to link compiled objects into an executable program.
    63 .TP
    64 gcc -o libcaca_plugin.so $(caca-config --plugin-libs) caca_plugin.o stubs.o
    65 is how you might use
    66 .B caca-config
    67 to link compiled objects into a plugin for use by another program.
     59.SH SEE ALSO
     60pkg-config(1)
    6861.SH AUTHOR
    6962The libcaca library was written by Sam Hocevar <sam@zoy.org>.
Note: See TracChangeset for help on using the changeset viewer.