Displaying 20 results from an estimated 216 matches for "as_help_string".
2012 Mar 26
1
[PATCH] configure.in: fix AC_ARG_ENABLE and AC_ARG_WITH
...onfigure.in | 50 +++++++++++++++++++++++++++++++++-----------------
1 files changed, 33 insertions(+), 17 deletions(-)
diff --git a/configure.in b/configure.in
index 2ea69f6..a03baf6 100644
--- a/configure.in
+++ b/configure.in
@@ -73,30 +73,44 @@ case $host_os in
esac
AC_ARG_ENABLE(uml,
- AS_HELP_STRING([--enable-uml], [enable support for User Mode Linux]),
- [ AC_DEFINE(ENABLE_UML, 1, [Support for UML])
- uml=true
- ]
+ AS_HELP_STRING([--disable-uml], [enable support for User Mode Linux]),
+ [ AS_IF([test "x$enable_uml" = "xyes"],
+ [ AC_DEFINE(ENABLE_UML, 1, [Supp...
2015 Oct 27
1
[PATCH] configure: Move language binding detection to separate files.
This commit starts to split our massive, monolithic configure.ac file
into smaller files, using the m4_include mechanism to combine them.
I don't know if we should really do this, so I'm open to comments
about it. However:
- Our configure.ac script is 1800+ lines long, and that's pretty long.
- configure.ac lacks structure; splitting it up might improve that.
- From what I read,
2015 Nov 10
1
[PATCH 1/2] Enable intrinsics by default.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index f267ef7..606511b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,8 +190,8 @@ AC_ARG_ENABLE([rtcd],
[enable_rtcd=yes])
AC_ARG_ENABLE([intrinsics],
- [AS_HELP_STRING([--enable-intrinsics], [Enable intrinsics optimizations for ARM(float) X86(fixed)])],,
- [enable_intrinsics=no])
+ [AS_HELP_STRING([--disable-intrinsics], [Disable intrinsics optimizations for ARM(float) X86(fixed)])],,
+ [enable_intrinsics=yes])
rtcd_support=no
cpu_arm=no
--
2.4.9 (A...
2012 Jul 13
2
[LLVMdev] Dealing with a corrupted /proc/self/exe link
...utoconf/configure.ac (working copy)
@@ -647,6 +647,20 @@
AC_DEFINE_UNQUOTED([ENABLE_TIMESTAMPS],$ENABLE_TIMESTAMPS,
[Define if timestamp information (e.g., __DATE__) is allowed])
+dnl Enable reading of the "/proc/self/exe" link.
+AC_ARG_ENABLE(proc-self-exe,
+ AS_HELP_STRING([--enable-proc-self-exe],
+ [Enable reading of the "/proc/self/exe" link (default is YES)]),,
+ enableval=default)
+case "$enableval" in
+ yes) AC_SUBST(ENABLE_PROC_SELF_EXE,[1]) ;;
+ no) AC_SUBST(ENABLE_PROC_SELF_EXE,[0]) ;;
+ default) AC_SUB...
2009 Mar 30
3
[Bug 588] New: make ipv6 optional in iptables
http://bugzilla.netfilter.org/show_bug.cgi?id=588
Summary: make ipv6 optional in iptables
Product: iptables
Version: CVS (please indicate timestamp)
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P1
Component: ip6tables
AssignedTo: laforge at netfilter.org
2013 May 16
3
[PATCH] Use pkg-config for Python
...SG_WARN([python $PYTHON_VERSION not found])
+ ])
+ ])
+ AC_MSG_CHECKING([Python prefix])
+ PYTHON_PREFIX=`$PYTHON -c "import sys; print (sys.prefix)"`
+ AC_MSG_RESULT([$PYTHON_PREFIX])
AC_ARG_WITH([python-installdir],
[AS_HELP_STRING([--with-python-installdir],
@@ -1171,11 +1177,10 @@ AS_IF([test "x$enable_python" != "xno"],[
AC_SUBST(PYTHON_PREFIX)
AC_SUBST(PYTHON_VERSION)
- AC_SUBST(PYTHON_INCLUDEDIR)
AC_SUBST(PYTHON_INSTALLDIR)
])
AM_CONDITIONAL([HAVE_PYTHON],
- [test "x$PYTH...
2008 Apr 15
1
[LLVMdev] Linking to LLVM libs from new project
...ker configure.ac file:
dnl **************************************************************************
dnl * Set the location of various third-party software packages
dnl **************************************************************************
dnl Location of LLVM source code
AC_ARG_WITH(llvmsrc,AS_HELP_STRING([--with-llvmsrc],[Location of LLVM
Source Code]),AC_SUBST(LLVM_SRC,[$withval]),AC_SUBST(LLVM_SRC,[`cd
${srcdir}/../..; pwd`]))
AC_CONFIG_COMMANDS([llvm_src],[],[llvm_src=$LLVM_SRC])
dnl Location of LLVM object code
AC_ARG_WITH(llvmobj,AS_HELP_STRING([--with-llvmobj],[Location of LLVM
Object Code])...
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings:
Patches 1-12 split configure.ac into smaller files using the
m4_include mechanism.
Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into
three new manual pages:
guestfs-hacking(3) - how to extend and contribute to libguestfs
guestfs-internals(3) - architecture and internals
guestfs-security(3) - security and CVEs
Patch 16 is a
2012 Jul 13
0
[LLVMdev] [llvm-commits] Dealing with a corrupted /proc/self/exe link
...ng copy)
> @@ -647,6 +647,20 @@
> AC_DEFINE_UNQUOTED([ENABLE_TIMESTAMPS],$ENABLE_TIMESTAMPS,
> [Define if timestamp information (e.g., __DATE__) is allowed])
>
> +dnl Enable reading of the "/proc/self/exe" link.
> +AC_ARG_ENABLE(proc-self-exe,
> + AS_HELP_STRING([--enable-proc-self-exe],
> + [Enable reading of the "/proc/self/exe" link (default is YES)]),,
> + enableval=default)
> +case "$enableval" in
> + yes) AC_SUBST(ENABLE_PROC_SELF_EXE,[1]) ;;
> + no) AC_SUBST(ENABLE_PROC_SELF_EXE,[...
2019 Dec 16
2
[v2v PATCH] build: add --with-extra configure parameter
...[8])
+
+AC_INIT([virt-v2v],v2v_major.v2v_minor.v2v_release)
# Headings within the configure script output.
m4_define([HEADING],
@@ -37,6 +44,25 @@ AC_CONFIG_MACRO_DIR([m4])
dnl Initialize libtool.
LT_INIT
+dnl Extra string, a freeform string defined by packagers.
+AC_ARG_WITH([extra],
+ [AS_HELP_STRING([--with-extra],
+ [extra version string (for use by packagers)])],
+ [v2v_extra="$withval"],
+ [v2v_extra=]
+)
+
+AC_MSG_NOTICE([virt-v2v version v2v_major.v2v_minor.v2v_release$v2v_extra])
+
+dnl Split up the version string.
+AC_DEFINE([PACKAGE_VERSION_MAJOR],[v2...
2020 Jun 19
1
[PATCH nbdkit] build: Rename configure --without-linuxdisk -> --disable-linuxdisk
...hanged, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index e6ca09de..376b1538 100644
--- a/configure.ac
+++ b/configure.ac
@@ -483,17 +483,17 @@ AS_IF([test "$GNUTLS_LIBS" != ""],[
LIBS="$old_LIBS"
])
-AC_ARG_WITH([linuxdisk],
- [AS_HELP_STRING([--without-linuxdisk],
+AC_ARG_ENABLE([linuxdisk],
+ [AS_HELP_STRING([--disable-linuxdisk],
[disable linuxdisk plugin @<:@default=check@:>@])],
[],
- [with_linuxdisk=check])
+ [enable_linuxdisk=check])
dnl Check for mke2fs -d (used by linuxdisk plugin). Th...
2007 Mar 19
0
2 commits - configure.ac
...airo, which is required for build])
fi
-AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad", HAVE_MAD="no")
-AC_SUBST(MAD_LIBS)
-if test "x$HAVE_MAD" = xyes; then
- AC_DEFINE(HAVE_MAD, 1, [Define if mad is enabled])
+AC_ARG_ENABLE(mad,
+ AS_HELP_STRING([--enable-mad],
+ [enable mad audio (default=yes)])],
+ enable_mad=$enableval,
+ enable_mad="yes")
+
+if test "$enable_mad" = "yes"; then
+ AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad", HAVE_MAD="no")
+ AC_SUBST(...
2014 Aug 19
1
[PATCH 2/2] Install udev rules in system-default directory
...ritto:
> +udevrules_DATA = 90-virtio-rng.rules
If rng-tools is packaged with "make dist" you need this to be
dist_udevrules_DATA = 90-virtio-rng.rules
or alternatively
EXTRA_DIST = 90-virtio-rng.rules
udevrules_DATA = 90-virtio-rng.rules
> +AC_ARG_WITH([udevrulesdir],
> + AS_HELP_STRING([--with-udevrulesdir=DIR], [Directory for udev rules]),
> + [],
> + [with_udevrulesdir=$($PKG_CONFIG --variable=udevdir udev)"/rules.d"])
> +AC_SUBST([udevrulesdir], [$with_udevrulesdir])
You can use AM_CONDITIONAL to skip the installation if
$with_udevrulesdir is "no"...
2014 Aug 19
1
[PATCH 2/2] Install udev rules in system-default directory
...ritto:
> +udevrules_DATA = 90-virtio-rng.rules
If rng-tools is packaged with "make dist" you need this to be
dist_udevrules_DATA = 90-virtio-rng.rules
or alternatively
EXTRA_DIST = 90-virtio-rng.rules
udevrules_DATA = 90-virtio-rng.rules
> +AC_ARG_WITH([udevrulesdir],
> + AS_HELP_STRING([--with-udevrulesdir=DIR], [Directory for udev rules]),
> + [],
> + [with_udevrulesdir=$($PKG_CONFIG --variable=udevdir udev)"/rules.d"])
> +AC_SUBST([udevrulesdir], [$with_udevrulesdir])
You can use AM_CONDITIONAL to skip the installation if
$with_udevrulesdir is "no"...
2015 Nov 21
0
[Aarch64 v2 10/18] Clean up some intrinsics-related wording in configure.
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index f52d2c2..e1a6e9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,7 +190,7 @@ AC_ARG_ENABLE([rtcd],
[enable_rtcd=yes])
AC_ARG_ENABLE([intrinsics],
- [AS_HELP_STRING([--disable-intrinsics], [Disable intrinsics optimizations for ARM(float) X86(fixed)])],,
+ [AS_HELP_STRING([--disable-intrinsics], [Disable intrinsics optimizations])],,
[enable_intrinsics=yes])
rtcd_support=no
@@ -483,11 +483,11 @@ AS_IF([test x"$enable_intrinsics" = x"ye...
2015 Nov 21
0
[Aarch64 v2 09/18] Enable intrinsics by default.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6f83f82..f52d2c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,8 +190,8 @@ AC_ARG_ENABLE([rtcd],
[enable_rtcd=yes])
AC_ARG_ENABLE([intrinsics],
- [AS_HELP_STRING([--enable-intrinsics], [Enable intrinsics optimizations for ARM(float) X86(fixed)])],,
- [enable_intrinsics=no])
+ [AS_HELP_STRING([--disable-intrinsics], [Disable intrinsics optimizations for ARM(float) X86(fixed)])],,
+ [enable_intrinsics=yes])
rtcd_support=no
cpu_arm=no
--
2.4.9 (A...
2012 Sep 29
2
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v4)
...ded/removed/changed -> increment CURRENT, REVISION = 0
+dnl - interfaces added -> increment AGE
+dnl - interfaces removed -> AGE = 0
+
+OP_LT_CURRENT=0
+OP_LT_REVISION=0
+OP_LT_AGE=0
+
+AC_SUBST(OP_LT_CURRENT)
+AC_SUBST(OP_LT_REVISION)
+AC_SUBST(OP_LT_AGE)
+
+AC_ARG_ENABLE([assertions],
+ AS_HELP_STRING([--enable-assertions], [Enable assertions in code]),,
+ enable_assertions=no)
+
+AS_IF([test "x$enable_assertions" = "xyes"], [
+ AC_DEFINE([OP_ENABLE_ASSERTIONS], [1], [Enable assertions in code])
+])
+
+AC_ARG_ENABLE([http],
+ AS_HELP_STRING([--disable-http], [Disable HTTP...
2012 Sep 25
0
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v3)
...a/configure.ac b/configure.ac
new file mode 100644
index 0000000..3f4e6f4
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,66 @@
+AC_INIT([libopusfile], [0.0])
+
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
+
+AM_INIT_AUTOMAKE([1.11 foreign dist-bzip2 no-dist-gzip])
+LT_INIT
+
+AC_ARG_ENABLE([assert],
+ AS_HELP_STRING([--enable-assert], [Enable assertions in code]),,
+ enable_assert=no)
+
+AS_IF([test "x$enable_assert" = "xyes"], [
+ AC_DEFINE([OP_ENABLE_ASSERTIONS], [1], [Enable assertions in code])
+])
+
+AC_ARG_ENABLE([http],
+ AS_HELP_STRING([--disable-http], [Disable HTTP support]),,...
2011 Sep 06
1
libtool FIXME
Hi,
looking on the build scripts, I noticed on configure.ac
## <FIXME>
## Completely disable using libtool for building shlibs until libtool
## fully supports Fortran and C++.
## AC_ARG_WITH([libtool],
## [AS_HELP_STRING([--with-libtool],[use libtool for building shared
libraries @
<:@yes@:>@])],
## [use_libtool="${withval}"],
## [use_libtool=yes])
## AM_CONDITIONAL(USE_LIBTOOL, [test "x${use_libtool}" = xyes])
## </FIXME>
Is this comment outdated or still valid ?
In my experienc...
2014 Nov 12
1
[PATCH] configure: simplify the qemu cpu mapping
...ost_cpu],
+ [i@<:@456@:>@86],[qemu_cpu=i386],
+ [arm*],[qemu_cpu=arm],
+ [amd64],[qemu_cpu=x86_64],
+ [powerpc64 | ppc64le],[qemu_cpu=ppc64],
+ [qemu_cpu=$host_cpu])
+default_qemu="qemu-kvm kvm qemu-system-$qemu_cpu qemu"
AC_ARG_WITH([qemu],
[AS_HELP_STRING([--with-qemu="bin1 bin2 ..."],
[set default QEMU binary @<:@default="[qemu-kvm] qemu-system-<host> qemu"@:>@])],
--
1.9.3