Bugfix: Detection of kernel directory did not reset CPPFLAGS.
Some preparations for the first beta release.
This commit is contained in:
parent
2fd629b8de
commit
51cac1b4d8
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@
|
|||
# Toplevel Makefile for isdn4k-utils
|
||||
#
|
||||
|
||||
export I4LVERSION = 2.1
|
||||
export I4LVERSION = 2.1b1
|
||||
|
||||
all: do-it-all
|
||||
|
||||
|
|
8
README
8
README
|
@ -78,17 +78,13 @@ System prerequisites:
|
|||
|
||||
Run "make"
|
||||
|
||||
This builds all utilities except the Tcl/Tk-script "isdnmon"
|
||||
This builds all previously selected utilities.
|
||||
|
||||
4. Installation
|
||||
|
||||
For the following steps, root permissions are necessary
|
||||
|
||||
a) Create the device-inodes:
|
||||
|
||||
make devices
|
||||
|
||||
b) Install the utilities, the man pages and config-files:
|
||||
Install the utilities, the man pages and config-files:
|
||||
|
||||
make install
|
||||
|
||||
|
|
|
@ -21,12 +21,15 @@ CONFIG_EXPERIMENTAL
|
|||
you say Y here, you will be offered the choice of using features or
|
||||
that are currently considered to be in the alpha-test phase.
|
||||
|
||||
General configuration directory
|
||||
CONFIG_I4LCONFDIR
|
||||
Some of the programs in this package need global configuration
|
||||
files. This option tells them where to expect these files.
|
||||
During installation, some sample files may be installed there
|
||||
also.
|
||||
CONFIG_BUILDX11
|
||||
With this option you can disable the installation of all programs
|
||||
which require X11. If xmkmf is missing, this option will be
|
||||
automatically disabled for you.
|
||||
|
||||
CONFIG_KERNELDIR
|
||||
Some programs need special include files from non-standard locations
|
||||
within the kernel source. The default is /usr/src/linux. Change this
|
||||
setting to fit your local environment.
|
||||
|
||||
Directory to install binaries
|
||||
CONFIG_BINDIR
|
||||
|
@ -48,6 +51,67 @@ CONFIG_MANDIR
|
|||
man pages go into some subdirectory below this directory
|
||||
depending on the section they belong to.
|
||||
|
||||
CONFIG_RUNDIR
|
||||
Some applications create special files for managing their
|
||||
process IDs. This option selects the directory where to create
|
||||
these ".pid" files. Usually this is /var/run.
|
||||
|
||||
CONFIG_LOCKDIR
|
||||
Some applications create special files for resource locking.
|
||||
This option selects the directory where to create these files.
|
||||
Usually this is /var/lock.
|
||||
|
||||
CONFIG_LOCKFILE
|
||||
Some applications create special files for resource locking.
|
||||
This option selects the fixed part of name for these files.
|
||||
The variable part depends on the application. Usually you
|
||||
can accept the "LCK.." default here.
|
||||
|
||||
General configuration directory
|
||||
CONFIG_I4LCONFDIR
|
||||
Some of the programs in this package need global configuration
|
||||
files. This option tells them where to expect these files.
|
||||
During installation, some sample files may be installed there
|
||||
also.
|
||||
|
||||
CONFIG_CONFFILE
|
||||
This is the name of the global configuration file.
|
||||
|
||||
CONFIG_CALLERIDFILE
|
||||
This option defines the name for the global callerid file.
|
||||
In this file, well-known names can be assigned to phone numbers.
|
||||
Some of the applications then display the names instead of
|
||||
phone numbers.
|
||||
|
||||
CONFIG_USERCONFFILE
|
||||
In addition to the global config file, some applications allow
|
||||
user-specific settings. This option tells, which filename to
|
||||
use for these settings.
|
||||
|
||||
CONFIG_COUNTRY_PREFIX
|
||||
This option defines the prefix to be dialed before the country code
|
||||
on international calls.
|
||||
|
||||
CONFIG_AREA_PREFIX
|
||||
This option defines the prefix to be dialed before the area code
|
||||
on national calls.
|
||||
|
||||
CONFIG_COUNTRYCODE
|
||||
Put your local country code WITHOUT prefix here.
|
||||
|
||||
CONFIG_AREACODE
|
||||
Put your local area code WITHOUT prefix here.
|
||||
|
||||
CONFIG_LIB_AREACODE
|
||||
For resolving areacodes to city names, a database library is used.
|
||||
With this option, you can select between two database librarys.
|
||||
The recommended library is "Areacode", however those who want to reuse
|
||||
their old datafiles, can select the old "Avon" library here.
|
||||
|
||||
CONFIG_AREACODE_DATA
|
||||
With this option, the directory for the areacode database can be
|
||||
selected.
|
||||
|
||||
Build isdnctrl tool
|
||||
CONFIG_ISDNCTRL
|
||||
This program is the main configuration utility for all linklevel
|
||||
|
@ -106,12 +170,36 @@ CONFIG_PCBITCTL
|
|||
can download protocol firmware into cards.
|
||||
This program is documented in pcbitctl (8).
|
||||
|
||||
CONFIG_AVMCAPICTRL
|
||||
This program is used to configure the avm-b1 driver. With this tool
|
||||
you can download protocol firmware int cards.
|
||||
This program is documented in avmcapictrl (8).
|
||||
|
||||
CONFIG_LOOPCTRL
|
||||
This program is used to configure the loop driver. This tool is
|
||||
marked experimental, since the driver is NOT included in standard
|
||||
kernel. It is mainly for testing purposes.
|
||||
This program is documented in loopctrl (8).
|
||||
|
||||
CONFIG_LOOPCTRL_LOOPDIR
|
||||
Since loopctrl uses header files from the source of the ISDN loop
|
||||
driver, you have to define the directory where those can be found.
|
||||
|
||||
Build imon
|
||||
CONFIG_IMON
|
||||
This is a userlevel program to monitor the activity of isdn4linux.
|
||||
It is tty based and uses ncurses to produce a nice screen.
|
||||
This program is documented in imon (1).
|
||||
|
||||
CONFIG_IMONTTY
|
||||
This is a userlevel program to monitor the activity of isdn4linux.
|
||||
It is tty based does NOT use (n)curses.
|
||||
This program is documented in imontty (1).
|
||||
|
||||
CONFIG_ISDNLOG
|
||||
This program is mainly for monitoring activity. It has been extended
|
||||
to do a lot of more however. See isdnlog/README for more information.
|
||||
|
||||
Install generic man pages
|
||||
CONFIG_GENMAN
|
||||
If enabled, in addition to the tool's man pages, the following generic
|
||||
|
|
|
@ -4,6 +4,7 @@ dnl
|
|||
|
||||
AC_DEFUN(AC_FIND_KERNEL, [
|
||||
KERNELDIR=""
|
||||
OLD_CPPFLAGS="$CPPFLAGS"
|
||||
lxdir="no"
|
||||
tst_kerneldir="$CONFIG_KERNELDIR"
|
||||
|
||||
|
@ -35,6 +36,7 @@ AC_DEFUN(AC_FIND_KERNEL, [
|
|||
AC_MSG_ERROR("Kernel source not found. You MUST specify a correct path to the linux source in the configuration.")
|
||||
fi
|
||||
KERNELDIR="$lxdir"
|
||||
CPPFLAGS="$OLD_CPPFLAGS"
|
||||
AC_DEFINE_UNQUOTED(KERNELDIR,"$lxdir")
|
||||
AC_SUBST(KERNELDIR)
|
||||
])
|
||||
|
|
|
@ -982,6 +982,7 @@ done
|
|||
|
||||
|
||||
KERNELDIR=""
|
||||
OLD_CPPFLAGS="$CPPFLAGS"
|
||||
lxdir="no"
|
||||
tst_kerneldir="$CONFIG_KERNELDIR"
|
||||
|
||||
|
@ -996,12 +997,12 @@ fi
|
|||
echo $ac_n "checking for linux kernel source in ${tst_kerneldir}""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I${tst_kerneldir}/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1000 "configure"
|
||||
#line 1001 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1017,12 +1018,12 @@ rm -f conftest*
|
|||
echo $ac_n "checking for linux kernel source in /usr/src/linux""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I/usr/src/linux/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1021 "configure"
|
||||
#line 1022 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1037,12 +1038,12 @@ rm -f conftest*
|
|||
echo $ac_n "checking for linux kernel source in /usr/local/src/linux""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I/usr/local/src/linux/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1041 "configure"
|
||||
#line 1042 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1059,6 +1060,7 @@ rm -f conftest*
|
|||
{ echo "configure: error: "Kernel source not found. You MUST specify a correct path to the linux source in the configuration."" 1>&2; exit 1; }
|
||||
fi
|
||||
KERNELDIR="$lxdir"
|
||||
CPPFLAGS="$OLD_CPPFLAGS"
|
||||
cat >> confdefs.h <<EOF
|
||||
#define KERNELDIR "$lxdir"
|
||||
EOF
|
||||
|
@ -1074,7 +1076,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
|
|||
else
|
||||
ac_pattern="Autoconf.*'x'"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1078 "configure"
|
||||
#line 1080 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sgtty.h>
|
||||
Autoconf TIOCGETP
|
||||
|
@ -1092,7 +1094,7 @@ rm -f conftest*
|
|||
|
||||
if test $ac_cv_prog_gcc_traditional = no; then
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1096 "configure"
|
||||
#line 1098 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <termio.h>
|
||||
Autoconf TCGETA
|
||||
|
@ -1120,7 +1122,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1124 "configure"
|
||||
#line 1126 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -1144,7 +1146,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
if { (eval echo configure:1150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -1174,7 +1176,7 @@ else
|
|||
ac_cv_func_mmap=no
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1178 "configure"
|
||||
#line 1180 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
/* Thanks to Mike Haertel and Jim Avera for this test. */
|
||||
|
@ -1243,7 +1245,7 @@ main()
|
|||
}
|
||||
|
||||
EOF
|
||||
{ (eval echo configure:1247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
|
||||
{ (eval echo configure:1249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
|
||||
if test -s conftest && (./conftest; exit) 2>/dev/null; then
|
||||
ac_cv_func_mmap=yes
|
||||
else
|
||||
|
|
|
@ -4,6 +4,7 @@ dnl
|
|||
|
||||
AC_DEFUN(AC_FIND_KERNEL, [
|
||||
KERNELDIR=""
|
||||
OLD_CPPFLAGS="$CPPFLAGS"
|
||||
lxdir="no"
|
||||
tst_kerneldir="$CONFIG_KERNELDIR"
|
||||
|
||||
|
@ -35,6 +36,7 @@ AC_DEFUN(AC_FIND_KERNEL, [
|
|||
AC_MSG_ERROR("Kernel source not found. You MUST specify a correct path to the linux source in the configuration.")
|
||||
fi
|
||||
KERNELDIR="$lxdir"
|
||||
CPPFLAGS="$OLD_CPPFLAGS"
|
||||
AC_DEFINE_UNQUOTED(KERNELDIR,"$lxdir")
|
||||
AC_SUBST(KERNELDIR)
|
||||
])
|
||||
|
|
|
@ -982,6 +982,7 @@ done
|
|||
|
||||
|
||||
KERNELDIR=""
|
||||
OLD_CPPFLAGS="$CPPFLAGS"
|
||||
lxdir="no"
|
||||
tst_kerneldir="$CONFIG_KERNELDIR"
|
||||
|
||||
|
@ -996,12 +997,12 @@ fi
|
|||
echo $ac_n "checking for linux kernel source in ${tst_kerneldir}""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I${tst_kerneldir}/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1000 "configure"
|
||||
#line 1001 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1017,12 +1018,12 @@ rm -f conftest*
|
|||
echo $ac_n "checking for linux kernel source in /usr/src/linux""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I/usr/src/linux/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1021 "configure"
|
||||
#line 1022 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1037,12 +1038,12 @@ rm -f conftest*
|
|||
echo $ac_n "checking for linux kernel source in /usr/local/src/linux""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I/usr/local/src/linux/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1041 "configure"
|
||||
#line 1042 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1059,6 +1060,7 @@ rm -f conftest*
|
|||
{ echo "configure: error: "Kernel source not found. You MUST specify a correct path to the linux source in the configuration."" 1>&2; exit 1; }
|
||||
fi
|
||||
KERNELDIR="$lxdir"
|
||||
CPPFLAGS="$OLD_CPPFLAGS"
|
||||
cat >> confdefs.h <<EOF
|
||||
#define KERNELDIR "$lxdir"
|
||||
EOF
|
||||
|
@ -1074,7 +1076,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
|
|||
else
|
||||
ac_pattern="Autoconf.*'x'"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1078 "configure"
|
||||
#line 1080 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sgtty.h>
|
||||
Autoconf TIOCGETP
|
||||
|
@ -1092,7 +1094,7 @@ rm -f conftest*
|
|||
|
||||
if test $ac_cv_prog_gcc_traditional = no; then
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1096 "configure"
|
||||
#line 1098 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <termio.h>
|
||||
Autoconf TCGETA
|
||||
|
@ -1120,7 +1122,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1124 "configure"
|
||||
#line 1126 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -1144,7 +1146,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
if { (eval echo configure:1150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -1174,7 +1176,7 @@ else
|
|||
ac_cv_func_mmap=no
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1178 "configure"
|
||||
#line 1180 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
/* Thanks to Mike Haertel and Jim Avera for this test. */
|
||||
|
@ -1243,7 +1245,7 @@ main()
|
|||
}
|
||||
|
||||
EOF
|
||||
{ (eval echo configure:1247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
|
||||
{ (eval echo configure:1249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
|
||||
if test -s conftest && (./conftest; exit) 2>/dev/null; then
|
||||
ac_cv_func_mmap=yes
|
||||
else
|
||||
|
|
|
@ -4,6 +4,7 @@ dnl
|
|||
|
||||
AC_DEFUN(AC_FIND_KERNEL, [
|
||||
KERNELDIR=""
|
||||
OLD_CPPFLAGS="$CPPFLAGS"
|
||||
lxdir="no"
|
||||
tst_kerneldir="$CONFIG_KERNELDIR"
|
||||
|
||||
|
@ -35,6 +36,7 @@ AC_DEFUN(AC_FIND_KERNEL, [
|
|||
AC_MSG_ERROR("Kernel source not found. You MUST specify a correct path to the linux source in the configuration.")
|
||||
fi
|
||||
KERNELDIR="$lxdir"
|
||||
CPPFLAGS="$OLD_CPPFLAGS"
|
||||
AC_DEFINE_UNQUOTED(KERNELDIR,"$lxdir")
|
||||
AC_SUBST(KERNELDIR)
|
||||
])
|
||||
|
|
|
@ -976,6 +976,7 @@ done
|
|||
|
||||
|
||||
KERNELDIR=""
|
||||
OLD_CPPFLAGS="$CPPFLAGS"
|
||||
lxdir="no"
|
||||
tst_kerneldir="$CONFIG_KERNELDIR"
|
||||
|
||||
|
@ -990,12 +991,12 @@ fi
|
|||
echo $ac_n "checking for linux kernel source in ${tst_kerneldir}""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I${tst_kerneldir}/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 994 "configure"
|
||||
#line 995 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1011,12 +1012,12 @@ rm -f conftest*
|
|||
echo $ac_n "checking for linux kernel source in /usr/src/linux""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I/usr/src/linux/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1015 "configure"
|
||||
#line 1016 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1031,12 +1032,12 @@ rm -f conftest*
|
|||
echo $ac_n "checking for linux kernel source in /usr/local/src/linux""... $ac_c" 1>&6
|
||||
CPPFLAGS="-nostdinc -I/usr/local/src/linux/drivers/isdn"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1035 "configure"
|
||||
#line 1036 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <isdn_common.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1053,6 +1054,7 @@ rm -f conftest*
|
|||
{ echo "configure: error: "Kernel source not found. You MUST specify a correct path to the linux source in the configuration."" 1>&2; exit 1; }
|
||||
fi
|
||||
KERNELDIR="$lxdir"
|
||||
CPPFLAGS="$OLD_CPPFLAGS"
|
||||
cat >> confdefs.h <<EOF
|
||||
#define KERNELDIR "$lxdir"
|
||||
EOF
|
||||
|
@ -1068,7 +1070,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
|
|||
else
|
||||
ac_pattern="Autoconf.*'x'"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1072 "configure"
|
||||
#line 1074 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sgtty.h>
|
||||
Autoconf TIOCGETP
|
||||
|
@ -1086,7 +1088,7 @@ rm -f conftest*
|
|||
|
||||
if test $ac_cv_prog_gcc_traditional = no; then
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1090 "configure"
|
||||
#line 1092 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <termio.h>
|
||||
Autoconf TCGETA
|
||||
|
@ -1114,7 +1116,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1118 "configure"
|
||||
#line 1120 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -1138,7 +1140,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
if { (eval echo configure:1144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
|
|
@ -85,7 +85,7 @@ CONFIG_XMONISDN_DOWNCMD='/sbin/netdown'
|
|||
#
|
||||
# Applications
|
||||
#
|
||||
CONFIG_VBOX=n
|
||||
CONFIG_VBOX=y
|
||||
|
||||
#
|
||||
# Options for vbox package
|
||||
|
|
Loading…
Reference in New Issue