Remove broken duplicate visibility configure option

This was added by commit f762b456 in 2007 and has been since implemented
in the server which returns it in XORG_CFLAGS

pkg-config --cflags xorg-server

The server also takes care of platforms and compilers being used.
Currently the visibility is set twice and even if you disable it,
it is still passed through XORG_CFLAGS.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
Gaetan Nadon
2011-11-16 19:15:17 -05:00
committed by Martin-Éric Racine
parent 970d142abe
commit 100576b3a0

View File

@@ -64,11 +64,6 @@ AC_ARG_ENABLE(geodegx-panel,
AC_ARG_ENABLE(werror, AC_HELP_STRING([--enable-werror],
[Treat warnings as errors (default: disabled)]),
[WERROR=$enableval], [WERROR=no])
AC_ARG_ENABLE(visibility,
AC_HELP_STRING([--enable-visibility],
[Enable GCC visibility optimizations]),
[ AMD_CFLAGS="$AMD_CFLAGS -fvisibility=hidden" ],
[ : ])
# Define a configure option to enable/disable ztv
AC_ARG_ENABLE(ztv,