Received: (at submit) by bugs.debian.org; 13 Jan 1999 03:04:03 +0000 Received: (qmail 1581 invoked from network); 13 Jan 1999 03:04:03 -0000 Received: from fsimons01.erols.com (msimons@206.161.177.41) by master.debian.org with SMTP; 13 Jan 1999 03:04:03 -0000 Received: (from msimons@localhost) by fsimons01.erols.com (8.7.6/8.7.3) id WAA15313 for submit@bugs.debian.org; Tue, 12 Jan 1999 22:13:53 -0500 From: Mike Simons Message-Id: <199901130313.WAA15313@fsimons01.erols.com> Subject: Autoconf AC_PATH_PROG macro problem... To: submit@bugs.debian.org Date: Tue, 12 Jan 1999 22:13:53 -0500 (EST) X-Debian-CC: bug-gnu-utils@prep.ai.mit.edu Content-Type: text Package: autoconf Installed-Size: 707 Version: 2.12-12 This configure.in script gets processed wrong: ======= AC_INIT AC_ARG_WITH(perl, [--with-perl=FILE Which perl executable to use], PERL_PATH="${with_perl}", AC_PATH_PROG(PERL_PATH, perl)) ======= What I think the problem is: AC_PATH_PROG(PERL_PATH, perl) contains a case expression, one close paren in that expression gets eaten by something... Comes out looking like this: > case "$PERL_PATH" in > /* >fi > > ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path. > ;; Should look like this: > case "$PERL_PATH" in > /*) > ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path. > ;; What I think the fix is: Modify acgeneral.m4 around line 1341 and 1344 so that these case statements have their ')' escaped from whatever is munching on them. 1340 [case "[$]$1" in 1341 /*) 1342 ac_cv_path_$1="[$]$1" # Let the user override the test with a path. 1343 ;; 1344 *) Thanks, Mike Simons msimons@fsimons01.erols.com