More changes to compile without kernel source

master
keil 21 years ago
parent db60777e01
commit 36aff477ea
  1. 1
      capiinfo/Makefile.cvs
  2. 1
      capiinfo/Makefile.in
  3. 4555
      capiinfo/configure
  4. 2
      capiinfo/configure.in
  5. 42
      etc/ackernel.m4
  6. 3
      eurofile/Rules.make.in
  7. 4520
      eurofile/configure
  8. 4
      eurofile/configure.in
  9. 3
      eurofile/scripts/eftp.sh.in
  10. 5
      eurofile/src/Makefile
  11. 4
      imontty/Makefile
  12. 3
      ipppd/configure
  13. 4
      iprofd/Makefile.in
  14. 1
      iprofd/aclocal.m4
  15. 3626
      iprofd/configure
  16. 8
      iprofd/configure.in
  17. 4
      isdnctrl/Makefile.in
  18. 6
      isdnctrl/aclocal.m4
  19. 3911
      isdnctrl/configure
  20. 2
      isdnctrl/configure.in
  21. 4
      rcapid/Makefile.am
  22. 1
      xisdnload/Makefile.in
  23. 3
      xmonisdn/Makefile.in

@ -50,7 +50,6 @@ NORMAL_UNINSTALL = true
PRE_UNINSTALL = true
POST_UNINSTALL = true
CC = gcc
CONFIG_KERNELDIR = /usr/src/linux
CONFIG_MANDIR = /usr/man
CONFIG_SBINDIR = /sbin
I4LCONFDIR = /etc/isdn

@ -58,7 +58,6 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
CC = @CC@
CONFIG_KERNELDIR = @CONFIG_KERNELDIR@
CONFIG_MANDIR = @CONFIG_MANDIR@
CONFIG_SBINDIR = @CONFIG_SBINDIR@
I4LCONFDIR = @I4LCONFDIR@

4555
capiinfo/configure vendored

File diff suppressed because it is too large Load Diff

