Nmap Development mailing list archives

Re: nmap's bundled libpcre and automake


From: David Fifield <david () bamsoftware com>
Date: Wed, 8 Feb 2012 15:10:03 -0800

On Wed, Feb 08, 2012 at 01:33:34PM +0100, Johannes Nixdorf wrote:
Hi,

the way you modify the copy of libpcre you distribute is confuses
autoreconf into thinking automake can be run because configure.ac still
uses the AM_INIT_AUTOMAKE macro, which fails since you removed Makefile.am
from it.

I attached a patch fixing this by removing AM_INIT_AUTOMAKE from
libpcre's configure.ac

Best regards,

Johannes Nixdorf


diff -r -u nmap-5.51.orig/libpcre/configure.ac nmap-5.51/libpcre/configure.ac
--- nmap-5.51.orig/libpcre/configure.ac       2012-02-08 13:01:16.799758211 +0100
+++ nmap-5.51/libpcre/configure.ac    2012-02-08 13:01:31.934673128 +0100
@@ -14,7 +14,6 @@
 AC_PREREQ(2.57)
 AC_INIT(PCRE, pcre_major.pcre_minor[]pcre_prerelease, , pcre)
 AC_CONFIG_SRCDIR([pcre.h.in])
-AM_INIT_AUTOMAKE([dist-bzip2 dist-zip])
 AC_CONFIG_HEADERS(config.h)

I tried this patch, but then after "autoreconf", I get an error with
"make":

Makefile:15: *** missing separator.  Stop.

The patch seems to leave the SET_MAKE substitution undefined. Do you see
the same? What are your circumstances that you have to run autoreconf?

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: