<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>96882</bug_id>
          
          <creation_ts>2005-06-23 09:59 0000</creation_ts>
          <short_desc>autoconf does not protect against spaces in the pathnames</short_desc>
          <delta_ts>2005-06-23 16:59:50 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>prophecy@corpranet.net</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>prophecy@corpranet.net</who>
            <bug_when>2005-06-23 09:59:15 0000</bug_when>
            <thetext>I have found that the ac_unique_file stuff in the configure scripts do not
handle spaces since they are not quoted.  So, I quoted them.  I am including a
patch to the 2.59 distro and I have submitted a patch to the autoconf project
made from the current CVS sources.

Reproducible: Always
Steps to Reproduce:
1.  Create a project with the auto-tools under a directory with a space in it
2.  Generate the configure script
3.  Run the configure script

Actual Results:  
I lost the output, so I can not put it here.  Sorry


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer -I/usr/include/freetype2&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer -I/usr/include/freetype2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage-overlays/personal&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X aalib acpi alsa apm arts audiofile avi bash-completion berkdb
bitmap-fonts bonobo bzlib calendar cdr crypt cups curl dio divx4linux dvd dvdr
eds emboss encode esd evo exif fam fbcon fftw flac foomaticdb fortran ftp gd
gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap
imlib ipv6 jabber java jpeg junit kde kerberos lcms ldap libg++ libwww lirc mad
maildir mbox mcal mikmod mmap mmx mng motif mozilla mp3 mpeg msn ncurses nls
offensive ofx ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pdflib perl
pic pie plotutils png pnp ppds python qt quicktime readline samba sdl shared
soap sockets sox spell sse ssl svg svga tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts usb vorbis wmf xine xml xml2 xmms xosd xpm xprint
xscreensaver xv yahoo zlib userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>prophecy@corpranet.net</who>
            <bug_when>2005-06-23 09:59:44 0000</bug_when>
            <thetext>Created an attachment (id=61792)
Patch for autoconf-2.59 to fix the problem
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-06-23 10:11:44 0000</bug_when>
            <thetext>*** Bug 96884 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-06-23 16:59:50 0000</bug_when>
            <thetext>added to 2.59-r7 ... thanks</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>61792</attachid>
            <date>2005-06-23 09:59 0000</date>
            <desc>Patch for autoconf-2.59 to fix the problem</desc>
            <filename>autoconf-2.59-ac_unique_file-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgYXV0b2NvbmYtMi41OS9jb25maWd1cmUgYXV0b2NvbmYtMi41OS1uZXcvY29uZmln
dXJlCi0tLSBhdXRvY29uZi0yLjU5L2NvbmZpZ3VyZQkyMDAzLTExLTA2IDAzOjMzOjI4LjAwMDAw
MDAwMCAtMDYwMAorKysgYXV0b2NvbmYtMi41OS1uZXcvY29uZmlndXJlCTIwMDUtMDYtMjMgMDY6
MzY6MDcu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