configure problem

This is a discussion on configure problem within the SNMP Coders forums, part of the Networking and Network Related category; --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I think the following patch is necessary (the ) is ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-16-2005
Patrick Welche
 
Posts: n/a
Default configure problem


--PmA2V3Z32TCmWXqI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I think the following patch is necessary (the ) is more obvious with the
extra quoting, and as_help is safe as you require 2.59)

Cheers,

Patrick

--PmA2V3Z32TCmWXqI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=snmpconf

Index: configure.in
================================================== =================
RCS file: /cvsroot/net-snmp/net-snmp/configure.in,v
retrieving revision 5.160
diff -u -r5.160 configure.in
--- configure.in 16 Sep 2005 14:43:29 -0000 5.160
+++ configure.in 16 Sep 2005 17:28:46 -0000
@@ -2157,9 +2157,10 @@
AC_CHECK_LIB(m, asin)

AC_ARG_WITH(elf,
-[ --without-elf use elf libraries])
-AC_ARG_ENABLE(elf,,
- AC_MSG_ERROR([ Invalid option. Use --with-elf/--with-out-elf instead ]) )
+ [AS_HELP_STRING(--without-elf,[use elf libraries])],,
+ [AC_ARG_ENABLE(elf,,
+ [AC_MSG_ERROR([ Invalid option. Use --with-elf/--with-out-elf instead ])])])
+
if test "x$with_elf" != "xno"; then
# nlist is needed for uptime on some sytems in the generic library
# add hosts which don't use nlist to the blank first line
@@ -2168,7 +2169,7 @@
irix*) # Check for nlist in mld (irix)
AC_CHECK_LIB(elf, nlist)
AC_CHECK_LIB(mld, nlist)
- ;
+ ;;
*) # default
AC_CHECK_LIB(elf, nlist)
;;

--PmA2V3Z32TCmWXqI--


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:28 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0