Changeset bb5b426170b2a666f4e132e2e62511abf922b6d0

Show
Ignore:
Timestamp:
02/26/08 03:11:57 (6 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1203991917 +0000
git-parent:

[28a41153e77335041ff45992e92e49f354b6f780]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1203991917 +0000
Message:

configure.ac: Backport the Mac OS X poll fix from cmake to autotools.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    r6de4ef9 rbb5b426  
    798798]) 
    799799 
    800 AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])]) 
     800dnl don't attemp to use poll on darwin, it can't poll a tty. select will do a better job. 
     801if test "${SYS}" != "darwin"; then 
     802  AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])]) 
     803fi 
    801804 
    802805dnl Check for dirent 
     
    53335336if test "x${enable_macosx}" = "xyes" 
    53345337then 
    5335   VLC_ADD_LDFLAGS([access_eyetv],                     [-Wl,-framework,Foundation]) 
     5338#  VLC_ADD_LDFLAGS([access_eyetv],                     [-Wl,-framework,Foundation]) 
    53365339  VLC_ADD_LDFLAGS([macosx minimal_macosx opengllayer],[-Wl,-framework,Cocoa]) 
    53375340  VLC_ADD_LDFLAGS([macosx minimal_macosx opengllayer],[-Wl,-framework,OpenGL]) 
     
    53455348  VLC_ADD_OBJCFLAGS([macosx minimal_macosx opengllayer growl], [-fobjc-exceptions] ) 
    53465349 
    5347   VLC_ADD_PLUGINS([access_eyetv]) 
     5350#  VLC_ADD_PLUGINS([access_eyetv]) 
    53485351  VLC_ADD_BUILTINS([macosx minimal_macosx]) 
    53495352