Changeset 57ab1681713f288856803392ae58dccc2aa8654b

Show
Ignore:
Timestamp:
03/04/06 14:31:59 (2 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1141479119 +0000
git-parent:

[078efe2d20dad545399ee47a8f5993170efd9079]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1141479119 +0000
Message:

Don't BUILD_PIC when the platform doesn't need PIC

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    r4cdccd0 r57ab168  
    52325232AS_IF([test "x${enable_shared_libvlc}" = "x"], [enable_shared_libvlc=no]) 
    52335233AM_CONDITIONAL(BUILD_SHARED, [test "${enable_shared_libvlc}" != "no"]) 
    5234 AM_CONDITIONAL(BUILD_PIC, [test "${build_pic}" = "yes" -o "${enable_shared_libvlc}" != "no"] ) 
    52355234AS_IF([test "${enable_shared_libvlc}" != "no" || test "${enable_libtool}" != "no"], [ 
    52365235  AC_DEFINE(HAVE_SHARED_LIBVLC, 1, [Define to 1 if libvlc is built as a shared library.]) 
     
    52385237 
    52395238pic=no 
    5240 AS_IF([test "${enable_shared_libvlc}" != "no" -o "${build_pic}" = "yes"], [pic=pic]) 
     5239AS_IF([test "${build_pic}" = "yes"], [pic=pic]) 
    52415240AS_IF([test "${SYS}" = "mingw32"], [pic=no]) 
    52425241AS_IF([test "${pic}" = "no"], [pic=]) 
    52435242AC_SUBST(pic) 
     5243 
     5244AM_CONDITIONAL(BUILD_PIC, [test "${build_pic}" = "yes" && test "x${pic}" = "xpic"]) 
    52445245 
    52455246dnl Import conditional variables generated by bootstrap