Changeset b5236ad


Ignore:
Timestamp:
06/17/05 15:38:06 (15 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:
7e9d51c
Parents:
db06c9d
Message:

fixes to makefile for documentation

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r808a478 rb5236ad  
    11SUBDIRS=lib
    2 EXTRA_DIST=examples docs
     2man_MANS = libtrace.h.3
     3EXTRA_DIST=examples docs $(man_MANS)
     4
     5.PHONY: docs
    36
    47bootstrap-clean:
  • configure.in

    rc2f39fb rb5236ad  
    175175AM_CONDITIONAL(HAVE_DAG, test x$ac_cv_lbl_dag_api = xyes)
    176176
    177 
    178 # configure time options for selecting which libpcap and libz to use
    179 # this is provided to allow for systems whose default libraries don't support
    180 # large files - you can build your own and link using these options
    181 AC_ARG_WITH([pcap],
    182     AC_HELP_STRING([--with-pcap],
    183                                    [name of pcap library (default is pcap)]),
    184         [ac_cv_use_pcap=$withval],
    185     [ac_cv_use_pcap=pcap])
    186 
    187 
    188 AC_ARG_WITH([pcap-path],
    189     AC_HELP_STRING([--with-pcap-path],
    190                                    [location of pcap library (default is /usr/lib)]),
    191         [ac_cv_use_pcap_path=$withval],
    192     [ac_cv_use_pcap_path=/usr/lib])
    193 
    194 if test x"$ac_cv_use_pcap" != xno; then
    195     ADD_LIBS="$ADD_LIBS  -l$ac_cv_use_pcap"
    196    
    197     pcap_lib_file="${ac_cv_use_pcap_path}/lib${ac_cv_use_pcap}.so"
    198    
    199     # if the library is in /usr/lib, then just use
    200     # AC_CHECK_LIB.
    201     if test x"${ac_cv_use_pcap_path}" == x"/usr/lib"; then
    202             AC_CHECK_LIB(${ac_cv_use_pcap},pcap_open_live,
    203                          have_libpcap=yes,
    204                          have_libpcap=no)
    205 
    206             if test x"${have_libpcap}" == xno; then
    207                 AC_MSG_NOTICE([Cannot find pcap library $pcap_lib_file.])
    208                 AC_MSG_ERROR([Exiting]);
    209             fi
    210     else
    211         ADD_LDFLAGS="$ADD_LDFLAGS -L$ac_cv_use_pcap_path"
    212         # if it's not in /usr/lib/, check manually. This isn't nice,
    213         # and will probably break.
    214         if test ! -r "$ac_cv_use_pcap_path" -o ! -r "$pcap_lib_file"; then
    215                 AC_MSG_NOTICE([Cannot find pcap library $pcap_lib_file.])
    216                 AC_MSG_ERROR([Exiting]);
    217         fi 
    218     fi
    219     AC_DEFINE(HAVE_PCAP,1,[Conditional for building PCAP support])
    220 else
    221     AC_DEFINE(HAVE_PCAP,0,[Conditional for building PCAP support])
    222 fi
     177# The following is commented out because it seems you don't actually
     178# need it. libpcap 'just works' with large files, even under woody,
     179# although you probably need _FILE_OFFSET_BITS and LARGEFILE etc set
     180# properly - libtrace handles this however.
     181## configure time options for selecting which libpcap and libz to use
     182## this is provided to allow for systems whose default libraries don't support
     183## large files - you can build your own and link using these options
     184#AC_ARG_WITH([pcap],
     185#    AC_HELP_STRING([--with-pcap],
     186#                                  [name of pcap library (default is pcap)]),
     187#       [ac_cv_use_pcap=$withval],
     188#    [ac_cv_use_pcap=pcap])
     189#
     190#
     191#AC_ARG_WITH([pcap-path],
     192#    AC_HELP_STRING([--with-pcap-path],
     193#                                  [location of pcap library (default is /usr/lib)]),
     194#       [ac_cv_use_pcap_path=$withval],
     195#    [ac_cv_use_pcap_path=/usr/lib])
     196#
     197#if test x"$ac_cv_use_pcap" != xno; then
     198#    ADD_LIBS="$ADD_LIBS  -l$ac_cv_use_pcap"
     199#   
     200#    pcap_lib_file="${ac_cv_use_pcap_path}/lib${ac_cv_use_pcap}.so"
     201#   
     202#    # if the library is in /usr/lib, then just use
     203#    # AC_CHECK_LIB.
     204#    if test x"${ac_cv_use_pcap_path}" == x"/usr/lib"; then
     205#           AC_CHECK_LIB(${ac_cv_use_pcap},pcap_open_live,
     206#                        have_libpcap=yes,
     207#                        have_libpcap=no)
     208#
     209#           if test x"${have_libpcap}" == xno; then
     210#               AC_MSG_NOTICE([Cannot find pcap library $pcap_lib_file.])
     211#               AC_MSG_ERROR([Exiting]);
     212#           fi
     213#    else
     214#       ADD_LDFLAGS="$ADD_LDFLAGS -L$ac_cv_use_pcap_path"
     215#       # if it's not in /usr/lib/, check manually. This isn't nice,
     216#       # and will probably break.
     217#       if test ! -r "$ac_cv_use_pcap_path" -o ! -r "$pcap_lib_file"; then
     218#               AC_MSG_NOTICE([Cannot find pcap library $pcap_lib_file.])
     219#               AC_MSG_ERROR([Exiting]);
     220#       fi 
     221#    fi
     222#    AC_DEFINE(HAVE_PCAP,1,[Conditional for building PCAP support])
     223#else
     224#    AC_DEFINE(HAVE_PCAP,0,[Conditional for building PCAP support])
     225#fi
    223226
    224227
  • libtrace.doxygen

    r7e05fbe rb5236ad  
    903903SEARCHENGINE           = NO
    904904
    905 # The CGI_NAME tag should be the name of the CGI script that
    906 # starts the search engine (doxysearch) with the correct parameters.
    907 # A script with this name will be generated by doxygen.
    908 
    909 CGI_NAME               = search.cgi
    910 
    911 # The CGI_URL tag should be the absolute URL to the directory where the
    912 # cgi binaries are located. See the documentation of your http daemon for
    913 # details.
    914 
    915 CGI_URL                =
    916 
    917 # The DOC_URL tag should be the absolute URL to the directory where the
    918 # documentation is located. If left blank the absolute path to the
    919 # documentation, with file:// prepended to it, will be used.
    920 
    921 DOC_URL                =
    922 
    923 # The DOC_ABSPATH tag should be the absolute path to the directory where the
    924 # documentation is located. If left blank the directory on the local machine
    925 # will be used.
    926 
    927 DOC_ABSPATH            =
    928 
    929 # The BIN_ABSPATH tag must point to the directory where the doxysearch binary
    930 # is installed.
    931 
    932 BIN_ABSPATH            = /usr/local/bin/
    933 
    934 # The EXT_DOC_PATHS tag can be used to specify one or more paths to
    935 # documentation generated for other projects. This allows doxysearch to search
    936 # the documentation for these projects as well.
    937 
    938 EXT_DOC_PATHS          =
Note: See TracChangeset for help on using the changeset viewer.