@ -5,7 +5,6 @@ AC_PREFIX_DEFAULT(/usr)
I4LCONFDIR=`eval echo ${CONFIG_I4LCONFDIR:-"/etc/isdn"}`
I4LVERSION=${I4LVERSION:-"?.?"}
CONFIG_KERNELDIR=${CONFIG_KERNELDIR:-"/usr/src/linux"}
CONFIG_SBINDIR=${CONFIG_SBINDIR:-"/sbin"}
CONFIG_MANDIR=${CONFIG_MANDIR:-"/usr/man"}
#MANDATE=`grep CHECKIN isdnctrl.man.in | awk '{print $4}'`
@ -41,7 +40,6 @@ AC_ARG_WITH(man,
AC_SUBST(INSTALL)
AC_SUBST(I4LCONFDIR)
AC_SUBST(I4LVERSION)
AC_SUBST(CONFIG_KERNELDIR)
AC_SUBST(CONFIG_SBINDIR)
AC_SUBST(CONFIG_MANDIR)
AM_CONFIG_HEADER(config.h)

@ -1,42 +0,0 @@
dnl
dnl Try finding linux sourcetree
dnl
AC_DEFUN(AC_FIND_KERNEL, [
OLD_CPPFLAGS="$CPPFLAGS"
lxdir="no"
eval tst_kerneldir=$CONFIG_KERNELDIR
AC_ARG_WITH(kernel,
[ --with-kernel=DIR Set kernel source directory [/usr/src/linux]],
DOTEST="y"; tst_kerneldir="${withval}")
if test "$DOTEST" = "y" || test "$CONFIG_KERNELDIR" != "" ; then
AC_MSG_CHECKING([for linux kernel source in ${tst_kerneldir}])
CPPFLAGS="-nostdinc -I${tst_kerneldir}/include -I${tst_kerneldir}/drivers/isdn"
AC_TRY_CPP([#include <isdn_common.h>], lxdir=${tst_kerneldir},
AC_MSG_RESULT("no"))
fi
if test "$lxdir" = "no" ; then
AC_MSG_CHECKING([for linux kernel source in /usr/src/linux])
CPPFLAGS="-nostdinc -I/usr/src/linux/include -I/usr/src/linux/drivers/isdn"
AC_TRY_CPP([#include <isdn_common.h>], lxdir=/usr/src/linux)
fi
if test "$lxdir" = "no" ; then
AC_MSG_RESULT("$lxdir")
AC_MSG_CHECKING([for linux kernel source in /usr/local/src/linux])
CPPFLAGS="-nostdinc -I/usr/local/src/linux/include -I/usr/local/src/linux/drivers/isdn"
AC_TRY_CPP([#include <isdn_common.h>], lxdir=/usr/local/src/linux)
fi
if test "$lxdir" != "no" ; then
AC_MSG_RESULT("yes")
else
lxdir=""
AC_MSG_ERROR("Kernel source not found. You MUST specify a correct path to the linux source in the configuration.")
fi
CONFIG_KERNELDIR="$lxdir"
CPPFLAGS="$OLD_CPPFLAGS"
AC_DEFINE_UNQUOTED(CONFIG_KERNELDIR,"$lxdir")
AC_SUBST(CONFIG_KERNELDIR)
])

@ -1,5 +1,5 @@
# @configure_input@
# generated from $Id: Rules.make.in,v 1.4 1999/10/08 00:31:04 he Exp $
# generated from $Id: Rules.make.in,v 1.5 2002/07/19 21:23:52 keil Exp $
CRYPTLIB = @LIBCRYPT@
CONFIG_EFTD = @CONFIG_EFTD@
CONFIG_EFTD_WUAUTH = @CONFIG_EFTD_WUAUTH@
@ -25,7 +25,6 @@ SBINDIR = @SBINDIR@
BINDIR = @BINDIR@
RUNDIR = @RUNDIR@
SYSVINIT_RC_DIR = @SYSVINIT_RC_DIR@
KERNELDIR = @KERNELDIR@
I4LCONFDIR = @I4LCONFDIR@

4520
eurofile/configure vendored

File diff suppressed because it is too large Load Diff

@ -2,7 +2,7 @@ dnl
dnl Process this file with autoconf to produce a configure script.
dnl
AC_REVISION($Id: configure.in,v 1.9 2000/09/08 08:46:08 paul Exp $)dnl
AC_REVISION($Id: configure.in,v 1.10 2002/07/19 21:23:52 keil Exp $)dnl
AC_INIT(COPYING.authlib)
@ -44,7 +44,6 @@ I4LCONFDIR=`eval echo ${CONFIG_I4LCONFDIR:-"/etc/isdn"}`
I4LVERSION=${I4LVERSION:-"?.?"}
BINDIR=`eval echo ${CONFIG_BINDIR:-'\\${bindir}'}`
SBINDIR=`eval echo ${CONFIG_SBINDIR:-'\\${sbindir}'}`
KERNELDIR=`eval echo ${CONFIG_KERNELDIR:-"/usr/src/linux"}`
dnl RUNDIR=`eval echo ${CONFIG_RUNDIR:-'\\${localstatedir}/run'}`
dnl enforce a unique dire for pidfiles, independent of install patch
RUNDIR=`eval echo ${CONFIG_RUNDIR:-"/var/run"}`
@ -109,7 +108,6 @@ AC_SUBST(I4LCONFDIR)
AC_SUBST(EFT_TOPDIR)
AC_SUBST_FILE(EFT_AUTOCONF_WARNING)
AC_SUBST(I4LVERSION)
AC_SUBST(KERNELDIR)
AC_SUBST(BINDIR)
AC_SUBST(SBINDIR)

@ -4,7 +4,7 @@
#
@EFT_AUTOCONF_WARNING@
#
# generated from $Id: eftp.sh.in,v 1.3 1999/07/26 22:04:46 he Exp $
# generated from $Id: eftp.sh.in,v 1.4 2002/07/19 21:23:53 keil Exp $
#
# This opens an eurofile session to a remote eurofile server
#
@ -46,7 +46,6 @@ KHOME=/home/kernel
# "x25-on-top-of-isdn"-extensions is located. (To override the default
# location set the environment variable KERNEL before calling this script)
#
KERNEL=${KERNEL:-linux-ix25}
#
#Where the x25 utility package is located
#

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.3 1999/10/08 00:31:05 he Exp $
# $Id: Makefile,v 1.4 2002/07/19 21:23:53 keil Exp $
SHELL = /bin/sh
@ -14,11 +14,10 @@ CURRENT_DIR := $(shell pwd)
EFT_LIBDIR = $(CURRENT_DIR)/eft
EFT_INCDIR = $(CURRENT_DIR)/eft/include
EFT_AUTHDIR = $(CURRENT_DIR)/wuauth
KERNEL_INCDIR = $(KERNELDIR)/include
CFLAGS += -g -Wall
export EFT_LIBDIR EFT_INCDIR EFT_AUTHDIR CONFIG_EFTP_READLINE CONFIG_EFTD_WUAUTH CRYPTLIB CFLAGS KERNEL_INCDIR INSTALL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SYSVINIT_RC_DIR prefix exec_prefix bindir sbindir BINDIR SBINDIR CONFIG_EFTP_SETUID
export EFT_LIBDIR EFT_INCDIR EFT_AUTHDIR CONFIG_EFTP_READLINE CONFIG_EFTD_WUAUTH CRYPTLIB CFLAGS INSTALL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SYSVINIT_RC_DIR prefix exec_prefix bindir sbindir BINDIR SBINDIR CONFIG_EFTP_SETUID
LIBDIRS = eft wuauth
CLIENTDIRS = eftp

@ -2,7 +2,7 @@
#
# (c) 1995-97 Volker Götz
#
# $Id: Makefile,v 1.6 2002/01/31 18:58:56 paul Exp $
# $Id: Makefile,v 1.7 2002/07/19 21:23:53 keil Exp $
ifeq (../.config,$(wildcard ../.config))
#
@ -22,7 +22,7 @@ INSTALL=install
INSTALL_MAN=$(INSTALL) -o 0 -g 0 -m 0644
MANPAGE=imontty.8
CCFLAGS=-O2 -I$(CONFIG_KERNELDIR)/include
CCFLAGS=-O2
#CCFLAGS=-I$(ISDN_INCLUDE) -g
# nothing to change behind this line

3
ipppd/configure vendored

@ -1200,7 +1200,6 @@ MANDATE=`grep CHECKIN ipppd.man.in | awk '{print $4}'`
CONFIG_MANDIR=`eval echo ${CONFIG_MANDIR:-"/usr/man"}`
CONFIG_SBINDIR=`eval echo ${CONFIG_SBINDIR:-"/sbin"}`
CONFIG_RUNDIR=`eval echo ${CONFIG_RUNDIR:-"/var/run"}`
CONFIG_KERNELDIR=`eval echo ${CONFIG_KERNELDIR:-"/usr/src/linux"}`
CONFIG_IPPPD_MSCHAP=${CONFIG_IPPPD_MSCHAP:-"n"}
CONFIG_IPPPD_RADIUS=${CONFIG_IPPPD_RADIUS:-"n"}
CONFIG_RADIUS_WTMP_LOGGING=${CONFIG_RADIUS_WTMP_LOGGING:-"n"}
@ -2066,8 +2065,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
AC_FIND_KERNEL
echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.4 1998/09/26 18:28:21 akool Exp $
# $Id: Makefile.in,v 1.5 2002/07/19 21:23:53 keil Exp $
#
# Makefile for iprofd
# (C) 1997 Fritz Elfert
@ -6,7 +6,7 @@
#
SHELL = /bin/sh
CFLAGS = -Wall -O2
INCLUDES = -I. -I@CONFIG_KERNELDIR@/include
INCLUDES = -I.
LDFLAGS = -L../lib @LIBS@
PROGRAM = iprofd
MODULES = iprofd.o

1
iprofd/aclocal.m4 vendored

@ -1 +0,0 @@
sinclude(../etc/ackernel.m4)dnl

3626
iprofd/configure vendored

File diff suppressed because it is too large Load Diff

@ -5,7 +5,6 @@ AC_PREFIX_DEFAULT(/usr)
I4LVERSION=${I4LVERSION:-"?.?"}
CONFIG_SBINDIR=${CONFIG_SBINDIR:-"/sbin"}
CONFIG_MANDIR=${CONFIG_MANDIR:-"/usr/man"}
CONFIG_KERNELDIR=`eval echo ${CONFIG_KERNELDIR:-"/usr/src/linux"}`
MANDATE=`grep CHECKIN iprofd.man.in | awk '{print $4}'`
dnl Checks for programs.
@ -18,12 +17,6 @@ dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(sys/ioctl.h unistd.h)
dnl Find current kernel source
dnl AC_FIND_KERNEL
dnl AC_CHECK_FILE($CONFIG_KERNELDIR/include/linux/isdn.h,,
dnl AC_MSG_ERROR("$CONFIG_KERNELDIR/include/linux/isdn.h missing. Kernel installed?")
dnl)
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
@ -48,5 +41,4 @@ AC_SUBST(MANDATE)
AC_SUBST(I4LVERSION)
AC_SUBST(CONFIG_SBINDIR)
AC_SUBST(CONFIG_MANDIR)
AC_SUBST(CONFIG_KERNELDIR)
AC_OUTPUT(Makefile iprofd.man)

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.19 2002/01/31 19:49:57 paul Exp $
# $Id: Makefile.in,v 1.20 2002/07/19 21:23:54 keil Exp $
#
# Makefile for isdnctrl
# (C) 1997 Fritz Elfert
@ -6,7 +6,7 @@
#
SHELL = /bin/sh
CFLAGS = -Wall -O2
INCLUDES = -I. -I@CONFIG_KERNELDIR@/include
INCLUDES = -I.
LDFLAGS = @LIBS@
PROGRAM = isdnctrl
MODULES = isdnctrl.o

@ -1,11 +1,7 @@
sinclude(../etc/ackernel.m4)dnl
AC_DEFUN(AC_CHECK_TIMRU, [
OLD_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="-nostdinc -I${CONFIG_KERNELDIR}/include"
have_timru="no"
AC_MSG_CHECKING([for TIMRU in ${CONFIG_KERNELDIR}/include/linux/isdn.h])
AC_MSG_CHECKING([for TIMRU in linux/isdn.h])
AC_TRY_COMPILE([#include <linux/isdn.h>],int x = IIOCNETARU;,have_timru="yes",)
AC_MSG_RESULT("${have_timru}")
CPPFLAGS="$OLD_CPPFLAGS"

3911
isdnctrl/configure vendored

File diff suppressed because it is too large Load Diff

@ -5,7 +5,6 @@ AC_PREFIX_DEFAULT(/usr)
I4LCONFDIR=`eval echo ${CONFIG_I4LCONFDIR:-"/etc/isdn"}`
I4LCONFFILE=`eval echo ${CONFIG_CONFFILE:-"/etc/isdn"}`
I4LVERSION=${I4LVERSION:-"?.?"}
CONFIG_KERNELDIR=${CONFIG_KERNELDIR:-"/usr/src/linux"}
CONFIG_SBINDIR=${CONFIG_SBINDIR:-"/sbin"}
CONFIG_MANDIR=${CONFIG_MANDIR:-"/usr/man"}
CONFIG_ISDNCTRL_CONF=${CONFIG_ISDNCTRL_CONF:-"n"}
@ -55,7 +54,6 @@ AC_SUBST(I4LCONFFILE)
AC_SUBST(I4LVERSION)
AC_SUBST(CONFIG_ISDNCTRL_CONF)
AC_SUBST(CONFIG_ISDNCTRL_DWABC_UDP_INFO)
AC_SUBST(CONFIG_KERNELDIR)
AC_SUBST(CONFIG_SBINDIR)
AC_SUBST(CONFIG_MANDIR)
AC_CONFIG_HEADER(config.h)

@ -1,5 +1,5 @@
##
## $Id: Makefile.am,v 1.2 1999/10/25 12:26:14 keil Exp $
## $Id: Makefile.am,v 1.3 2002/07/19 21:23:54 keil Exp $
##
AUTOMAKE_OPTIONS = foreign
@ -7,7 +7,7 @@ CLEANFILES = *~ comperr
MAINTAINERCLEANFILES = configure aclocal.m4 Makefile.in config.h.in \
stamp-h.in comperr
INCLUDES = -I../capi20 -I$(CONFIG_KERNELDIR)/drivers/isdn/avmb1 $(all_includes)
INCLUDES = -I../capi20 $(all_includes)
CFLAGS = -Wall -O2
LDFLAGS = -L../capi20/.libs -L../capi20 $(all_libraries)
LDADD = -lcapi20

@ -12,7 +12,6 @@ ifeq (../.config,$(wildcard ../.config))
MAN5DIROPT = FILEMANDIR=$(CONFIG_MANDIR)/man5
MANDIROPTS = $(MAN1DIROPT) $(MAN3DIROPT) $(MAN5DIROPT)
BINDIROPT = BINDIR=$(CONFIG_BINDIR)
EDEF += -I$(CONFIG_KERNELDIR)/include
endif
all: xisdnload

@ -29,9 +29,6 @@ ifeq (../.config,$(wildcard ../.config))
ifneq ($(CONFIG_XMONISDN_DOWNCMD),"")
I4LU_DEFINES += -DNETDOWN_COMMAND=\\\"'$(shell echo $(CONFIG_XMONISDN_DOWNCMD))'\\\"
endif
ifneq ($(CONFIG_KERNELDIR),"")
I4LU_DEFINES += -I'$(shell echo $(CONFIG_KERNELDIR))'/include
endif
MAN1DIROPT = MANDIR=$(CONFIG_MANDIR)/man1
MAN3DIROPT = LIBMANDIR=$(CONFIG_MANDIR)/man3
MAN5DIROPT = FILEMANDIR=$(CONFIG_MANDIR)/man5

Loading…
Cancel
Save