Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
45540e1d
...
45540e1d4744eaea8a86f7e7f03fc6f6f3000cf5
authored
2009-02-19 02:40:33 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
ssh://gray@git.savannah.gnu.org/srv/git/mailutils
2 parents
c1851318
72d640b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
config/mailutils-config.c
config/mailutils-config.c
View file @
45540e1
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2007 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002, 2007, 2009
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -116,7 +117,7 @@ struct lib_descr {
{
"pop"
,
"mu_pop"
,
NEEDAUTH
},
{
"nntp"
,
"mu_nntp"
,
0
},
{
"mailer"
,
"mu_mailer"
,
0
},
{
"sieve"
,
"
sieve"
,
NOTALL
},
{
"sieve"
,
"
mu_sieve"
,
NOTALL
},
{
NULL
}
};
...
...
@@ -145,7 +146,7 @@ add_entry (int level, char *ptr)
nentry
++
;
}
/* Sort the ent
ir
es by their level. */
/* Sort the ent
ri
es by their level. */
void
sort_entries
()
{
...
...
@@ -204,7 +205,7 @@ main (int argc, char **argv)
{
if
(
strcmp
(
argv
[
0
],
"auth"
)
==
0
)
{
add_entry
(
2
,
"-lmuauth "
AUTHLIBS
);
add_entry
(
2
,
"-lmu
_
auth "
AUTHLIBS
);
}
#ifdef WITH_GUILE
else
if
(
strcmp
(
argv
[
0
],
"guile"
)
==
0
)
...
...
@@ -213,9 +214,9 @@ main (int argc, char **argv)
}
#endif
else
if
(
strcmp
(
argv
[
0
],
"cfg"
)
==
0
)
add_entry
(
-
1
,
"-lmucfg"
);
add_entry
(
-
1
,
"-lmu
_
cfg"
);
else
if
(
strcmp
(
argv
[
0
],
"argp"
)
==
0
)
add_entry
(
-
2
,
"-lmuargp"
);
add_entry
(
-
2
,
"-lmu
_
argp"
);
else
if
(
strcmp
(
argv
[
0
],
"all"
)
==
0
)
{
struct
lib_descr
*
p
;
...
...
@@ -227,7 +228,7 @@ main (int argc, char **argv)
asprintf
(
&
ptr
,
"-l%s"
,
p
->
libname
);
add_entry
(
0
,
ptr
);
if
(
p
->
flags
&
NEEDAUTH
)
add_entry
(
2
,
"-lmuauth "
AUTHLIBS
);
add_entry
(
2
,
"-lmu
_
auth "
AUTHLIBS
);
}
}
else
...
...
@@ -243,7 +244,7 @@ main (int argc, char **argv)
asprintf
(
&
ptr
,
"-l%s"
,
p
->
libname
);
add_entry
(
0
,
ptr
);
if
(
p
->
flags
&
NEEDAUTH
)
add_entry
(
2
,
"-lmuauth "
AUTHLIBS
);
add_entry
(
2
,
"-lmu
_
auth "
AUTHLIBS
);
}
else
{
...
...
@@ -299,4 +300,3 @@ main (int argc, char **argv)
return
0
;
}
...
...
Please
register
or
sign in
to post a comment