all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ben Key <bkey76@gmail.com>
Cc: Emacs-devel@gnu.org
Subject: Re: Patch make configure.bat support --cflags and --ldflags options that	include quotes
Date: Fri, 29 Apr 2011 10:30:12 +0300	[thread overview]
Message-ID: <83r58l7bwb.fsf@gnu.org> (raw)
In-Reply-To: <BANLkTinOKksoHp5-hL5RT59X5LJ_rW3zTg@mail.gmail.com>

> From: Ben Key <bkey76@gmail.com>
> Date: Thu, 28 Apr 2011 19:00:51 -0500
> 
> I am working on a patch that will configure.bat support --cflags and
> --ldflags options that include quotes.  For example this patch makes it
> possible to configure Emacs as follows
> 
> configure.bat --without-png --without-jpeg --without-gif --without-tiff
>  --without-xpm --prefix=C:\emacs-24-test
>  --cflags=-I"C:/Program Files/GnuTLS-2.10.1/include"
>  --ldflags=-L"C:/Program Files/GnuTLS-2.10.1/lib" --lib gnutls --lib gcrypt
> 
> to build Emacs with GnuTLS support when the GnuTLS files are installed
> in ""C:/Program Files/GnuTLS-2.10.1."

Thanks.

> I made the changes in such a way that configure.bat falls back to the old
> behavior if command extensions are not available.

Maybe I'm missing something, but where is the fallback, exactly?  If
command extensions are not available, then what will be the value of
fusercflags after this line:

 +set fusercflags=%usercflags:"=\"%

and how will be that value handled by the rest of the batch file?  All
I see is that you use that value to append a line to config.h, like
this:

 +if (%docflags%) == (Y) echo #define USER_CFLAGS " %fusercflags%">>config.tmp

What am I missing?



  reply	other threads:[~2011-04-29  7:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29  0:00 Patch make configure.bat support --cflags and --ldflags options that include quotes Ben Key
2011-04-29  7:30 ` Eli Zaretskii [this message]
2011-04-29 15:11   ` Ben Key
2011-04-29 17:11     ` Eli Zaretskii

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=83r58l7bwb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Emacs-devel@gnu.org \
    --cc=bkey76@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.