Changeset 26a2928 for configure.in


Ignore:
Timestamp:
11/29/04 10:46:54 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
22d466c
Parents:
6ce4ea9
Message:

hm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    rcaa8f99 r26a2928  
    1818AC_HEADER_STDC
    1919dnl AC_CHECK_HEADERS(errno.h stdlib.h stdio.h assert.h string.h netinet/in.h assert.h errno.h fcntl.h net/ethernet.h netdb.h pcap.h stdio.h stdlib.h string.h sys/stat.h sys/types.h sys/socket.h sys/un.h unistd.h time.h sys/ioctl.h net/bpf.h pcap.h zlib.h pcap-bpf.h)
    20 AC_CHECK_HEADERS(pcap.h pcap-bpf.h net/bpf.h zlib.h sys/limits.h stddef.h stdint.h limits.h dagapi.h)
     20AC_CHECK_HEADERS(pcap.h pcap-bpf.h net/bpf.h zlib.h sys/limits.h stddef.h stdint.h limits.h dagapi.h parser.h libxml/parser.h libxml2/libxml/parser.h)
    2121       
    2222dnl Checking for the right bpf header to include
     
    3535else
    3636  AC_MSG_RESULT([Using $bpfh])
     37fi
     38
     39
     40AC_MSG_CHECKING([where the libxml parser header is kept])
     41echo ""
     42xmlparser=no
     43AC_CHECK_FILE(/usr/include/parser.h,
     44        [AC_DEFINE([HAVE_PARSER_H]) xmlparser=parser.h])
     45if test $xmlparser = no; then
     46AC_CHECK_FILE(/usr/include/libxml/parser.h,
     47        [AC_DEFINE([HAVE_LIBXML_PARSER_H]) xmlparser=libxml/parser.h])
     48if test $xmlparser = no; then
     49AC_CHECK_FILE(/usr/include/libxml2/libxml/parser.h,
     50        [AC_DEFINE([HAVE_LIBXML2_LIBXML_PARSER_H]) xmlparser=libxml2/libxml/parser.h])
     51fi
     52fi
     53
     54if test $xmlparser = no; then
     55        AC_MSG_RESULT([No libxml parser headers, compiling without XML support])
     56else
     57        AC_MSG_RESULT([Using $xmlparser])
    3758fi
    3859
Note: See TracChangeset for help on using the changeset viewer.