On 5/3/07, Vin Shelton <acs(a)alumni.princeton.edu> wrote:
On 5/3/07, Rodney Sparapani <rsparapa(a)mcw.edu> wrote:
>
> if test `pwd` != `sh -c "cd \"$srcdir\" && pwd"` \
Hi, Rodney -
Yes, I tried that one, too. I _think_ it may solve the particular
problem with line 901, but there are (at least) these other errors,
too:
cd: 887: can't cd to /opt/src/foo
test: 915: bar: unexpected operator
checking host system type... /bin/sh: Can't open /opt/src/foo
Here's a partial diff that I generated against configure (_not_
configure.in) that allows configure to get down to the creation of
config.status. This kind of quoting is hard-won, to say the least.
If anyone wants to pick this up and generate a complete configure.in
patch, I'm certainly willing to have a look at it.
--- /home/acs/cvsroot/xemacs-21.4/configure 2006-12-07 22:12:30.000000000 -0500
+++ ./configure 2007-05-03 20:22:19.000000000 -0400
@@ -878,7 +878,7 @@
absolute_pwd="`pwd`";
-if test -n "$PWD" -a "`cd $PWD && pwd`" =
"$absolute_pwd"
+if test -n "$PWD" -a "`cd "$PWD" && pwd`" =
"$absolute_pwd"
then blddir="$PWD"
else blddir="$absolute_pwd"; if test -d "/net"; then
if test -d "/tmp_mnt/net"; then tdir="tmp_mnt/net"; else
tdir="tmp_mnt"; fi
@@ -898,8 +898,8 @@
fi ;;
esac
-if test `pwd` != `sh -c cd $srcdir && pwd` \
- && test -f "$srcdir/src/config.h"; then
+if test "`pwd`" != "`sh -c cd $srcdir && pwd`" \
+ && test -f "'$srcdir/src/config.h'"; then
(echo "$progname: WARNING: The directory tree \`$srcdir' is being used"
echo " as a build directory right now; it has been configured in its own"
echo " right. To configure in another directory as well, you MUST"
@@ -1118,7 +1118,7 @@
echo $ac_n "checking "host system type"""... $ac_c"
1>&6
echo "configure:1120: checking "host system type"" >&5
internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'`
-canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub
"$internal_configuration"`
+canonical=`${CONFIG_SHELL-/bin/sh} "$srcdir"/config.sub
"$internal_configuration"`
configuration=`echo "$configuration" | sed
's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
canonical=`echo "$canonical" | sed
's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
echo "$ac_t""$configuration" 1>&6
@@ -3392,13 +3392,13 @@
fi
ac_aux_dir=
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- if test -f $ac_dir/install-sh; then
- ac_aux_dir=$ac_dir
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir="$ac_dir"
ac_install_sh="$ac_aux_dir/install-sh -c"
break
- elif test -f $ac_dir/install.sh; then
- ac_aux_dir=$ac_dir
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir="$ac_dir"
ac_install_sh="$ac_aux_dir/install.sh -c"
break
fi
Regards,
Vin
--
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta