[svn] / trunk / xvidcore / build / generic / configure.in Repository:
ViewVC logotype

Diff of /trunk/xvidcore/build/generic/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1957, Fri Feb 25 13:10:18 2011 UTC revision 1971, Wed Apr 6 14:30:14 2011 UTC
# Line 74  Line 74 
74                    fi],                    fi],
75                   [assembly="yes"])                   [assembly="yes"])
76    
77    dnl pthread code
78    AC_ARG_ENABLE(pthread,
79                    AC_HELP_STRING([--disable-pthread],
80                                     [Disable pthread dependent code]),
81                     [if test "$enable_pthread" = "no" ; then
82                         pthread="no"
83                      else
84                         if test "$enable_pthread" = "yes" ; then
85                            pthread="yes"
86                         fi
87                      fi],
88                     [pthread="yes"])
89    
90  dnl Build as a module not a shared lib on darwin  dnl Build as a module not a shared lib on darwin
91  AC_ARG_ENABLE(macosx_module,  AC_ARG_ENABLE(macosx_module,
92                  AC_HELP_STRING([--enable-macosx_module],                  AC_HELP_STRING([--enable-macosx_module],
# Line 592  Line 605 
605  dnl  dnl
606  dnl ==========================================================================  dnl ==========================================================================
607    
608    if test x"$pthread" = x"yes" ; then
609  AC_CHECK_HEADER(  AC_CHECK_HEADER(
610          [pthread.h],          [pthread.h],
611          [AC_CHECK_LIB(          [AC_CHECK_LIB(
# Line 601  Line 615 
615                   SPECIFIC_LDFLAGS="$SPECIFIC_LDFLAGS -lpthread"],                   SPECIFIC_LDFLAGS="$SPECIFIC_LDFLAGS -lpthread"],
616                  AC_MSG_WARN(Pthread not supported. No SMP support))],                  AC_MSG_WARN(Pthread not supported. No SMP support))],
617          AC_MSG_WARN(Pthread not supported. No SMP support))          AC_MSG_WARN(Pthread not supported. No SMP support))
618    else
619       AC_MSG_WARN(Pthread support disabled. No SMP support)
620    fi
621    
622  dnl ==========================================================================  dnl ==========================================================================
623  dnl  dnl

Legend:
Removed from v.1957  
changed lines
  Added in v.1971

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4