Ignore:
Timestamp:
May 25, 2006, 9:11:18 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Removed --enable-network flag, but reused the test as a condition for building cacaserver.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r955 r976  
    178178  elif test "${enable_gl}" = "yes"; then
    179179    AC_MSG_ERROR([cannot find OpenGL+FreeGLUT development files])
    180   fi
    181 fi
    182 
    183 if test "${enable_network}" != "no"; then
    184   ac_cv_my_have_network="no"
    185   AC_CHECK_HEADERS(sys/socket.h,
    186      [ac_cv_my_have_network="yes"
    187       AC_DEFINE(USE_NETWORK, 1, Define to 1 to activate the network backend driver)
    188       CACA_DRIVERS="${CACA_DRIVERS} network"])
    189   if test "${ac_cv_my_have_network}" = "no" -a "${enable_network}" = "yes"; then
    190     AC_MSG_ERROR([cannot find standard networking socket files])
    191180  fi
    192181fi
     
    255244
    256245# Build cacaserver?
    257 ac_cv_my_have_fcntl="no"
    258 AC_CHECK_FUNC(fcntl,
    259  [ac_cv_my_have_fcntl="yes"])
    260 AM_CONDITIONAL(USE_FCNTL, test "${ac_cv_my_have_fcntl}" = "yes")
     246ac_cv_my_have_network="no"
     247AC_CHECK_HEADERS(sys/socket.h,
     248 [ac_cv_my_have_network="yes"])
     249AM_CONDITIONAL(USE_NETWORK, test "${ac_cv_my_have_network}" = "yes")
    261250
    262251# Use Imlib2?
Note: See TracChangeset for help on using the changeset viewer.