[dhcp-agent-commits] dhcp-agent configure.ac,1.18,1.19 INSTALL,1.5,1.6
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2003-07-27 00:57:32
|
Update of /cvsroot/dhcp-agent/dhcp-agent In directory sc8-pr-cvs1:/tmp/cvs-serv15669 Modified Files: configure.ac INSTALL Log Message: added --with-foo-prefix options Index: configure.ac =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/configure.ac,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** configure.ac 27 Jul 2003 00:30:07 -0000 1.18 --- configure.ac 27 Jul 2003 00:57:28 -0000 1.19 *************** *** 36,39 **** --- 36,50 ---- esac]) + AC_ARG_WITH([libdnet-prefix], AC_HELP_STRING([--with-libdnet-prefix], + [set explicit prefix to libdnet]), + libdnet_prefix=$withval, libdnet_prefix="") + + AC_ARG_WITH([guile-prefix], AC_HELP_STRING([--with-guile-prefix], + [set explicit prefix to guile]), + guile_prefix=$withval, guile_prefix="") + + AC_ARG_WITH([libpcap-prefix], AC_HELP_STRING([--with-libpcap-prefix], + [set explicit prefix to libpcap]), + libpcap_prefix=$withval, libpcap_prefix="") dnl allow user to pick HTML documentation *************** *** 140,144 **** dnl pcap sifting ! if test -z "$pcap_prefix"; then dnl excessive pcap sifting --- 151,155 ---- dnl pcap sifting ! if test -z "$libpcap_prefix"; then dnl excessive pcap sifting *************** *** 171,176 **** dnl if we've been passed the correct options just force a set. ! PCAP_INC="-I$pcap_prefix/include" ! PCAP_LIB="-L$pcap_prefix/lib -lpcap" fi --- 182,187 ---- dnl if we've been passed the correct options just force a set. ! PCAP_INC="-I$libpcap_prefix/include" ! PCAP_LIB="-L$libpcap_prefix/lib -lpcap" fi *************** *** 225,229 **** dnl ! AC_PATH_PROGS(DNET_PATH, [dnet-config], [no]) if test $DNET_PATH = "no"; then --- 236,248 ---- dnl ! if test -z $libdnet_prefix; then ! ! AC_PATH_PROGS(DNET_PATH, [dnet-config], [no], [$PATH]) ! ! else ! ! AC_PATH_PROGS(DNET_PATH, [dnet-config], [no], [$libdnet_prefix/bin]) ! ! fi if test $DNET_PATH = "no"; then *************** *** 248,254 **** fi - AC_PATH_PROGS(GUILE_PATH, [guile-config], [no]) ! if test $GUILE_PATH = "no"; then echo --------------------------------------------------------- --- 267,284 ---- fi ! if test -z $guile_prefix; then ! ! AC_PATH_PROGS(GUILE_PATH, [guile-config], [no], [$PATH]) ! ! else ! ! AC_PATH_PROGS(GUILE_PATH, [guile-config], [no], [$guile_prefix/bin]) ! ! fi ! ! ! ! if test $GUILE_PATH = "no"; then echo --------------------------------------------------------- Index: INSTALL =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/INSTALL,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** INSTALL 20 Jul 2003 05:48:35 -0000 1.5 --- INSTALL 27 Jul 2003 00:57:28 -0000 1.6 *************** *** 79,82 **** --- 79,97 ---- option. + --with-guile-prefix + + Pass a specific prefix to find "guile-config" in. For + example, if guile is installed in /opt/guile, you should use: + + --with-guile-prefix=/opt/guile + + --with-libpcap-prefix + + Pass a specific prefix to find libpcap in. + + --with-libdnet-prefix + + Pass a specific prefix to find "dnet-config" in. + -- Thamer Alharbash <tm...@wh...> |