diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-08-10 05:54:53 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-08-10 05:54:53 +0200 |
commit | a4cc50373fbe27c973f95628fc142efec14e05cf (patch) | |
tree | bc163bed95c61b53f1399cb27e1fe9dd60bb6b4f /configure.in | |
parent | 5f5d1604492ae15967f9d86f41fbeeedcae0ae2b (diff) |
Import ax25-tools 0.0.4 from tarballax25-tools-0.0.4
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/configure.in b/configure.in index 72b0245..9c1f8e6 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(ax25/ax25d.c) dnl For automake -VERSION=0.0.3 +VERSION=0.0.4 PACKAGE=ax25-tools AM_INIT_AUTOMAKE($PACKAGE,$VERSION) @@ -26,37 +26,23 @@ AC_CHECK_LIB(ax25, ax25_config_load_ports, AX25_LIB="-lax25", AC_MSG_ERROR(Could AC_CHECK_LIB(ncurses, initscr,NCURSES_LIB="-lncurses",NCURSES_LIB=) AC_CHECK_LIB(util, openpty, UTIL_LIB="-lutil",UTIL_LIB=) -AC_PATH_XTRA +dnl AC_PATH_XTRA dnl Checks for header files. -AC_PATH_X +dnl AC_PATH_X AC_HEADER_STDC AC_HEADER_SYS_WAIT -AC_CHECK_HEADERS(fcntl.h limits.h paths.h strings.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h zlib.h) +AC_CHECK_HEADERS(fcntl.h limits.h paths.h strings.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h zlib.h ) +AC_SUBST(DMASCC) +AC_CHECK_HEADERS(linux/dmascc.h, DMASCC="dmascc", DMASCC="") dnl Checks for working glibc 2.1 headers AC_MSG_CHECKING(for working netax25/ax25.h header file) -AC_HEADER_EGREP(ax25_fwd_struct, netax25/ax25.h,AC_DEFINE(HAVE_NETAX25_AX25_H)) -if $HAVE_NETAX25_AX25_H ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi +AC_EGREP_HEADER(ax25_fwd_struct, netax25/ax25.h,AC_DEFINE(HAVE_NETAX25_AX25_H) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) AC_MSG_CHECKING(for working netrom/netrom.h header file) -AC_HEADER_EGREP(unsigned int ndigis, netrom/netrom.h,AC_DEFINE(HAVE_NETROM_NETROM_H)) -if $HAVE_NETROM_NETROM_H ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi +AC_EGREP_HEADER(unsigned int ndigis, netrom/netrom.h,AC_DEFINE(HAVE_NETROM_NETROM_H) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) AC_MSG_CHECKING(for working netrose/rose.h header file) -AC_HEADER_EGREP(rose_facilities_struct, netrose/rose.h,AC_DEFINE(HAVE_NETROSE_ROSE_H)) -if $HAVE_NETROSE_ROSE_H ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi - +AC_EGREP_HEADER(rose_facilities_struct, netrose/rose.h,AC_DEFINE(HAVE_NETROSE_ROSE_H) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST |