diff options
| author | Robin KAY <komadori@users.sourceforge.net> | 2006-06-19 12:08:45 +0000 |
|---|---|---|
| committer | Robin KAY <komadori@users.sourceforge.net> | 2006-06-19 12:08:45 +0000 |
| commit | 467fae3a1d344e9ff7c5e8acb9c761eeb82b4460 (patch) | |
| tree | a45e83665656ea0d5286ac14297795984d645415 /configure.ac | |
| parent | 9f644d5d8ac3bac426fa73526833ed47295e2a81 (diff) | |
| download | xine-lib-467fae3a1d344e9ff7c5e8acb9c761eeb82b4460.tar.gz xine-lib-467fae3a1d344e9ff7c5e8acb9c761eeb82b4460.tar.bz2 | |
Mark text as impure where necessary to fix build under Solaris/IA32.
CVS patchset: 8060
CVS date: 2006/06/19 12:08:45
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f384150ce..a7193933f 100644 --- a/configure.ac +++ b/configure.ac @@ -1959,6 +1959,7 @@ case "$host_or_hostalias" in AC_DEFINE_UNQUOTED(ARCH_X86,,[Define this if you're running x86 architecture]) AC_DEFINE(FPM_INTEL,1,[Define to select libmad fixed point arithmetic implementation]) enable_ffmmx="yes" + enable_impure_text="yes" case "$host_or_hostalias" in *-*-cygwin) @@ -2087,7 +2088,23 @@ fi AC_SUBST(XINE_PLUGIN_MIN_SYMS) +dnl --------------------------------------------- +dnl Set IMPURE_TEXT_LDFLAGS +dnl --------------------------------------------- +IMPURE_TEXT_LDFLAGS="" +if test x"$enable_impure_text" = xyes; then + case "$host_or_hostalias" in + *solaris*) + if test "$GCC" = yes; then + IMPURE_TEXT_LDFLAGS="-mimpure-text" + else + IMPURE_TEXT_LDFLAGS="-z textoff" + fi + ;; + esac +fi +AC_SUBST(IMPURE_TEXT_LDFLAGS) dnl --------------------------------------------- dnl HAVE_ARMV4L is currently used in libavcodec makefile.am |
