mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
Check for all four values of the visibility attribute; gcc 2.96 seems to
2004-08-17 Matthias Clasen <mclasen@redhat.com> * configure.in: Check for all four values of the visibility attribute; gcc 2.96 seems to miss "default". (#150379, Vincent Noel)
This commit is contained in:
parent
7a6abe42e4
commit
a272e118cc
@ -1,3 +1,9 @@
|
||||
2004-08-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Check for all four values of the
|
||||
visibility attribute; gcc 2.96 seems to miss
|
||||
"default". (#150379, Vincent Noel)
|
||||
|
||||
2004-08-16 Christian Rose <menthos@menthos.com>
|
||||
|
||||
* configure.in: Added "bs" to ALL_LINGUAS.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-08-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Check for all four values of the
|
||||
visibility attribute; gcc 2.96 seems to miss
|
||||
"default". (#150379, Vincent Noel)
|
||||
|
||||
2004-08-16 Christian Rose <menthos@menthos.com>
|
||||
|
||||
* configure.in: Added "bs" to ALL_LINGUAS.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-08-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Check for all four values of the
|
||||
visibility attribute; gcc 2.96 seems to miss
|
||||
"default". (#150379, Vincent Noel)
|
||||
|
||||
2004-08-16 Christian Rose <menthos@menthos.com>
|
||||
|
||||
* configure.in: Added "bs" to ALL_LINGUAS.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-08-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Check for all four values of the
|
||||
visibility attribute; gcc 2.96 seems to miss
|
||||
"default". (#150379, Vincent Noel)
|
||||
|
||||
2004-08-16 Christian Rose <menthos@menthos.com>
|
||||
|
||||
* configure.in: Added "bs" to ALL_LINGUAS.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-08-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Check for all four values of the
|
||||
visibility attribute; gcc 2.96 seems to miss
|
||||
"default". (#150379, Vincent Noel)
|
||||
|
||||
2004-08-16 Christian Rose <menthos@menthos.com>
|
||||
|
||||
* configure.in: Added "bs" to ALL_LINGUAS.
|
||||
|
23
configure.in
23
configure.in
@ -672,13 +672,30 @@ AC_MSG_CHECKING(for GNUC visibility attribute)
|
||||
GLIB_CHECK_COMPILE_WARNINGS([
|
||||
void
|
||||
__attribute__ ((visibility ("hidden")))
|
||||
f (void)
|
||||
f_hidden (void)
|
||||
{
|
||||
}
|
||||
void
|
||||
__attribute__ ((visibility ("internal")))
|
||||
f_internal (void)
|
||||
{
|
||||
}
|
||||
void
|
||||
__attribute__ ((visibility ("protected")))
|
||||
f_protected (void)
|
||||
{
|
||||
}
|
||||
void
|
||||
__attribute__ ((visibility ("default")))
|
||||
f_default (void)
|
||||
{
|
||||
}
|
||||
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
f();
|
||||
f_hidden();
|
||||
f_internal();
|
||||
f_protected();
|
||||
f_default();
|
||||
return 0;
|
||||
}
|
||||
],g_have_gnuc_visibility=yes,g_have_gnuc_visibility=no)
|
||||
|
Loading…
Reference in New Issue
Block a user