[dhcp-agent-commits] dhcp-agent acinclude.m4,1.2,1.3 configure.ac,1.16,1.17
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2003-07-21 05:15:20
|
Update of /cvsroot/dhcp-agent/dhcp-agent In directory sc8-pr-cvs1:/tmp/cvs-serv6782 Modified Files: acinclude.m4 configure.ac Log Message: now using Albert Chin's patch to libtool; added clearer messages for failure of locating dependencies Index: acinclude.m4 =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/acinclude.m4,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** acinclude.m4 18 May 2003 02:58:25 -0000 1.2 --- acinclude.m4 21 Jul 2003 05:15:16 -0000 1.3 *************** *** 31,41 **** fi done - - if test $ac_pcap_lib_dir = "none" ; then - AC_MSG_ERROR([ - I cannot find the pcap library anywhere. Perhaps you did not install - the pcap package, or you did not install its development header files.], 1) - fi - AC_MSG_RESULT($ac_pcap_lib_dir)]) --- 31,34 ---- Index: configure.ac =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/configure.ac,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** configure.ac 16 Jul 2003 05:42:24 -0000 1.16 --- configure.ac 21 Jul 2003 05:15:16 -0000 1.17 *************** *** 17,20 **** --- 17,22 ---- AM_INIT_AUTOMAKE([dhcp-agent], [0.41]) AC_CONFIG_SRCDIR([src/dhcp-client.c]) + AC_LANG(C) + AC_LIBTOOL_TAGS([]) dnl *************** *** 142,145 **** --- 144,164 ---- AC_WF_CHECK_PCAP_LIB_DIR + + if test x$ac_pcap_lib_dir = "xnone"; then + + echo --------------------------------------------------------- + echo Could not find libpcap on this system. + echo This package uses libpcap to perform low level + echo packet capturing. + echo + echo You will need to download a copy of libpcap from: + echo + echo http://www.tcpdump.org/ + echo + echo ---------------------------------------------------------- + + exit -1 + fi + PCAP_LIB="-L$ac_pcap_lib_dir -lpcap" *************** *** 209,213 **** if test $DNET_PATH = "no"; then ! AC_MSG_ERROR([libdnet not found. get a copy from http://libdnet.sourceforge.net]) else --- 228,242 ---- if test $DNET_PATH = "no"; then ! echo --------------------------------------------------------- ! echo Could not libdnet on this system. ! echo This package uses libdnet for portable low level networking ! echo ! echo You will need to download a copy of libdnet from: ! echo ! echo http://libdnet.sourceforge.net/ ! echo ! echo ---------------------------------------------------------- ! ! exit -1 else *************** *** 222,226 **** if test $GUILE_PATH = "no"; then ! AC_MSG_ERROR([could not find guile on this system. get a copy from http://www.gnu.org/software/guile]) else --- 251,266 ---- if test $GUILE_PATH = "no"; then ! echo --------------------------------------------------------- ! echo Could not find guile on this system. ! echo This package uses guile to allow it to be extended by the ! echo Scheme programming language. ! echo ! echo You will need to download a copy of guile from: ! echo ! echo http://www.gnu.org/software/guile ! echo ! echo ---------------------------------------------------------- ! ! exit -1 else *************** *** 234,238 **** if test $TEXI2HTML_PATH = "no"; then ! AC_MSG_ERROR([you selected --enable-htmldoc and no texi2html has been found. please install texi2html first.]) fi; fi --- 274,291 ---- if test $TEXI2HTML_PATH = "no"; then ! ! echo --------------------------------------------------------- ! echo Could not find texi2html on this system. ! echo This package uses texi2html to create HTML ! echo documentation from raw texi sources. ! echo ! echo You will need to download a copy of texi2html from: ! echo ! echo http://www.mathematik.uni-kl.de/~obachman/Texi2html ! echo ! echo ---------------------------------------------------------- ! ! exit -1 ! fi; fi |