[Home]

Summary:ASTERISK-16375: [patch] configure.ac now breaks when running bootstrap.sh
Reporter:Philip Prindeville (pprindeville)Labels:
Date Opened:2010-07-15 16:14:16Date Closed:2010-07-15 18:25:10
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) issue17654.diff
Description:Seeing while building:

Generating the configure script ...
configure.ac:707: error: AC_SUBST: `' is not a valid shell variable name
autoconf/ast_gcc_attribute.m4:4: AST_GCC_ATTRIBUTE is expanded from...
configure.ac:707: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
configure: WARNING: unrecognized options: --without-pwlib, --with-ltdl,
--without-iconv, --without-sdl, --with-imap, --with-spandsp,
--with-dahdi, --with-tonezone, --with-curl, --with-lua


but this goes away if I revert to -rPREV.
Comments:By: Jason Parker (jparker) 2010-07-15 16:21:59

This fixes it for me.  Not sure it's the proper fix though.

By: Philip Prindeville (pprindeville) 2010-07-15 17:03:32

Let's run with it.

By: Digium Subversion (svnbot) 2010-07-15 18:25:09

Repository: asterisk
Revision: 276830

U   trunk/autoconf/ast_gcc_attribute.m4
U   trunk/configure

------------------------------------------------------------------------
r276830 | tilghman | 2010-07-15 18:25:08 -0500 (Thu, 15 Jul 2010) | 8 lines

Quote AC_SUBST within m4_ifval, so it does not get prematurely expanded.

(closes issue ASTERISK-16375)
Reported by: pprindeville
Patches:
      issue17654.diff uploaded by qwell (license 4)
Tested by: qwell, pprindeville

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=276830