search for: ac_define_unquot

Displaying 20 results from an estimated 127 matches for "ac_define_unquot".

Did you mean: ac_define_unquoted
2007 Oct 01
1
[LLVMdev] bug in configure.ac
...-ur llvm-2.1~/autoconf/configure.ac llvm-2.1/autoconf/configure.ac --- llvm-2.1~/autoconf/configure.ac 2007-09-13 21:26:42.000000000 -0400 +++ llvm-2.1/autoconf/configure.ac 2007-10-01 01:10:49.000000000 -0400 @@ -848,7 +848,7 @@ [Installation directory for libraries]) AC_DEFINE_UNQUOTED(LLVM_DATADIR, "$LLVM_DATADIR", [Installation directory for data files]) -AC_DEFINE_UNQUOTED(LLVM_DATADIR, "$LLVM_DOCSDIR", +AC_DEFINE_UNQUOTED(LLVM_DOCSDIR, "$LLVM_DOCSDIR", [Installation directory for documentation]) AC_DE...
2019 Dec 16
2
[v2v PATCH] build: add --with-extra configure parameter
...sion v2v_major.v2v_minor.v2v_release$v2v_extra]) + +dnl Split up the version string. +AC_DEFINE([PACKAGE_VERSION_MAJOR],[v2v_major],[Major version number.]) +AC_DEFINE([PACKAGE_VERSION_MINOR],[v2v_minor],[Minor version number.]) +AC_DEFINE([PACKAGE_VERSION_RELEASE],[v2v_release],[Release number.]) +AC_DEFINE_UNQUOTED([PACKAGE_VERSION_EXTRA],["$v2v_extra"],[Extra version string.]) +PACKAGE_VERSION_FULL="v2v_major.v2v_minor.v2v_release${v2v_extra}" +AC_DEFINE_UNQUOTED([PACKAGE_VERSION_FULL],["$PACKAGE_VERSION_FULL"],[Full version string.]) +AC_SUBST([PACKAGE_VERSION_FULL]) + dnl E...
2011 May 31
6
[PATCH 1/4] febootstrap: Look for insmod.static, mke2fs in /sbin
...s. -AC_PATH_PROG([INSMODSTATIC],[insmod.static],[no]) +AC_PATH_PROG([INSMODSTATIC],[insmod.static],[no], + [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR]) if test "x$INSMODSTATIC" = "xno" ; then AC_MSG_FAILURE([insmod.static program not found @@ -82,9 +83,10 @@ fi AC_DEFINE_UNQUOTED([INSMODSTATIC],["$INSMODSTATIC"], [Full path to the insmod.static program.]) -AC_PATH_PROG([MKE2FS],[mke2fs],[no]) +AC_PATH_PROG([MKE2FS],[mke2fs],[no], + [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR]) if test "x$MKE2FS" = "xno" ; then - AC_MSG_FAILUR...
2015 Apr 08
10
Build-system cleanups
Hi everyone Following are a number of build-system cleanup patches. Some of them are prep-work for a possible upcoming automake/gnulib introduction. Best regards, Tiziano
2012 Jul 13
2
[LLVMdev] Dealing with a corrupted /proc/self/exe link
...s method of executable discovery (the other one works well). Here is the patch: Index: autoconf/configure.ac =================================================================== --- autoconf/configure.ac (revision 160127) +++ autoconf/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 th...
2018 Nov 02
0
[PATCH v2 REPOST] lib: Allow db_dump package to be a weak dependency (RHBZ#1409024).
...m4/guestfs-progs.m4 @@ -65,12 +65,8 @@ AM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"]) dnl Check for db_dump, db_load (optional). GUESTFS_FIND_DB_TOOL([DB_DUMP], [dump]) GUESTFS_FIND_DB_TOOL([DB_LOAD], [load]) -if test "x$DB_DUMP" != "xno"; then - AC_DEFINE_UNQUOTED([DB_DUMP],["$DB_DUMP"],[Name of db_dump program.]) -fi -if test "x$DB_LOAD" != "xno"; then - AC_DEFINE_UNQUOTED([DB_LOAD],["$DB_LOAD"],[Name of db_load program.]) -fi +AC_DEFINE_UNQUOTED([DB_DUMP],["$DB_DUMP"],[Name of db_dump program.]) +AC_DE...
2002 Jun 29
0
[Bug 321] New: configure does not work when cross compiling
...main() { #ifdef msg_control +#error "msg_control is a macro" exit(1); #endif struct msghdr m; @@ -1860,20 +1874,17 @@ if test -z "$no_dev_ptmx" ; then if test "x$disable_ptmx_check" != "xyes" ; then - AC_CHECK_FILE("/dev/ptmx", - [ - AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX) - have_dev_ptmx=1 - ] - ) + if test -f "/dev/ptc" ; then + AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX) + have_dev_ptmx=1 + fi fi fi -AC_CHECK_FILE("/dev/ptc", - [ - AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC) - have_dev_ptc=1 - ] -) + +if test -f "/dev...
2019 Dec 16
0
Re: [v2v PATCH] build: add --with-extra configure parameter
...elease$v2v_extra]) > + > +dnl Split up the version string. > +AC_DEFINE([PACKAGE_VERSION_MAJOR],[v2v_major],[Major version number.]) > +AC_DEFINE([PACKAGE_VERSION_MINOR],[v2v_minor],[Minor version number.]) > +AC_DEFINE([PACKAGE_VERSION_RELEASE],[v2v_release],[Release number.]) > +AC_DEFINE_UNQUOTED([PACKAGE_VERSION_EXTRA],["$v2v_extra"],[Extra version string.]) > +PACKAGE_VERSION_FULL="v2v_major.v2v_minor.v2v_release${v2v_extra}" > +AC_DEFINE_UNQUOTED([PACKAGE_VERSION_FULL],["$PACKAGE_VERSION_FULL"],[Full version string.]) > +AC_SUBST([PACKAGE_VERSION_...
2004 Sep 10
0
Re: FLAC 1.0.4 released
...LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH} $ac_c"]) +], . ./conftest.id3; echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}", AC_MSG_WARN(could not determine id3lib version),[echo $ac_n "cross compiling; assuming ${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH} $ac_c"]) AC_DEFINE_UNQUOTED(ID3LIB_MAJOR, $ID3LIB_MAJOR) AC_DEFINE_UNQUOTED(ID3LIB_MINOR, $ID3LIB_MINOR) AC_DEFINE_UNQUOTED(ID3LIB_PATCH, $ID3LIB_PATCH) -- Christian "naddy" Weisgerber naddy@mips.inka.de
2018 Nov 02
2
[PATCH v2 REPOST] lib: Allow db_dump package to be a weak dependency
We went around the houses a few times last year in order to try to fix this old Debian bug: https://bugzilla.redhat.com/show_bug.cgi?id=1409024 My last attempt was: https://www.redhat.com/archives/libguestfs/2017-October/msg00058.html which I believe was neither reviewed nor rejected, so I'm reposting the same patch again, simply rebased against current git. Rich.
2002 Jun 24
1
remove --with-rsh
..._ARG_WITH(rsh, - [ --with-rsh=PATH Specify path to remote shell program ], - [ - if test "x$withval" != "$no" ; then - rsh_path=$withval - fi - ], - [ - AC_PATH_PROG(rsh_path, rsh) - ] -) PRIVSEP_PATH=/var/empty AC_ARG_WITH(privsep-path, @@ -1835,9 +1822,6 @@ AC_DEFINE_UNQUOTED(XAUTH_PATH, "$xauth_path") XAUTH_PATH=$xauth_path AC_SUBST(XAUTH_PATH) -fi -if test ! -z "$rsh_path" ; then - AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path") fi # Check for mail directory (last resort if we cannot get it from headers) Index: defines.h =============...
2019 Nov 27
5
[v2v PATCH v2 0/5] Various build cleanups
Brought to you by the "I haven't rebuilt the libguestfs universe in a while" saga -- now with working test suite. Pino Toscano (5): build: remove extra gnulib submodule build: remove extra checks and submodules build: stop using gnulib in test-harness build: remove unused gnulib modules Remove extra entries from podfiles .gitmodules | 3 -- Makefile.am
2019 Nov 27
6
[v2v PATCH 0/5] Various build cleanups
Brought to you by the "I haven't rebuilt the libguestfs universe in a while" saga. Pino Toscano (5): build: remove extra gnulib submodule build: remove extra checks and submodules build: stop using gnulib in test-harness build: remove unused gnulib modules Remove extra entries from podfiles .gitmodules | 3 -- Makefile.am | 2 - bootstrap
2017 Oct 06
3
[PATCH v2 0/2] lib: Allow db_dump package to be a weak dependency
Previously posted: https://www.redhat.com/archives/libguestfs/2017-October/msg00032.html This takes a completely different approach. It turns out that POSIX / the shell already defines a special exit code 127 for ‘command not found’. We can make a small adjustment to lib/command.c to return this exit code in that case. Then we just have to modify the db_dump code to test for this exit code. I
2017 Jan 12
3
[PATCH 0/3] library: improve handling of external tools
Hi, the libguestfs library uses a number of external tools; for some of them, we search for them at build time, enabling some feature only if found, and later on assuming at runtime they are installed. However, the situation is more complex than that: - hardcoding the full path means that there is an incoherency in the way some of the tools are used, as some other tools (e.g. qemu-img) are
2014 Jan 01
0
[PATCH] Allow ./configure --without-qemu.
...u"@:>@])], - [], - [with_qemu="$default_qemu"]) -AC_PATH_PROGS([QEMU],[$with_qemu],[no], - [$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/libexec]) -test "x$QEMU" = "xno" && AC_MSG_ERROR([qemu must be installed]) -AC_DEFINE_UNQUOTED([QEMU],["$QEMU"],[Location of qemu binary.]) + dnl --with-qemu or --without-qemu: + [], + dnl neither option was given: + [with_qemu="$default_qemu"] +) -dnl Does the user wish to specify -M, -cpu or other qemu options? -AC_MSG_CHECKING([if the user specified ext...
2002 Apr 03
2
cross compilation?
...lse main() { exit(0); } #endif - ], [ true ], [ AC_DEFINE(BROKEN_SNPRINTF) ] + ], + [ true ], + [ AC_DEFINE(BROKEN_SNPRINTF) ], + [ AC_DEFINE(BROKEN_SNPRINTF) ] ) fi AC_SUBST(NO_SFTP) @@ -1776,12 +1779,11 @@ ] ) fi -AC_CHECK_FILE("/dev/ptc", - [ - AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC) - have_dev_ptc=1 - ] -) + +if test -f "/dev/ptc" ; then + AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC) + have_dev_ptc=1 +fi # Options from here on. Some of these are preset by platform above AC_ARG_WITH(mantype, --- sftp-glob.c.orig Tue Feb 12 19:10:33 2002 +...
2006 Jan 08
3
Allow --without-privsep build.
...tion */ +#undef USE_PRIVSEP + /* non-privileged user for privilege separation */ #undef SSH_PRIVSEP_USER --- openssh-4.2p1/configure.ac~ 2005-08-31 17:59:49.000000000 +0100 +++ openssh-4.2p1/configure.ac 2006-01-07 18:41:38.000000000 +0000 @@ -1873,6 +1873,16 @@ AC_ARG_WITH(entropy-timeout, ) AC_DEFINE_UNQUOTED(ENTROPY_TIMEOUT_MSEC, $entropy_timeout) +use_privsep=1 + +AC_ARG_WITH(privsep, + [ --without-privsep Disable privilege separation], + [ + if test "x$withval" = "xno" ; then + use_privsep="" + fi + ] +) SSH_PRIVSEP_USER=sshd AC_ARG_WITH(privsep-user,...
2012 Jul 13
0
[LLVMdev] [llvm-commits] Dealing with a corrupted /proc/self/exe link
...- Ben > > Here is the patch: > > > > Index: autoconf/configure.ac > =================================================================== > --- autoconf/configure.ac (revision 160127) > +++ autoconf/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], > +...
2017 Feb 02
4
[PATCH v2 0/3] library: improve handling of external tools
Hi, the libguestfs library uses a number of external tools; for some of them, we search for them at build time, enabling some feature only if found, and later on assuming at runtime they are installed. However, the situation is more complex than that: - hardcoding the full path means that there is an incoherency in the way some of the tools are used, as some other tools (e.g. qemu-img) are