X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Famanda%2Fnet.m4;h=a20cb5c373d3c9dc13770ee78ec86c8b9a5bf093;hb=0a6077b41c5db1d957dfdcc5c04954f8bb38320a;hp=917903b074cad82c48869ab914a0bab371f02ae8;hpb=afaa71b3866b46b082b6c895772e15b36d8865fe;p=debian%2Famanda diff --git a/config/amanda/net.m4 b/config/amanda/net.m4 index 917903b..a20cb5c 100644 --- a/config/amanda/net.m4 +++ b/config/amanda/net.m4 @@ -64,8 +64,8 @@ AC_DEFUN([AMANDA_WITH_REUSEPORTS], [ # AC_DEFUN([AMANDA_WITH_PORTRANGES], [ AC_ARG_WITH(low-tcpportrange, - AS_HELP_STRING([--with-low-tcpportrange=low/high], - [bind reserved TCP server sockets to ports within this range (default: unlimited)]), +[ --with-low-tcpportrange=low,high + bind reserved TCP server sockets to ports within], [ LOW_TCPPORTRANGE="$withval" ], [ LOW_TCPPORTRANGE=unlimited ]) @@ -89,9 +89,10 @@ AC_DEFUN([AMANDA_WITH_PORTRANGES], [ * reserved TCP port numbers sockets should be bound to. (mainly for amrecover) ]) fi + dnl note that AS_HELP_STRING cannot handle commas in its argument.. AC_ARG_WITH(tcpportrange, - AS_HELP_STRING([--with-tcpportrange=low/high], - [bind unreserved TCP server sockets to ports within this range (default: unlimited)]), +[ --with-tcpportrange=low,high + bind unreserved TCP server sockets to ports within], [ TCPPORTRANGE="$withval" ], [ TCPPORTRANGE="unlimited" ]) @@ -116,8 +117,8 @@ AC_DEFUN([AMANDA_WITH_PORTRANGES], [ fi AC_ARG_WITH(udpportrange, - AS_HELP_STRING([--with-udpportrange=low/high], - [bind reserved UDP server sockets to ports within this range (default: unlimited)]), +[ --with-udpportrange=low,high + bind reserved UDP server sockets to ports within], [ UDPPORTRANGE="$withval" ], [ UDPPORTRANGE="unlimited" ]) if test x"$UDPPORTRANGE" != x"unlimited"; then