Ignore:
Timestamp:
Mar 8, 2006, 9:03:24 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added very preliminary network driver
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r545 r554  
    3737AC_ARG_ENABLE(gl,
    3838  [  --enable-gl             OpenGL support (autodetected)])
     39AC_ARG_ENABLE(network,
     40  [  --enable-network        Network support (autodetected)])
    3941
    4042dnl example programs features
     
    138140fi
    139141
     142if test "${enable_network}" != "no"; then
     143  ac_cv_my_have_network="no"
     144  AC_CHECK_HEADERS(sys/socket.h,
     145     [ac_cv_my_have_network="yes"
     146      AC_DEFINE(USE_NETWORK, 1, Define to activate the network backend driver)
     147      CACA_DRIVERS="${CACA_DRIVERS} network"])
     148  if test "${ac_cv_my_have_network}" = "no" -a "${enable_network}" = "yes"; then
     149    AC_MSG_ERROR([cannot find standard networking socket files])
     150  fi
     151fi
     152
    140153if test "${enable_ncurses}" != "no"; then
    141154  ac_cv_my_have_ncurses="no"
Note: See TracChangeset for help on using the changeset viewer.