Changeset d8ed7e2 for configure.in


Ignore:
Timestamp:
04/02/08 16:40:30 (13 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:
5f653db
Parents:
0e66585
Message:
  • Added back in a somewhat rudimentary system for trying to determine the exact DAG driver version - mostly required by wdcap rather than for any important libtrace functionality
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r1c68a81 rd8ed7e2  
    200200# turn the test part of the next block into a function, so it can be
    201201# called multiple times for $dag_root, /root/dag, /usr/local/lib
    202 #dag_drv_v="DAG not present"
     202dag_drv_v="DAG not present"
    203203
    204204# Now check for 2.4 DAG drivers which don't install as cleanly!
     
    244244fi
    245245
     246# Try to determine the DAG driver version
     247if test x"$libtrace_dag" = xtrue; then
     248        dag_drv_v="Unknown"
     249        files=`locate /usr/*dag*/VERSION`
     250        file_count=0
     251
     252        for i in $files; do
     253                if $file_count > 0; then
     254                        dag_drv_v="Indeterminate"
     255                        break
     256                fi
     257                dag_drv_v=`cat $i`
     258                file_count=$file_count+1
     259        done
     260fi
     261DAG_VERSION_NUM=$dag_drv_v
     262
     263
    246264AC_CHECK_LIB(z, gzopen)
    247265
Note: See TracChangeset for help on using the changeset viewer.