1 |
# |
# |
2 |
# Copyright (c) 2002 Nicolas Burrus <nes@lrde.epita.fr> |
# Copyright (c) 2002 Jean-Charles Salzeber <jc@varspool.net> |
3 |
# |
# |
4 |
# This file is part of pengfork program. |
# This file is part of pengfork program. |
5 |
# |
# |
18 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
19 |
# 02111-1307, USA. |
# 02111-1307, USA. |
20 |
# |
# |
21 |
|
# Nicolas Burrus <nes@lrde.epita.fr>, 2002 |
22 |
|
# |
23 |
|
|
24 |
# Autoconf 2.53 needed so that buggy PATH_SEPARATOR is fixed. |
# Autoconf 2.53 needed so that buggy PATH_SEPARATOR is fixed. |
25 |
AC_PREREQ(2.53) |
AC_PREREQ(2.53) |
187 |
GUILE_FLAGS |
GUILE_FLAGS |
188 |
CFLAGS="$CFLAGS $GUILE_CFLAGS" |
CFLAGS="$CFLAGS $GUILE_CFLAGS" |
189 |
LDFLAGS="$LDFLAGS $GUILE_LDFLAGS" |
LDFLAGS="$LDFLAGS $GUILE_LDFLAGS" |
|
AC_CONFIG_FILES([ src/modem/Makefile |
|
|
include/modem/Makefile]) |
|
190 |
fi |
fi |
191 |
AM_CONDITIONAL(BUILD_MODEM, test "$modem" = yes) |
AM_CONDITIONAL(BUILD_MODEM, test "$modem" = yes) |
192 |
|
|
203 |
|
|
204 |
if test "$cable" = yes; then |
if test "$cable" = yes; then |
205 |
AC_DEFINE([WITH_CABLE],,[ Enable/disable cable driver ]) |
AC_DEFINE([WITH_CABLE],,[ Enable/disable cable driver ]) |
|
AC_CONFIG_FILES([ src/cable/Makefile |
|
|
include/cable/Makefile]) |
|
206 |
fi |
fi |
207 |
AM_CONDITIONAL(BUILD_CABLE, test "$cable" = yes) |
AM_CONDITIONAL(BUILD_CABLE, test "$cable" = yes) |
208 |
|
|
220 |
|
|
221 |
if test "$dsl" = yes; then |
if test "$dsl" = yes; then |
222 |
AC_DEFINE([WITH_DSL],,[ Enable/disable DSL driver ]) |
AC_DEFINE([WITH_DSL],,[ Enable/disable DSL driver ]) |
|
AC_CONFIG_FILES([ src/dsl/Makefile]) |
|
223 |
fi |
fi |
224 |
AM_CONDITIONAL(BUILD_DSL, test "$dsl" = yes) |
AM_CONDITIONAL(BUILD_DSL, test "$dsl" = yes) |
225 |
|
|
237 |
|
|
238 |
if test "$tcpip" = yes; then |
if test "$tcpip" = yes; then |
239 |
AC_DEFINE([WITH_TCPIP],,[ Enable/disable TCP/IP driver ]) |
AC_DEFINE([WITH_TCPIP],,[ Enable/disable TCP/IP driver ]) |
|
AC_CONFIG_FILES([ src/tcpip/Makefile |
|
|
include/tcpip/Makefile]) |
|
240 |
fi |
fi |
241 |
AM_CONDITIONAL(BUILD_TCPIP, test "$tcpip" = yes) |
AM_CONDITIONAL(BUILD_TCPIP, test "$tcpip" = yes) |
242 |
|
|
254 |
|
|
255 |
if test "$tun" = yes; then |
if test "$tun" = yes; then |
256 |
AC_DEFINE([WITH_TUN],,[ Enable/disable tun driver ]) |
AC_DEFINE([WITH_TUN],,[ Enable/disable tun driver ]) |
|
AC_CONFIG_FILES([ src/tun/Makefile |
|
|
src/tun/linux/Makefile |
|
|
src/tun/openbsd/Makefile |
|
|
src/tun/freebsd/Makefile |
|
|
include/tun/Makefile]) |
|
257 |
fi |
fi |
258 |
AM_CONDITIONAL(BUILD_TUN, test "$tun" = yes) |
AM_CONDITIONAL(BUILD_TUN, test "$tun" = yes) |
259 |
|
|
270 |
|
|
271 |
if test "$p3" = yes; then |
if test "$p3" = yes; then |
272 |
AC_DEFINE([WITH_P3],,[ Enable/disable P3 protocol ]) |
AC_DEFINE([WITH_P3],,[ Enable/disable P3 protocol ]) |
|
AC_CONFIG_FILES([ src/p3/Makefile |
|
|
include/p3/Makefile]) |
|
273 |
fi |
fi |
274 |
AM_CONDITIONAL(BUILD_P3, test "$p3" = yes) |
AM_CONDITIONAL(BUILD_P3, test "$p3" = yes) |
275 |
|
|
287 |
|
|
288 |
if test "$l2tp" = yes; then |
if test "$l2tp" = yes; then |
289 |
AC_DEFINE([WITH_L2TP],,[ Enable/disable L2TP protocol ]) |
AC_DEFINE([WITH_L2TP],,[ Enable/disable L2TP protocol ]) |
|
AC_CONFIG_FILES([ src/l2tp/Makefile |
|
|
include/l2tp/Makefile]) |
|
290 |
fi |
fi |
291 |
AM_CONDITIONAL(BUILD_L2TP, test "$l2tp" = yes) |
AM_CONDITIONAL(BUILD_L2TP, test "$l2tp" = yes) |
292 |
|
|
358 |
src/Makefile |
src/Makefile |
359 |
src/iptunnel/Makefile |
src/iptunnel/Makefile |
360 |
src/fdo/Makefile |
src/fdo/Makefile |
361 |
|
src/modem/Makefile |
362 |
|
src/tcpip/Makefile |
363 |
|
src/cable/Makefile |
364 |
|
src/dsl/Makefile |
365 |
|
src/tun/Makefile |
366 |
|
src/tun/linux/Makefile |
367 |
|
src/tun/openbsd/Makefile |
368 |
|
src/tun/freebsd/Makefile |
369 |
|
src/p3/Makefile |
370 |
|
src/l2tp/Makefile |
371 |
include/Makefile |
include/Makefile |
372 |
include/fdo/Makefile |
include/fdo/Makefile |
373 |
include/iptunnel/Makefile]) |
include/iptunnel/Makefile |
374 |
|
include/modem/Makefile |
375 |
|
include/tcpip/Makefile |
376 |
|
include/cable/Makefile |
377 |
|
include/dsl/Makefile |
378 |
|
include/tun/Makefile |
379 |
|
include/p3/Makefile |
380 |
|
include/l2tp/Makefile]) |
381 |
AC_OUTPUT |
AC_OUTPUT |