mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thierry Vignaud <tvignaud@mandriva.com>
To: mauelshagen@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: *** Announcement: dmraid 1.0.0.rc10 ***
Date: Tue, 21 Feb 2006 17:10:26 +0100	[thread overview]
Message-ID: <m28xs4k80d.fsf@vador.mandriva.com> (raw)
In-Reply-To: <20060217210635.GA13074@redhat.com> (Heinz Mauelshagen's message of "Fri, 17 Feb 2006 22:06:35 +0100")

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

Heinz Mauelshagen <mauelshagen@redhat.com> writes:

>                *** Announcement: dmraid 1.0.0.rc10 ***
> 
> dmraid 1.0.0.rc10 is available at
> http://people.redhat.com/heinzm/sw/dmraid/ in source tarball,
> source rpm and i386 rpm (with shared and static binary).
> 
> This release adds support for Adaptec HostRAID and JMicron JMB36X
> (see CHANGELOG below for more information).

you're missusing AC_ARG_ENABLE: it cannot assume whereas you want to
default to --enable-XXX or --disable-XXX.

eg passing --disable-selinux to dmraid's configures make it actually
enable selinux support :-(

the format is "AC_ARG_ENABLE(name, help, [ use given value ], [ default action ])"

the following patch fixes it:

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: dmraid-1.0.0.rc10-fix-autoconf.patch --]
[-- Type: text/x-patch, Size: 1581 bytes --]

--- ./1.0.0.rc10/configure.in.tv2	2006-02-21 16:57:45.000000000 +0100
+++ ./1.0.0.rc10/configure.in	2006-02-21 16:58:21.000000000 +0100
@@ -101,19 +101,19 @@
 AC_ARG_ENABLE(jobs,  [  --enable-jobs=NUM       Number of jobs to run simultaneously], JOBS=-j$enableval, JOBS=-j1)
 
 dnl Enables linking to libselinux
-AC_ARG_ENABLE(libselinux, [  --enable-libselinux     Use this to link the tools to libselinux ], LIBSELINUX=yes, LIBSELINUX=no)
+AC_ARG_ENABLE(libselinux, [  --enable-libselinux     Use this to link the tools to libselinux ], LIBSELINUX=$enableval, LIBSELINUX=no)
 
 dnl Enables linking to libselinux
-AC_ARG_ENABLE(libsepol, [  --enable-libsepol       Use this to link the tools to libsepol ], LIBSEPOL=yes, LIBSEPOL=no)
+AC_ARG_ENABLE(libsepol, [  --enable-libsepol       Use this to link the tools to libsepol ], LIBSEPOL=$enableval, LIBSEPOL=no)
 
 dnl Enables mini binary
 AC_ARG_ENABLE(mini, [  --enable-mini           Use this to create a minimal binrary suitable
-                          for early boot environments],  DMRAID_MINI=yes, DMRAID_MINI=no)
+                          for early boot environments],  DMRAID_MINI=$enableval, DMRAID_MINI=no)
 
 echo $ac_n "checking whether to disable native metadata logging""... $ac_c" 1>&6
 dnl Disable native metadata logging
 AC_ARG_ENABLE(native_log, [  --disable-native_log    Disable native metadata logging. Default is enabled],  \
-DMRAID_NATIVE_LOG=no, DMRAID_NATIVE_LOG=yes)
+DMRAID_NATIVE_LOG=$enableval, DMRAID_NATIVE_LOG=yes)
 echo "$ac_t""$DMRAID_NATIVE_LOG" 1>&6
 
 dnl Enables staticly linked tools

[-- Attachment #3: Type: text/plain, Size: 114 bytes --]


you might want to alter default values then since i guess you
misunderstood what the arguments should have been.

  reply	other threads:[~2006-02-21 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17 21:06 Heinz Mauelshagen
2006-02-21 16:10 ` Thierry Vignaud [this message]
2006-02-22  9:01   ` Heinz Mauelshagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28xs4k80d.fsf@vador.mandriva.com \
    --to=tvignaud@mandriva.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mauelshagen@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome