Changeset 9f15cd1


Ignore:
Timestamp:
10/11/05 10:03:56 (15 years ago)
Author:
Shane Alcock <salcock@…>
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:
57bbf89
Parents:
47a9686
Message:

Fixed DAG version detection so that it checks VERSION rather than just looking
for the existence of a .so file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r80a6589 r9f15cd1  
    168168                dag_lib_dir="$dag_root"
    169169        fi
     170       
     171        AC_MSG_CHECKING(if we are using DAG 2.4)
     172        if grep '2.4.' /root/dag/VERSION > /dev/null; then
     173                dag2_4=true
     174        else
     175                dag2_4=false
     176        fi
    170177
    171178        if test -r "$dag_root/tools" -a -r "$dag_root/include"; then
     
    185192                AC_SUBST([DAG_TOOLS_DIR])
    186193                ac_cv_lbl_dag_api=yes
    187                 if test -r "$dag_lib_dir/libdag.so"; then
    188                         dag2_4=false
    189                 else
    190                         dag2_4=true
    191                 fi
    192194               
    193195                AC_DEFINE(HAVE_DAG_API, 1, [define if you have a DAG API])
Note: See TracChangeset for help on using the changeset viewer.