2979 |
|
|
2980 |
When invoked without arguments, it produces the flags necessary to |
When invoked without arguments, it produces the flags necessary to |
2981 |
link against the basic library of Mailutils: @file{libmailbox}. |
link against the basic library of Mailutils: @file{libmailbox}. |
2982 |
Up to two arguments may be given that alter this behavior. These |
Arguments may be given that alter this behavior. These are: |
|
are: |
|
2983 |
|
|
2984 |
@table @samp |
@table @samp |
2985 |
|
|
2986 |
@item auth |
@item auth |
2987 |
Print flags to link against @file{libmuauth}, the library adding new |
Print flags to link against @file{libmuauth}, the library adding new |
2988 |
authentication methods to @file{libmailbox}. |
authentication methods to @file{libmailbox}. |
2989 |
|
|
2990 |
@item guile |
@item guile |
2991 |
Print flags to link against @file{libmu_scm}, the Guile interface |
Print flags to link against @file{libmu_scm}, the Guile interface |
2992 |
library. |
library. |
2993 |
|
|
2994 |
|
@item mbox |
2995 |
|
Link against @code{mbox} format library. |
2996 |
|
|
2997 |
|
@item mh |
2998 |
|
Link against @code{mh} format library. |
2999 |
|
|
3000 |
|
@item maildir |
3001 |
|
Link against @code{maildir} format library. |
3002 |
|
|
3003 |
|
@item imap |
3004 |
|
Link against @code{imap} format library. |
3005 |
|
|
3006 |
|
@item pop |
3007 |
|
Link against @code{pop} format library. |
3008 |
|
|
3009 |
|
@item all |
3010 |
|
Link against all Mailutils format libraries. |
3011 |
@end table |
@end table |
3012 |
|
|
3013 |
Both arguments may be given simultaneously, e.g.: |
The order of arguments does not matter. |
3014 |
|
|
3015 |
|
For example, if you wrote a program @file{myprog.c} that uses |
3016 |
|
standard @sc{unix} mailbox format, @sc{mh} format and the |
3017 |
|
Guile interface, then you would link it with the following |
3018 |
|
command: |
3019 |
|
|
3020 |
@example |
@example |
3021 |
cc -omyprog myprog.o `mailutils-config --link auth guile` |
cc -omyprog myprog.o `mailutils-config --link mbox mh guile` |
3022 |
@end example |
@end example |
3023 |
|
|
3024 |
@node General Information |
@node General Information |