configure.in
changeset 1875 4627eca2c02b
parent 1871 9ff9a58fa1e3
child 1879 cb232e63552c
     1.1 --- a/configure.in	Fri Jun 23 02:16:49 2006 +0000
     1.2 +++ b/configure.in	Fri Jun 23 02:19:52 2006 +0000
     1.3 @@ -876,7 +876,15 @@
     1.4              if test x$have_loadso != xyes && \
     1.5                 test x$enable_x11_shared = xyes; then
     1.6                  AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic X11 loading])
     1.7 +                enable_x11_shared=no
     1.8              fi
     1.9 +
    1.10 +            if test x$have_gcc_fvisibility != xyes && \
    1.11 +               test x$enable_x11_shared = xyes; then
    1.12 +                AC_MSG_WARN([You must have gcc4 (-fvisibility=hidden) for dynamic X11 loading])
    1.13 +                enable_x11_shared=no
    1.14 +            fi
    1.15 +
    1.16              if test x$have_loadso = xyes && \
    1.17                 test x$enable_x11_shared = xyes && test x$x11_lib != x && test x$x11ext_lib != x; then
    1.18                  echo "-- dynamic libX11 -> $x11_lib"