configure: fix --sysconfdir specification

Submitted by Andre Przywara on March 8, 2010, 1:09 p.m.

Details

Message ID 1268053788-28761-1-git-send-email-andre.przywara@amd.com
State New
Headers show

Commit Message

Andre Przywara March 8, 2010, 1:09 p.m.
--sysconfdir requires a parameter (the path), this should be reflected
in the case pattern.

Reported-by: Frank Arnold <frank.arnold@amd.com>
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Aurelien Jarno March 13, 2010, 11:08 a.m.
On Mon, Mar 08, 2010 at 02:09:48PM +0100, Andre Przywara wrote:
> --sysconfdir requires a parameter (the path), this should be reflected
> in the case pattern.
> 
> Reported-by: Frank Arnold <frank.arnold@amd.com>
> Signed-off-by: Andre Przywara <andre.przywara@amd.com>


Thanks, applied.

> ---
>  configure |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configure b/configure
> index f55baf0..d3b4df9 100755
> --- a/configure
> +++ b/configure
> @@ -495,7 +495,7 @@ for opt do
>      static="yes"
>      LDFLAGS="-static $LDFLAGS"
>    ;;
> -  --sysconfdir) sysconfdir="$optarg"
> +  --sysconfdir=*) sysconfdir="$optarg"
>    ;;
>    --disable-sdl) sdl="no"
>    ;;
> -- 
> 1.6.1.3
> 
> 
> 
> 
>

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index f55baf0..d3b4df9 100755
--- a/configure
+++ b/configure
@@ -495,7 +495,7 @@  for opt do
     static="yes"
     LDFLAGS="-static $LDFLAGS"
   ;;
-  --sysconfdir) sysconfdir="$optarg"
+  --sysconfdir=*) sysconfdir="$optarg"
   ;;
   --disable-sdl) sdl="no"
   ;;